Skip to content

Categories:

Daily MA on Intraday Charts

Objective: Display Daily indicator values on an Intraday chart. Test with a simple n-period moving average. This indicator is a move towards my goal to merge indicators from multiple timeframes on an intraday chart to spot opportunities while day trading.

Daily MA on 15 Min Intraday Chart

Daily MA on 15 Min Intraday Chart

Daily MA on Daily Chart

Daily MA on Daily Chart

Both charts display the Dialy MA(3) in blue and MA(10) in red based on the Close of the previous session.

The Daily chart indicators have a displacement of -1 which basically shifts the plot 1 period to the right. This is necessary in order to match the plot values on the intraday chart. The Daily MA generally includes the close of the current bar in the calculation – but we don’t have this luxury on an intraday chart since we don’t know what the close of the current session will be. So, instead, our calculation begins with the close of the previous session.

The source code for this simple proof is below:

ts_intraday_daily_ma_src

This concept could be modified to plot any daily indicator. Please let me know if you have a suggestion.

Please feel free to post comments and links to relevant resources. Your opinions are welcome. Thank you!

Posted in Indicators.

Tagged with , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.