How to translate the metastock code to prorealcode (indicator RS EMA)?

Forums ProRealTime English forum ProBuilder support How to translate the metastock code to prorealcode (indicator RS EMA)?

Viewing 9 posts - 1 through 9 (of 9 total)
  • #183798

    Hi,

    From the article “Relative Strength Moving Averages ” in the latest issue of Stocks & Commodities Jan 2022 there is an interessting indicator called RS EMA. But it is written in METASTOCK code and look as follow:

    It said this in RS EMA has less lags than the normal EMA (see attached png).

    I have problem to translate the last line (line 11) to prorealcode. It seems a recusive. Can someone help?

     

    #183815

    Here is my code:

     

    #183817

    This should be complete:

    1 user thanked author for this post.
    #183846

    it s better like that

    RETURN ReturnedDatum AS “RS Moving Average”
    1 user thanked author for this post.
    #184337

    Hi,

    Happy new Year 2022.

    Sorry but for me i have this result.
    What can i do ?
    Thanks.

    #184344

    It was written incorrectly, this is the correct line:

    #184375

    Hi Roberto,
    It’s what i wrote line 26 on my picture.
    But not ok finally. Any solution ? 😉

    #184382

    Hi Choliver, you forgot one d when applying your correction in your line 26, this one in red: returnedDatum

    1 user thanked author for this post.
    #184398

    Hello you 2,

    I’m really sorry.
    I am ashamed.
    Thank you for the indication. 🙂
    It’s ok now
    Great day.

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

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