5025358:
I can not pass a variable 'int' from my indicator to my EA
why don't you reconstruct the indicator calculation into the EA?
as standard usage of indicator is to "Indicate" (visually, alert etc..)
Make it a buffer or global terminal variable or the name of a hidden chart object.
I can't reconstruct the indicator into the EA... This one that I sent is only an example is not the real one. It is only for understand what I did wrong. I need a buffer but probably I am doing something wrong because it does not work. If you know why please leave a comment.
5025358:
I can't reconstruct the indicator into the EA... This one that I sent is only an example is not the real one. It is only for understand what I did wrong. I need a buffer but probably I am doing something wrong because it does not work. If you know why please leave a comment.
I can't reconstruct the indicator into the EA... This one that I sent is only an example is not the real one. It is only for understand what I did wrong. I need a buffer but probably I am doing something wrong because it does not work. If you know why please leave a comment.
buffer normally double value.
why do you need integer?
I also like a double. But even if it were double what is my mistake because it does not work?
5025358:
I can't reconstruct the indicator into the EA... This one that I sent is only an example is not the real one. It is only for understand what I did wrong. I need a buffer but probably I am doing something wrong because it does not work. If you know why please leave a comment.
I can't reconstruct the indicator into the EA... This one that I sent is only an example is not the real one. It is only for understand what I did wrong. I need a buffer but probably I am doing something wrong because it does not work. If you know why please leave a comment.
var1[rates_total-1]=1;
Thanks so much!
Mohamad Zulhairi Baba:
why don't you reconstึruct the indicator calculation into the EA?
as standard usage of indicator is to "Indicate" (visually, alert etc..)

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello to all. I have a problem in my EA: I can not pass a variable 'int' from my indicator to my EA. Here is the code, if you can make it work leave a comment. Thanks.
My EA:
My Indicator: