OPEN-SOURCE SCRIPT

BuyHigh-SellLow Strategy

已更新
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.
buyhighselllowDonchian Channels (DC)Trend AnalysisVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明