This is good old EMA (Exponential Moving Average) with a twist. The EMA line is surrounded by ATR on either side giving you visibility on how market breadth is working out.
The icing on this cake is in the form of engulfing candle indications. Whenever the engulfing candle happens to be inside the size (that's upper and low ATR area limits around EMA) and the engulfing candle has closed in the appropriate direction, the signal triangle comes up. To understand this...
The signal appears only if one of OHLC price point of engulfed and/or engulfing candles are within upper and lower ATR areas around EMA
When there is a bullish engulfing candle, and the close of the candle is above EMA, a green triangle comes up below the candle
When there is a bearish engulfing candle and the close of the candle is below EMA, a red triangle comes up above the candle
The settings enable you to set the following
Length of EMA (default is 200)
Length of ATR (default is 12)
Resolution of EMA independent of the chart timeframe (default is Daily)
Price type (default is hlc3)
Trade zone width in number of ATRs on either side of EMA (default is 1)
Other settings to adjust display
I have been using this in different timeframes to generate signals and found that it generates pretty good alpha.
Feel free to write to me if you have any ideas that can improve this further or if you wish to discuss how to properly use this.
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.