Optuma Forums › Optuma Feature Requests › higher time moving average compatible w/ intraday timeframes › Reply To: higher time moving average compatible w/ intraday timeframes
June 15, 2022 at 8:14 pm
#68545
- Topics: 70
- Replies: 802
- Posts: 872
Hi Jeff,
You can do this using the Show Plot tool and select the timeframe of the MA. Try this on a 1 hour charts for a 5 period MA of the 4 hour chart:
1 2 3 |
MA(Minute(PERIODAMOUNT=240), CALC=Close, BARS=5) |
Use this as the custom colour script for up for the Show Plot and / or the bars, with the default colour set to red:
1 2 3 |
MA(Minute(PERIODAMOUNT=240), CALC=Close, BARS=5) IsUp |