This indicator shows coloured areas of the price movement which gives a good picture of the shortterm trend
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
Increase = (Close - Close[1]) > 0 Indicator = 0 i = 0 WHILE Increase[i] DO Indicator = Indicator + 1 i = i + 1 DRAWSEGMENT(barindex, high, barindex, low)coloured(0,0,0) AFR1 = close BREAK WEND Decrease = (Close - Close[1]) < 0 Indicator = 0 i = 0 WHILE Decrease[i] DO Indicator = Indicator + 1 i = i + 1 DRAWSEGMENT(barindex, high, barindex, low)coloured(0,0,0) AFR2 = close BREAK WEND IF close < close[1] THEN DRAWPOINT(barindex, close, 2)coloured (255,0,255) ELSE DRAWPOINT(barindex, close, 2)coloured(0,255,0) ENDIF RETURN close, AFR1, AFR2 |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials