This strategy utilizes a smoothed moving average to identify the current trend on the resolution being viewed. The trend is also the signal for entries and occasional exits. The majority of exits will be determined using an additional smoothed moving average of shorter length. There is much more to come for this one, but it seems to be working fantastically in it's current state. Please let me know if you have any questions or recommendations. Thanks for checking it out! :D
***Additions*** - Take Profit - Trailing Stop - Stop Loss - Margin Call
***NOTE: Previous version had commission percent set to 0. This latest update has a default commission percent of 0.2%***
Nota Keluaran
Made some final adjustments to the entry logic. Trades are entered when prices closes above or below the "Trend MA". Exit MA will be used as an exit when price closes below while long or closes above while short. All functions of this strategy can be used independently or together.
Next will be an Autoview companion script.
Nota Keluaran
***Updates*** - Adjusted exit logic to exit trades when price closes above/below the Exit MA (depending if long or short), regardless of current trend direction. - Removed the default setting that re-calculates the script upon order fill, as it was skewing backtest results.
***Additions*** - Added the option to use a multi-TF trend filter to determine the type of trade to enter, e.g. longs or shorts.
Nota Keluaran
This is a complete overhaul. You can still use only smoothed MAs, but you also have the choice of various other MA types. There are 2 trend filters, a moving average and time frame of your choice and/or an ADX filter. Also included is the TP levels, trailing stop, stop-loss, margin call and back test range. Please comment with any questions or issues.
Nota Keluaran
This small update just adjust the close logic in the crossunder/over function from an SMMA to the MA chosen as Moving Average 1.
There is an Autoview companion script, "Smooth Strategy - Alerts," that can be used to automate your preferred configuration. Check out https://autoview.with.pink/ to learn more. Sign-up with this code, L87H2-KMGNQ-7GA0X, to save 10% on your subscription!
Nota Keluaran
Updated close logic. Previously trades would close when price closed over/under MA1. Current logic will now close trade when MA1 closes over/under MA2.
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.