QuantNomad

Smoothed Pivot Reversal Strategy [QuantNomad]

QuantNomad تم تحديثه   
With this strategy trying to rethink the standard pivot reversal strategy.
Don't like the idea that for 10/10 pivot you have to wait for 10points to confirm it. So I used multiple pivot levels and calculated the average line. This way when we have a new high level approaching it smoothly.
This way you can have a bit better price for entries but the risk of fake entries bit bigger as well.
I'm using the usual trailing stop loss as an exit for this strategy.

Parameters for this strategy is pretty simple:

Left/Right bars for pivot points.
Additional smoothing - you can additionally smooth pivot lines with EMA
% for Traling SL
ملاحظات الأخبار:
Did some changes to the strategy:
  • Left only 1 input for left/right parameter for pivots. So for the fixed "left' bars from input I smooth it with different "right" bars parameters up to input value.
  • Added different smoothed types, which points have more weights in smoothed pivot.
  • - Equal. All pivots points have similar weight.
  • - Closest. Pivots with lower "right" params have more weight.
  • - Farthest. Pivots with higher "right" params have more weight.
  • - Increased max value for left/right parameter to 50
ملاحظات الأخبار:
Added backtesting range and strategy side selection
ملاحظات الأخبار:
Minor code cleaning

My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟