Forum

convert to MQL5 , find the error

Hello, I'm trying to convert this pine script to MQL5. but I can't find the error can someone help me? // Pinscript C_BodyHi = math.max(close, open) C_BodyLo = math.min(close, open) C_Body = C_BodyHi - C_BodyLo pine_ema(src, length) => alpha = 2 / (length + 1 ) sum = 0.0 sum := na(sum[ 1

fractals ring buffer = Ghost Arrow

Hello, I used the Indicator The class for drawing the Fractals using the ring buffer from Konstantin Gruzdev https://www.mql5.com/en/code/1422 Ghost arrows are displayed there with buffer values, but I can't find the error. Unfortunately, the error does not appear in the visual tester either, only