PROTECTED SOURCE SCRIPT

The MACDMI T/SL

740
This is a combined MACD and DMI strategy script with multiple options for targets and stoploss.

Stoploss and targets sizes are ATR based calculations.

Each of these contains a sets an initial ATR based that will close the entire position if hit. From there, differences between them are as follows:

Trailing stop - immediately begins trailing stoploss from your entry. Entire position is closed when hit.
https://www.tradingview.com/x/ta2rBGBF/
Single Target - closes entire position once target is hit
https://www.tradingview.com/x/RL9kGBQW/
T1 + Trail - closes half of the position when first target is hit and then begins trailing stop on the remaining position.
https://www.tradingview.com/x/0idsakHu/
T1 + Trail/T2 + Trail - closes a third of the position at T1 and begins trailing a stop on the rest. Will close another third at T2, continue the trailing stop, and close the final third when the stop is hit.
https://www.tradingview.com/x/Ab8OHfUx/

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。