Call a script by an simple ea

 
Hello everyone, first of all I apologize for my English, I am an Italian programmer, I know how to start a script from an EA, for example in metatredder4's the script "trade" by default, how can we start from an expert advisor? Thank you very much
 
DarkHope:
Hello everyone, first of all I apologize for my English, I am an Italian programmer, I know how to start a script from an EA, for example in metatredder4's the script "trade" by default, how can we start from an expert advisor? Thank you very much

EA = Expert Adviser. Your question doesn't make any sense...

 
gordon:

EA = Expert Adviser. Your question doesn't make any sense...

but you say, it makes sense, that is to draw a script and make it start when the EA has found a signal

 
DarkHope:

but you say, it makes sense, that is to draw a script and make it start when the EA has found a signal


Code the script as a function inside the EA. If the EA finds the signal, its calls that function:


if(signal_found)

go_trade_the_signal();

Reason: