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
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.