In the AFL, try this
TimeFrameSet(inHourly);
// Code for Moving Average like this
Plot( MA( CLOSE, 12 ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
TimeFrameRestore();
TimeFrameSet(inHourly);
// Code for Moving Average like this
Plot( MA( CLOSE, 12 ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
TimeFrameRestore();
1. @myth.goa may meant he is using EOD for Daily Charts and Obviously Not Possible to Compress to a TF (Hourly) lower than the Base TF (Daily, EOD ) of the Data.
2. TimeFrameExpand() is required.
travi sir,
Thanks for Reply.
It plots daily MA only. I tried even changing time frames, but no use.
Thanks for Reply.
It plots daily MA only. I tried even changing time frames, but no use.