firegenie

Three EMA Scalp Signals by kmderham

firegenie Updated   
This script looks for a set up condition where 5 consecutive candles have broken away from the fast EMA (set to 8 by default) followed by a "trigger" candle that crosses back over the fast EMA but not the medium EMA (set to 13 by default). It then determines the entry point based on the bar high or low (not tail or wick) depending on direction of the trend. Once the entry point is crossed, we can enter the position. Win or loss is determined whether the lower or upper levels are crossed (as per trend). After the position is won or lost and if the entry level is re-crossed before a new set up condition is found then a new entry signal is given.

Please note that this should really be used in conjunction with a higher timeframe "Anchor" chart with a fast and a slow EMA so setups and positions should should correspond to the trend of the higher timeframe chart. This was designed for a 5 minute timeframe and a 60 minute anchor chart.
Release Notes:
Bug Fix: Updated user input fields to set ATR multipliers to floating point numbers
Release Notes:
Fixed a bug that showed a re-entry position win even though entry level had not been crossed
Release Notes:
Another re-entry signal fix.
Release Notes:
Set to 1:1 risk-reward ratio by default in the settings but user can adjust accordingly. Also finally fixed the entry level bug - see the garbled comments in the code if you want to know more. Enjoy!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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?