QTE Scalper Modified

Added functionality so that signals will trigger an alert: Add the indicator to the chart on the instrument and timeframe you wish to use it on. Add an alert and in the 'condition' section choose the indicator and set the trigger as 'once per bar close'. You will have to set individual alerts for both long and short signals and if you change the time period on the chart.
Also, added the option to restrict signals when the ATR is below a certain threshold. If you wish to see all signals just set the ATR threshold high to something like 20.
'Body Touch' - This will produce the most signals, whether the body or just the wick touched or if there was no touch of the EMA at all.
'Wick Touch' - This will produce signals only if there was a wick touch or no touch of the EMA at all.
'No Touch' - This will produce the least number of signals, as it will only print signals where the signal candle did not touch the EMA at all. Theoretically these are the strongest signals, as no touch of the EMA suggests momentum.
I'd like to point out that this is really a trending market indicator and will perform best in those types of markets. If the market is going sideways or in a tight range it shouldn't be relied upon too much for placing trades based on the signals for obvious reasons.
I have set the default ATR thresholds for signals to '1', but when I use it I don't take trades unless the ATR is at least 10, so adjust it to whatever you are comfortable with.
Lastly, I have also set the default touch state to 'Body touch', adjust as necessary.
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.