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. اقرأ المزيد في شروط الاستخدام.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.