I want to paint all the bars where the open and close are within the top/bottom 20% of the day's range. I am basically wanting to eyeball the trend days. As a novice with Tradestation 2000i, I am a bit (completely) unsure how to do this. Can someone tell me please? Thanks Mark
If I tried to spam the forum would my post receive a reply? If anyone can tell me how to do the paint bar I would appreciate it. Mark
Inputs: Multi(1), lookbak(10), ECpct(.85), Closetime(1300); Vars: TRange(0), Hptr(0), Lptr(0); TRange=truehigh-truelow; Condition1=TrueRange>(average(truerange, lookbak)*multi); Condition2=C>((Trange*ECpct)+truelow); Condition3=C<(truehigh-(Trange*ECpct)); If Condition1 and (condition2 or condition3) and time>=Closetime then begin Plot1(High,"high"); Plot2(Low,"low"); End;