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
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?