DoctaBot

The MACDMI T/SL

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.
Single Target - closes entire position once target is hit
T1 + Trail - closes half of the position when first target is hit and then begins trailing stop on the remaining position.
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.

Reach me on Twitter: @DoctaBot
Sign up for TradingView: www.tradingview.com/gopro/?share_your_love=federalPlayer66324
USDT (TRC20): TBELyC4PwYpKkdvNdr1iqE1j8abBijibqt
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?