OPEN-SOURCE SCRIPT
Mis à jour

BuyHighSellLow - Pivot points

9 633
Another version of buy-high sell-low strategy. This time using pivot points.

Strategy is simple:

  • Buy when price closes above R1 of pivot point level
  • Sell when price closes below S2 of pivot point level.


Use Resolution parameter to define pivot points. Higher the resolution, longer the trade time will be. If resolution is set to same as symbol, strategy will consider Higher Timeframe Multiplier to derive pivot point resolution.

Uncheck HideBands to see bands created from pivot points.

Another Buy-High Sell-Low strategy published is using donchian channel (Link below)

BuyHigh-SellLow Strategy
Notes de version
Correct lookahead bias warning by calc_on_order_fills = true

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.