Forum

pivot high

hi I want to convert this code to metatrader study( "PivotHigh" , overlay= true ) leftBars = input ( 1 ) rightBars= input ( 0 ) ph = pivothigh(leftBars, rightBars) plot(ph, style=cross, linewidth= 3 , color = red, offset=-rightBars)

Indicator Problem

hi i write indicator for draw arrow when cross moving array and when i change time farme it mess up //+------------------------------------------------------------------+ //| Tamrin 1.mq4 | //| Copyright 2020, MetaQuotes