PROTECTED SOURCE SCRIPT
已更新

BuyTheDip V2

3 946
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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。