OPEN-SOURCE SCRIPT
CyberFX EMA21 Strategy (Pine v5)

This is a simple indicator that can be used for a simple strategy. It follows the logic of the price always move back to the media, in that case an EMA(21). This give us an opportunity to achieve a better R/R. One important thing here is this indicator works better on trend markets. When the market is in consolidation mode it will show many signals so we need to pay attention and be patient. This indicator works better in 4H timeframes but it can used with other TFs.
The idea behind is:
for a bullish move when the price moves back to the EMA(21) we check the distance between the low value and the EMA(21) value. The best is when the price low crosses the EMA(21) from above. I am considering a 8 pips distance from the price low to the ema as a signal. Then I will wait for the new candle to move above the EMA(21) for a long entry. I also consider at least 50 pips for SL.
for a bearish move the idea is the same but we consider the price high crossing the EMA(21) and the new candle moving below the EMA.
I hope this can be useful and please leave your comment nad critics(but only the constructive one).
Have a safe trade
The idea behind is:
for a bullish move when the price moves back to the EMA(21) we check the distance between the low value and the EMA(21) value. The best is when the price low crosses the EMA(21) from above. I am considering a 8 pips distance from the price low to the ema as a signal. Then I will wait for the new candle to move above the EMA(21) for a long entry. I also consider at least 50 pips for SL.
for a bearish move the idea is the same but we consider the price high crossing the EMA(21) and the new candle moving below the EMA.
I hope this can be useful and please leave your comment nad critics(but only the constructive one).
Have a safe trade
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
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.