HL2 - 22 EMA Cross for Renko

This is a simple strategy to use for those who like Renko bars. I ONLY use it on Renko.
Basic idea is that when the Renko bar closes above or below the 22 EMA, you go long or short.
However, some of the frustrations I've had with any strategy shared in Tradingview is so few folks put in the ability to set a stop or a profit target or the ability to set a specific time to trade. I have added those to this strategy. (And I for the life of me can not remember where I got the code for the the time, I need to find you!).
Special note: If you have never used the Renko bars in Tradingview, make sure you click the Format option next to whatever pair you are looking at and change it from Traditional to ATR. You can set it for a static pip amount if you want. But ATR at first will help you decide which amount of pips you should throw in.
This is my first published strategy so if I screwed up on anything or didn't explain it very well, please let me know!!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.