- 2147483647 is EMPTY_VALUE
- The Alert is irrevalent, code has no eyes.
- Your code is looking at bar zero only.
- Find what bar index the Data Window (Control+D) shows a value. That is how.
- 2147483647 is EMPTY_VALUE
- The Alert is irrevalent, code has no eyes.
- Your code is looking at bar zero only.
- Find what bar index the Data Window (Control+D) shows a value. That is how.
I have moved to Bar1. When ema cross, an arrow appear and new value is the price where ema has crossed. So, I think that if I use <2147483647 it simulate the cross
That makes no sense at all.
William already told you that 2147483647 is an empty value complete with link, so it represents nothing... no data... no meaning...
So to use it as part of a test is meaningless, you may as well forget the indicator and flip a coin instead.
That makes no sense at all.
William already told you that 2147483647 is an empty value complete with link, so it represents nothing... no data... no meaning...
So to use it as part of a test is meaningless, you may as well forget the indicator and flip a coin instead.
Yes, it's an empty value. But value changes at the bar of the cross. So, i think that if i use a function to detect the change of that value, could work, or am i wrong again?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Good Morning all,
i was testing iCustom function with the attached indicator. I call it on this way:
And adding a comment with the value, i always have this as comment "2147483647"
This indicator show an alert at ema cross, how can i use that on an EA? if iCustom looks like is not working?