Page 1 of 1

TRO HORIZONTAL LINE

Posted: Tue May 08, 2007 1:03 am
by TheRumpledOne
TRO HORIZONTAL LINE




Simple indicator to plot a horizontal line.

I created a second version that allows you to specify what bars to use for start and ending prices. Create your own trend.

Drawing Easy Language

Posted: Fri Jul 27, 2007 7:24 pm
by traderxman
Was wondering if anyone might help show the way on this one. EL is not my second language yet!

Was trying to write code for drawing a trend line intra-day on say a 500 tick chart. Looking to draw the trend line when the following condition exists.

1) When the previous bars (H+L+C)/3 is lower than the current bars (H+L+C)/3; draw the trend line

2) Draw this trend line from the previous bars (H+L+C)/3 up to the current bars low and extend it as each new bar is created.

3) When the previous bars (H+L+C)/3 is higher than the current bars (H+L+C)/3; draw the trend line

4) Draw this trend line from the previous bars (H+L+C)/3 down to the current bars high and extend it as each new bar is created.

Any help is appreciated, if just to get me started!