search it ? unsigned data type
short int 2 16 -32,768 -> +32,767 (16kb) unsigned short int 2 16 0 -> +65,535 (32Kb) unsigned int 4 16 0 -> +4,294,967,295 ( 4Gb) int 4 32 -2,147,483,648 -> +2,147,483,647 ( 2Gb) long int 4 32 -2,147,483,648 -> +2,147,483,647 ( 2Gb) signed char 1 8 -128 -> +127 unsigned char 1 8 0 -> +255 float 4 32 double 8 64 long double 12 96
Thanks! Not sure how this fits. My question is, " How can I get the values , of an indicator, which are not stored in the buffers, into my EA. iCustom only, as far as I can tell, imports the values of the buffers.
Thanks, again!
You can't. You will have to make more buffers to hold any values you want to pass to the EA.
You can't. You will have to make more buffers to hold any values you want to pass to the EA.
Or possibly pass them via GlobalVariables, file or Object properties . . .
if(WhatlookFor == 2147483647.00000) {WhatlookFor = (-1.0);} else {WhatlookFor = (1.0);}
This works for a while, then, for some reason, the states reverse. Positive becomes negative. Negative becomes positive. I have alerts within the indicator and the EA, so that I can see if the values match up. Output vs Input. 2147483647.00000 will equal (-1) then it equals (1). Perhaps there's a state within the indicator that changes this or maybe I'm not using the buffers the right way. The buffers within the indicator use i as the basis of the stored value. Should I use 0 instead? Any thoughts would be greatly appreciated!
Thanks!
Yellowbeard
Not having much luck importing buffer values from indicator. Even when I create additional buffers to store the values that I need from the indicator. Values are stored in additional buffers within the indicator, as I need, but only get either 0.00000 or 2147483647.00000 in EA. Any suggestions would be greatly appreciated.
Thanks!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Can anyone tell / show me how to import the value of a buffer into an EA which is normally 0.0, becomes a certain value throughout the code, then returns to 0.0. I've been using iCustom to bring the value of each buffer into my EA, but only get either 0.0 or empty value ( 2147483647.00000 ) The states of " on or off " are not enough, for my calculations. Below is the code, who's values I've tried to import. Basically, I need to bring the values of ZigZag, lasthigh, lastlow , curhigh, curlow and whatlookfor out of the code and store them in buffers so that they can be imported into the EA.
Thanks!