System being inconsistant

Forums ProRealTime English forum ProOrder support System being inconsistant

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

    Hi, if re-written my system but it’s very inconsistent since the code seems to be fine but when I backtest it, it doesn’t always go long/short when its mean’t to please help. Please check links for photos of the problem I’m having.

    Photo link: https://gyazo.com/e844d6b20ad1b5dbc3afc38d2d19ba4f

    Also I’m using spreadbetting and all the units seems to be in cents in instead of full numbers, anyway to change that? thanks

     

    #10181

    You have some conditions that do not suit the crosses over/under at the same time, that’s why there are some problems obviously.

    If you want to test a simple cross of the price with a moving average, you should only code it like this:

    That’s all you need.

     

    #10184

    Hi, thank you for your help it’s helped me a lot. I have realized that the problem i was having is that I use heiken ashi candles but ProOrder uses regular candlesticks. How can I get my code to buy/sell according to Heiken Ashi candles instead of regular candlesticks? thank you

    #10186

    Here is Heiken Ashi candlestick Close code you need:

     

    #10187

    thank you you have been very helpful, but can you direct me where to put that code in order to make my system work? thank you

    #10190

    Add it at the beginning of your code and then replace of the “close” with “haclose”, that’s all.

    #10191

    thank you it works great apart from the it opens the new position at the close of the candle instead of the open. How can this be changed? thank you

    #10200

    Conditions are tested at the bar close and positions are next open candle. So I think what you observed here is the spread.

    #10203

    I don’t know if its the spread or not because spreads surely aren’t this big? https://gyazo.com/06c9d8fd6754e2460e60b97147677546

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