Complete overhaul now with new strategy capabilities!...
This is an EMA / Trend Explorer & Strategy useful for identifying trends before EMA's cross and also identifying and experimenting with various EMA lengths and candle trends. There is also a companion Alerts study for this in which trend signals may be sent to the user via sms or email AND/OR buy and sell alerts may be sent to bots for automated trading of this strategy. Once you have optimized your settings and backtested with this strategy, apply your same settings into the Alerts study and create your alerts.
NOTE: This script does not require access from me, simply open Indicators on chart and search for "Grahn"
EMA Fast and EMA Slow - may be adjusted in length and color.
Bullish F>S % - controls what percentage the EMA Fast should be above EMA Slow before considered bullish and is represented by the Green band on the chart.
Neutral <S> % - is what percentage surrounding the EMA Slow should be considered neutral and is represented by the Yellow band on the chart.
Bearish F<S % - controls what percentage the EMA Fast should be below EMA Slow before considered bearish and is represented by the Red band on the chart.
Enable Trend - determines whether Trend Strength is enforced in strategy in addition to EMA divergence.
Bull Candles # - is the number of candles ranging from 0 (off) to 5 that should be consecutively higher in value before considered to be a trend.
Neut Candles # - is the number of candles that should consecutively remain in the Neutral yellow band before considered to be trending neutral for signal alerts (has no impact on strategy).
Bear Candles # - is the number of candles ranging from 0 (off) to 5 that should be consecutively lower in value before considered to be a trend.
Pump Increase % - is the rise in price that should be considered a pump for signal alerts (has no impact on strategy).
Pump Candles # - is the number of candles over which Pump Increase % should be considered (has no impact on strategy).
Dump Decrease % - is the rise in price that should be considered a pump for signal alerts (has no impact on strategy).
Dump Candles # - is the number of candles over which Dump Decrease % should be considered (has no impact on strategy).
Show EMA Fast & Slow - their display may be turned on or off.
Enable Range - may be enabled for backtesting a specific range of time (disabled uses default range based on period).