Grant14299

5 Minute TF 200 EMA Retest by Grant

Grant14299 Aktualisiert   
https://www.tradingview.com/chart/C3tWAVeT/

This indicator is a simple script meant to find retests on the 200 period moving average. It's current state is optimized for the 5 minute timeframe.

This works in all markets and all timeframes as long as you adjust certain rules for higher timeframes.

It's strengths and weaknesses
- Good at trend continuation in strong markets
- Bad in ranging markets (not surprising)

How does it work?
- It first identifies an overall trend by using the 200 ema.
- For long positions, it waits for price to close below the 200 ema, and then shortly closing back above the ema. For short positions its the opposite.
- For lower timeframes there are some other factors that help filter out bad signals that include:
- Makes sure that volume is increasing.
- Makes sure that volume is higher than average volume.
- For higher timeframes, the more specific factors aren't required.

How to use this indicator:
- Green triangles mean long positions
- Red triangles mean short positions
- Always trade with stoplosses and never risk too much of your account, please practice proper risk managment.

DISCLAIMER: Trading is inherently dangerous and carries lot's of risk. What you decide to do with my script has nothing to do with me. I am not responsible for any financial gains or losses made using this script. It is important to recognize other factors in the market to make better decisions.
Versionshinweise:
Changed the length of the long term trend detector. This should improve the accuracy. It was not looking far back enough but it now looks much further back.
Versionshinweise:
Added alerts.
Versionshinweise:
- Added the ability to change the length of the ema. If you decrease the length, it will print more signals but will be less accurate. I still recommend 200 length.
- Changed some rules regarding volume, now volume has to be above average but not greater than previous volume bar. This is because volume can be kind of skewed on the lower timeframes.
- New rule states that candles must be bullish for long and bearish for short
- Frequency of alerts are now on bar open which will give you time to get ready to enter trade. (Make sure to still wait for candle to close)

- Side note: If you want to improve the win rate, I recommend waiting for a big move in one direction, then taking the first signal. This will help to stay out of consolidating markets. Good luck!
Versionshinweise:
- Added the ability to toggle the volume filter, will give user ability to generate more/fewer signals.
- Added slow ema to filter out some bad signals, It takes the ema you entered and makes a slightly slower one. For example if you enter 21 as your length then it would add a 30 period moving average as well.
Versionshinweise:
Volume filter is now off as default.
Versionshinweise:
- Implemented the ability to use RSI as a filter.
- Implemented a new condition: if there was recently an ema crossover, the signal is invalidated. (This HELPS to avoids consolidating markets)
Versionshinweise:
- Added the ability to toggle whether multiple signals can generate at once, which could overlap.
Versionshinweise:
- Made stricter entry rules for the retest. Instead of waiting for 2 candles to see a rejection, the price must immediately reject.
Versionshinweise:
Tweaked settings regarding printing multiple signals.
Versionshinweise:
- Added option to use wick rejections alone. This rule is more strict. Fundamentally, this is a much better rejection type.
Versionshinweise:
- Removed a specific rule because it overlapped with the logic of the indicator. It was checking if the price was above the ema however it was also looking for price to close below it temporarily.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?