pine script

Job ID: 33254289

Budget: ₹1,500 – ₹12,500 INR

1)Find the pivot high,low among x number of candles then plot horizontal lines at all pivot high,low then
2) if candle crossingup previous 'm' number of pivot high then mark that candle with a triangle.
Related categories: Pine Script