PROTECTED SOURCE SCRIPT

BuyTheDip V2

تم تحديثه
This is enhanced version of BuyTheDip Strategy which can be used for stocks and cryptos as well along with indices.

BuyTheDip


In addition to V1, the enhancement include breaking the zone into multiple levels based on multiple standard deviation Bollinger bands. Dip is confirmed only when price bounce back certain levels from the bottom. If price keeps going down, strategy does not generate signal.

Input parameters are as below:

  • ATR Parameters : AtrLength and AtrMult to calculate trailing stops
  • Trailing Condition parameters: TrailAfterBars, TrailTargetState - Trailing does not happen immediately. It either waits for TrailAfterBars to complete or price moves up by TrailTargetState levels in multi bollinger band level setup - whichever happens first.
  • Force Exit Parameters: If the price state based on multi-bollinger bands drop by TargetStopStateDiff level from its peak, then it will force exit from the trade if ExitOnFailureSignal is checked.
  • Entry Filters: It is not a dip if the instrument is already in downtrend. ConsiderYearlyHighLow, ConsiderNewLongTermHighLows and ConsiderMAAlignment are used for filtering entries so that we only buy the dip for uptrending instruments.

ملاحظات الأخبار
Remove calc_on_order_fills
Average True Range (ATR)Bollinger Bands (BB)buythedipMoving Averages

نص برمجي محمي

تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.

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

إخلاء المسؤولية