Ok guys, understand..
Try to get the values and allways returns me EMPTY_VALUE, even when the arrow is printed on the gaph, returns me the same. I think this indicator will not let me get the buy/sell) indication automatically!
Does anyone know of a EA that actually gets values from a Indicator?
I personally learn better if I see the actual coding.
TheBuffer is my variable setted with the buffer value, because i call all buffers to inspect... and shift is because i am testing on previous bars too... just to see the results...
As you can see on the print, i need to get the value 1.1083 on one of the buffers, right? But only returns me: 0 or the value 2147483647.0
Check through the buffers using something like this
value=iCustom(Symbol(), PERIOD_CURRENT, "Shat-05", ......., 0, shift) ;
if(value!=0 || value!=EMPTY_VALUE)
Print("Value found at shift ",(string)shift,", Bar time ",TimeToStr(Time[shift],TIME_DATE|TIME_MINUTES));
Print("Buffer value not found");
If you find nothing with buffer index 0, try 1
To add comments, please log in or register