Forum

Calling the data of the custom indicator, why is the data 2147483647?

I wrote a custom indicator and it works fine. I want to implement automatic placing of orders through EA calls, but I always cannot get the correct indicator value. void OnTick () { //--- //printf("0.time: "+time); //printf("0.Time[0]: "+Time[0]); if ( TimeCurrent ()==Time[ 0 ])