OPEN-SOURCE SCRIPT

BuyHighSellLow - Pivot points

已更新
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
版本注释
Correct lookahead bias warning by calc_on_order_fills = true
buyhighselllowPivot PointsTrend Analysistrendfollowing

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明