I'm using the custom indicator i-Regr (see attached file) and I create an EA using the iCustom for calling the value from i-Regr, but it doesn't match ... and I don't understand why... I have tried to use all the buffers to see if I get the wrong index value.
See some printscreen that I have made to show you the issue.
Or you can run the EA and see what the journal is showing and then compare the value with the data window.... nothing match for i-Regr.
Please can someone help me to find the correct buffer or anything to get the same value as the data window ???
Actually it is match.
Perhaps you forgot to check Last Data in data windows.
Can you screenshot the time so I can see ?
Because I did the same code as you and see what I get (see attached files). The values are completely different.
I think the problem you face is the column of data window. For the last data (last bar), you have to move your cursor to the right most side. Or you can make 2 column of data window which is the first is for last data.
For 26/03/2015 00:00, it is similar number between above picture and yours.
Hope it helps you.
PS : Sorry, I can't show you the journal because market is off. Should wait until monday if you want to.
thanks for your reply.
The last data will match, no problem with that... but the nth data won't match... its why I just need to see your journal if the time matches with the data window. I will wait Monday, so you can send me the journal and match the data with the journal.
Thanks for your help.
Here you are, the last and bar 20.
last bar :
bar = 20 :
lol, sorry about that... well, im using :
iCustom(NULL, TimeFrame1, "i-Regr", 3, 2.0, 250, 0, 0, 1)
and it doesn't match at all... I don't understand why ?