Pivots
Syntax
Section titled “Syntax”MT_Pivots(High, Low, Close range,[Period for the left of the pivot point. ],[Period to the right of the pivot point. ],[Maximum period for trend calculation. ],[The type of price ])Array formula.
Parameters
Section titled “Parameters”-
highLowCloserange High, Low, Close range -
leftSpanint Period for the left of the pivot point. (default: 2) -
rightSpanint Period to the right of the pivot point. (default: 2) -
maxTrendPeriodint Maximum period for trend calculation. (default: 20) -
endTypeint The type of price (0:Close, 1:High/Low) (default: 1)