PROTECTED SOURCE SCRIPT

The MACDMI T/SL

718
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。