Help to write a simple EA to send an order on EURUSD and USDCHF - page 2

 
gordon wrote >>
Can you attach your entire code (mq4 file)? Don't copy-paste it, it's probably too long (but in the future if u paste code, then please use the SRC button).


I think I found the problem ;-)
When I calculate the SL and TP for the second currency pair I did not use the MarketInfo for the Bid price ;-)

I'' try it and .... I hope it will work ;-)
Anyway thanks a lot for your help. Next time I'll use your tip when I must insert a code in the thread;-)

Ciao
Fabio

 
Are you aware that the eurusd - usdchf correlation is broken now that swiss national bank has announced that it won't interfere with eurchf anymore?
Reason: