osMA (Moving Average of Oscillator), conversion code mt4 to prorealtime

Forums ProRealTime English forum ProBuilder support osMA (Moving Average of Oscillator), conversion code mt4 to prorealtime

Viewing 6 posts - 1 through 6 (of 6 total)
  • #69919

    I would be interested in osMA (Moving Average of Oscillator) conversion code mt4 to prorealtime.

    Thank you for any input.

     

    #69930

    You should follow these few steps and rules https://www.prorealcode.com/topic/free-conversion-mt4-indicators-mql4/.

    #69948

    Just found this simple code on the web, about OSMA for PROREALTIME:

     

    1 user thanked author for this post.
    #69951

    Dear Nicolas

    Thank you for this code.
    When I enter it into ProBuilder, line 4 (“line = Average[9](myMACD)“) and 5 (“osc = myMACD – line”) get an exclamation mark, and an error window “syntax-error” (see screenshot), so I am stuck.

    Would you have any idea why that is?

    #69958

    Since ProBuilder makes LINE coloured it must be a reserved word (which I am not aware of), try replacing Line with MyLine.

    1 user thanked author for this post.
    #69961

    Dear Robert

    Thank you, this “MyLine”-renaming did the trick!

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login