OPEN-SOURCE SCRIPT
已更新

BuyHigh-SellLow Strategy

8548
Yeah. You read it right. It's not a mistake. It is buy high and sell low strategy.

Main entry condition is to buy when price hits 40 day Donchian channel top. This is combined with my other regular filters which are aligned moving average and new high/low filter and yearly high/low filter.

Exit condition can be based on two things:

  • Donchian channel : Set appropriate DonchianExitLength. Lower line of donchian channel acts as trailing stop.
  • ATR Based trailing stop : Select appropriate ATR multiplier and length.


What a surprise!! You can buy high, sell low and still make money.
發行說明
Remove calc_on_order_fills to avoid lookahead warning.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。