puneetsahai

EMA DEMA Cross Study - KB

This script is created to check cross of two EMAs after their DEMA cross (for Nifty and BankNifty). It also has an option to show the cross as it happens in the 30 min timeframe on the lower timeframe chart.

Pls Note - This is for study purpose only and one shouldn't open a trade based on the cross. This script was created keeping 15 min timeframe as the default.

This script gives visual sign for a crossover and crossunder. It has 4 options

1. DEMA cross
2. EMA cross
3. EMA cross only after DEMA cross in the same direction. See the attached snapshot. First cross is as expected EMA (green shades line) after DEMA (purple shade lines), however second cross is not valid as EMA cross happened before DEMA in that direction - hence this wont be a valid scenario for this option.
4. 30 Min 10/20 EMA cross. Usually to see a crossover in 30 min one has to select 30 min time on chart. In this option script is taking the 30 min close price to calculate EMA to check the cross even if you are on 15 min chart



In case labels are behind the price bars, just change the visual order to bring them to front for better readability
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?