Tradesystem_indicator_data_not_sync

Forums ProRealTime English forum ProOrder support Tradesystem_indicator_data_not_sync

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

    Hi Nicloas,

    Can you assist on this, the tradesystem data/ indicator data (daily) is not the same!

     

    Please see attached screenshot

    Thanks

     

    Regards,

    Ryan

    #88745

    An indicator will return the value of the currently forming candle whilst GRAPH in a strategy will return the value of the decision candle which is the last closed candle and display this for the currently forming candle. This is why the values are different.

    #88758

    Hi Vonasi,

     

    Thanks for your reply, but the indicator/trade system that are shown are historic data.

    it is not the latest candle and all the data include open/close/high/Low are different.

    i only observe the issue with daily but not 15/5 mins which I’m running too.

     

    Thanks

    Regards,

    Ryan

    #88766

    Historic or not it is the same thing. A strategy gets one set of values at the close of a candle then any orders or instructions are sent at the open of the next candle. So the latest candle GRAPHs the values of the last closed candle. An indicator however is ‘on the fly’ for the currently forming candle so the currently forming candle has the latest values and any closed candles have whatever values that candle closed at.

    #88779

    I don’t think that would be correct, if that is the case, all the 5min/15mins/all type of graph will have different Open/close/high/low.

    Also, it would be pointless for anyone to do backtest too, since the indicator value and the tradesystem value are essentially different (but that is not the case here)

     

    i figure out the issue with daily, apparently IG and prorealtime use different timing to mark the opening /closing (of a day). One use 00:00 GMT, while the other use opening of the market.

    So i just switch it to 24 (x) hours to solve the issue.

     

    Thanks

     

    Regards,

    Ryan

     

     

    #88797

    Sorry – I have been confusing myself! In my defence your screen image is very small and so not easy to read the values (even with my reading glasses on!) so I was working on some assumptions about the values. When creating an indicator we have to be aware that the current value of close is the current price of the still forming candle whereas in a strategy the value of close is always going to be the value of the last candle that has actually closed. GRAPH does not happen until a candle has closed so the values of an indicator should be the same at that time as a strategies. No value is shown in the graphed output for any candle that is currently forming but an indicator will show whatever the latest price is.

    I’m glad that you finally worked out that your differences were due to chart times. If you want to use only values between market open and market close then you are better to drop to a faster time frame and store your own values for open, close, high and low during trading hours and then use these values to make trading decisions as to whether to trade at the next market open time. A sort of home made simulated candle.

    On a separate note regarding screen images I would suggest using something like ‘Lightshot’ to capture screenshots and just the important parts of a screen. You can also draw on the screen shot to help highlight things to others.

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