Professional Documents
Culture Documents
Code Ema Pivot
Code Ema Pivot
//@Author: AdventTrading
//This indicator was made to allow three moving averages to be displayed without
needing to use up 3 charting indicators individually
//@version=5
//pivot
indicator("Pivot Points High Low", shorttitle="Pivots HL", overlay=true,
max_labels_count=500)
ph = ta.pivothigh(leftLenH, rightLenH)
pl = ta.pivotlow(leftLenL, rightLenL)