Passing variables between custom indy and an EA

[Deleted]  

I'm a newbie, so I am sure most of you have either run into this yourself, or answered the question for another newbie....

I am trying to pass two variables from a custom indicator into an EA...I've tried using the Global variables, I've tried using an import directive, and I can print the variable out, but the contents are not changing even when they should. Can someone give me some pointers, please? TIA!

[Deleted]  
SLCTaylor wrote >>

I'm a newbie, so I am sure most of you have either run into this yourself, or answered the question for another newbie....

I am trying to pass two variables from a custom indicator into an EA...I've tried using the Global variables, I've tried using an import directive, and I can print the variable out, but the contents are not changing even when they should. Can someone give me some pointers, please? TIA!

I figured it out finally....was not setting the Global variables using the Set command....sometimes that helps, I see ;-)

[Deleted]  

is nice when penny drops isn't it?

best way to learn, what you did - well done!