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