Shortterm price movement

Category: Indicators By: Sever Created: February 15, 2022, 9:09 AM
February 15, 2022, 9:09 AM
Indicators
0 Comments

This indicator shows coloured areas of the price movement which gives a good picture of the shortterm trend

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

Download
Filename: Short-Term-Price-Movement.itf
Downloads: 131
Sever Average
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

Logo Logo
Loading...