Quote:
|
Originally Posted by scorpion
I've never had this issue with JMA before, but it seems buggy to me somehow.
Anyway, compare the output values from WL JMA with the MT JMA. If they differ then it means that you have bugs in your WL code. I think ML and MQL language is just incompatible. The arrays don't work the same way.
|
Hi Scorpion
You may be right in regards to incompatibality of arrays between MQL and WLScript. In WLScript, the first bar in the array is the earliest bar in the series and its number is naturally zero. Obviously the last bar in the array is the latest time stamped bar. I assumed that MQL arrays are created the same way. Perhaps I was wrong.
Thanks for your response.