Thanks for your answer, and sorry for the wrong edition of the post.
Thanks for your answer, and sorry for the wrong edition of the post.
Hello,
I have just write my first very simple custom indicator (returns -1 or +1 for candlestick of a determined size) . It can be added mannually to a chart properly, but I have problems using it from an EA. The think is that when I test and visualize the EA, the indicator is shown well in the chart of the visual test window and a positive number is the result of iCustom call, and everything is ok, BUT when I add the compiled EA to a chart, the indicator does not appairs, and -1 is the result of the iCustom call. Any idea about why???
Thanks in advance.
Juan
...
What is that value of handlex variable ?
ChartIndicatorAdd(handlex, 0, ics);
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I have just write my first very simple custom indicator (returns -1 or +1 for candlestick of a determined size) . It can be added mannually to a chart properly, but I have problems using it from an EA. The think is that when I test and visualize the EA, the indicator is shown well in the chart of the visual test window and a positive number is the result of iCustom call, and everything is ok, BUT when I add the compiled EA to a chart, the indicator does not appairs, and -1 is the result of the iCustom call. Any idea about why???
Thanks in advance.
Juan
EA INDICATOR CALL CODE
INDICATOR CODE