Conversion of RSI CCi MT4 into PTC

Forums ProRealTime English forum ProBuilder support Conversion of RSI CCi MT4 into PTC

Viewing 14 posts - 1 through 14 (of 14 total)
  • #57562

    Hi Everyone,

    I have a MT4 indicator that involves RSI and CCI.. Pretty advance.. I was wondering if anyone can help to convert it to PTC… I have the MQ4 codes.

     

     

    #57564

    Please update your country flag in your profile. Thanks.

    These are the guidelines to get free conversions https://www.prorealcode.com/topic/free-conversion-mt4-indicators-mql4/

    You should supply a more detailed description and attach the .MQ4 files involved.

    Roberto

    #57597

    My bad. Attached is the Mq4 file. This gives the signals to direct up and downwards trend reversal on the difference in RSI and CCI oscillator.

    #57757

    This indicator is repainting itself, are you aware of this behavior? The oscillator is not accurate as the information given in the past could change in the future, so you always get a perfect view of the situation of the past while it was not.

    Are you sure you want it to be converted? As it will not look the same at all in ProRealTime.

    #58797

    Yes. I am aware of the repainting. It can be used as a trend filter.

    #58807

    Ok but the way it looks on MT4 will has nothing to be with the translated version, since prorealtime read only the price series only once.. I’ll do it, but I don’t feel you’ll like it 🙂

    #58953

    Hi Nicolas,

     

    I am not sure about how you meant by “read only the price series only once” but i appreciate your effort. If you do think there are improvement to it, can update it as well. =)

    #58963

    MT4 version is repainting itself because the data serie is continuously read by a loop at each new tick received, so the code already “know” by advance what the future look like and can change its value according to it. It is a common behavior for metatrader indicator, depends of how it was coded though..

    Because PRT only read once the whole price history, “repainting” indicator doesn’t exist, that’s why you’ll get a very different picture between the 2 versions.

    #58967

    I only code the blue line from the original indicator into ProRealTime, as you can state in the attached picture, they look very different. Because PRT doesn’t know what the future price is.

    #59178

    Can we take a look at the red line with the crossing.

    #59210

    Sorry, but it leads no where. The calculation made in MQ4 takes values from CCI and RSI from the future by doing loops in the past. I spent a lot of time today trying to reproduce this behavior and results are far from being reliable. This is in the code in its current state (from many other trials I did today): (not to be used in real trading).

     

     

    1 user thanked author for this post.
    #59227

    Thanks Nicolas. Really appreciate the effort in testing this out.

    #106533

    Hi

    How can I get the blue line just as an independent indicator convert it to MQL4 and Cs  please

    #106536

    Aziz5 – Welcome to the forums.

    These forums are dedicated to ProRealCode and the ProRealTime platform. Conversion to ProRealCode is carried out for free but translation to any other language is not. You can request a paid for conversion by clicking on the link under ‘Help’.

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

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