I’m trying to convert the following code from TC2000 to ProRealTime but my attempt gives completely different results – any assistance will be appreciated
TC2000
c/c1>=1.02 and v>v1 and v>=50000 and c1/c2<=1.05 and c>=5 and (c-l)/(h-l)>=.90
My attempt
indicator2 = Volume
c2 = (indicator2 >= 50)
c3 = (close >= 5)
indicator5=close
indicator6=close[1]
c5=(indicator5/indicator6)>=1.02
c11=close-low
c12=high-low
c13=c11/c12
c14=c13>=0.9
indicatorv1=volume
cv1=(indicatorv1>indicatorv1[1])
closing1=close[1]
closing2=close[2]
closing3=closing1/closing2
closing4=closing3<=1.05
SCREENER[c5 AND c2 AND c3 AND c14 and closing4 and cv1] (Volume AS “Volume”)