MACD Strategy KMACK Rev 1.1

Please note that the macd/rsi values do not print unless the current day is Monday-Friday and the market will be open.
14 period hull smoothed rsi marks the rsi value at each macd reversal and will not signal a long position above 70 or a short position below 30
Macd and rsi will only display on the current day and will only display the last 2 hours
Lit candles occur after 0920 nyse time
Alerts or entries will only fire after 0931 nyse time
Entry signal will confirm with the 5 minute candle.
Long entry requires the current 5 minute candle to close>=hlc3
Short entry requires the current 5 minute candle to close<=hlc3
Buy/sell alerts will only fire in the last 10 seconds of the realtime (current) bar
Options:
Select bias
Modify macd lookback period(s)
Alerts:
Buy
Sell
Rsi crossing into the power region (60)
Rsi crossing into the weakness region (40)
Current strategy exits position upon signal opposite to selected bias, this is for simplicity.
There are currently no add-on strat signals but the alerts/lit candles will fire
Successful trades average >55% with an average profit factor of 3%
Net profit averages 3%
Max drawdown averages below 0.25%
Added order size input
Added show/hide strat signals. Still lights the bars green/red. Make sure your bar color setting in tv is set to a transparent color so you can see the bright reds and greens.
Added a couple lines of code that fire the alert/strat if macd reverses and the corresponding 5min candle does not agree and the following candle does agree. Added an average of 1.5% winning trades.
Message me for free trial access
Modified the 5min confirmation, now set to 10 minute.
This eliminated a vast majority of ghost signals. I manually ran the numbers and the winning percentage is actually around 10% lower with the max drawdown around 1/2%
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis — ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi kmack282 secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.
Penafian
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis — ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi kmack282 secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.