Hi all,
I wonder if any of you might be able to help me.? Is it possible to have a moving average appear from (x) point to (y) point on the chart, ideally this would be executed from a prompt.
I would be grateful for any help.
Many thanks,
Robert
You can select the date interval to display a custom indicator:
ONCE FromDate = 20231028
ONCE ToDate = 20231107
Sma = average[20,0](close)
r = 0
g = 0
b = 255
t = 255
IF (Date < FromDate) OR (Date > ToDate) THEN
t = 0
ENDIF
RETURN Sma AS "Sma" coloured(r,g,b,t)
Thank you very much Roberto.