Divergence and Trend line automatic tradingBacktesting Error – Need Help Please!

Forums ProRealTime English forum ProBuilder support Divergence and Trend line automatic tradingBacktesting Error – Need Help Please!

Viewing 7 posts - 1 through 7 (of 7 total)
  • #168458

    Hello guys! Just like to get your help with the backtesting codes I have created recently. It is based from the MACD/RSI divergence that I’ve read months before on one of the threads here (by Nicholas I believe). I slowly coded an indicator that would show the price divergence versus the MACD indicator based on my own conditions.

    I am now very satisfied with the indicator I created and also uses it for screening stocks with divergences. I placed my entry conditions and added trend lines in my codes to provide exit signals. I tried running it in Probacktest but it is giving me parse error. I saw a post on how to workaround it by changing platform timezones but I have no luck.

    I have here my program for everyone to check and give a feedback on. I am new in trading and automatic trading. This is the strategy that makes sense to me at the moment and I hope that you all could help me bring this to work to see how profitable it would be to use in realtime.

    Much thanks and appreciation to those who would be so kind to check this post and help! <3

     

     

     

    #168460

    If it’s any consolation, I get the same Parsing Error!  I tried a few things, but as yet no fix.

    You have put a lot of work into the strategy / code … I hope others add their pearls of wisdom and experience and we can get a fix for you!

    In the meantime send a Technical Report via Help > Help Center > I’m having a Technical Problem.   Please let us know any fix you get.

    You could try reading and trying some of the suggestions on the link below …

    https://www.google.com/search?q=prorealcode+parsing+error&oq=prorealcode+parsing+error&aqs=chrome..69i57.8743j0j1&sourceid=chrome&ie=UTF-8

    2 users thanked author for this post.
    #168465

    Hi @Grahal! Thanks so much for the advise. I will send a technical report for this ^^.

    #175277

    Hi,

     

    I just like to update this query of mine.

    The prorealtime help team got back to me and found the bug in my program.

    They said that the variables starting with “REM” are making the parsing error. This “REM” is a reserved word in prorealtime as I understood from their reply.

    Hope this helps everyone who are encountering the same issue. ^^

     

    Regards!

    1 user thanked author for this post.
    #175376

    Pls post code that works. Thanks

    #175391

    As requested:

     

     

    #175422

    Thanks alot for sharing.
    I did a BT last 3 years. Seems good but very few trades

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

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