OPEN-SOURCE SCRIPT

Pivot HL Trading Setup

Updated
This simple script base on function of Pivot High Low to plot Trading Setup on chart with detail as below:
2. Trading Setup
2.1 Buy setup
+ New Pivot Low is plotted
+ Entry Long at market price.
+ Stoploss at Pivot Low
+ Takeprofit at Pivot High
+ Buy setup invalidation when price crossed Pivot High or Pivot Low
2.1 Sell setup
+ New Pivot High is plotted
+ Entry Short at market price.
+ Stoploss at Pivot High
+ Takeprofit at Pivot Low
+ Sell setup invalidation when price crossed Pivot High or Pivot Low
Release Notes
update script overlay
pivotPivot Points

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer