MalibuKenny

Sessioned EMA - Frozen EMA in post market hours

Why I develop this indicator?

In future indices, post market data with little volume distort the moving average seriously. This indicator is to eliminate the distortion of data during low volume post market hours.

How to use?

There is a time session setting in the indicator, you can set the cash hour time, moving average outside the session will be frozen.

What this indicator gives you

This indicator give you a more make sense ema pattern, the ema lines are more respected by the prices when you set the session properly.

Setup

1. Session setting
In US indices, such as NQ, ES etc, when there was data release at 0830 hr, huge volume transaction order appears, that makes the 0830 price data important that should be included in your ema trend line calculating. If that is the case, I will set the session begin from 0830, otherwise, I start the session at 0930. Golden rule : Price with huge volume counts.

2. Time zone
The coding is decided for GMT+8 time zone, you may amend the code to fit your timezone.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?