Hi
Could you please code the following (please note that in the code below, in SSI: the Percentage LONG data is Required NOT the absolute SSI, and the MA stands for the options in Averages indicator). You can name the indicator whatever you see it fit.
it will be highly appreciated if the output has the form similar to the photo in the attachment.
Many thanks
IF
SSI Percentage LONG > MA (SSI Percentage Long, X)
THEN
OUTPUT = -1 (Color = Red)
IF
SSI Percentage LONG < MA (SSI Percentage Long, X)
THEN
OUTPUT = 1 (Color = Green)
Else
OUTPUT = 0
Plot OUTPUT