how do you program a trade in metatrader 4 for cfd's like dow , sp , nasdaq etc?

Back to topics list To post a new topic, please log in or register
avatar
3
underdog261 2015.09.09 22:36
 

i can use ordersend to enter trades in metatrader 4.

if i enter the dow etc, the trade is not executed.


any advice?

avatar
125
zirkoner 2015.09.11 18:52 #
 
underdog261:

i can use ordersend to enter trades in metatrader 4.

if i enter the dow etc, the trade is not executed.


any advice?

Check the log to see why it's not executed.

avatar
3
underdog261 2015.09.21 07:23 #
 
zirkoner:

Check the log to see why it's not executed.

hello zirkoner,


i get nothing in the log



using 'SPX500' in mql4 ordersend performs nothing, if i change the symbol to 'Eurusd', then i do get a lot of eurusd trades.

avatar
Moderator
3404
GumRai 2015.09.21 07:39 #
 
underdog261:

hello zirkoner,


i get nothing in the log



using 'SPX500' in mql4 ordersend performs nothing, if i change the symbol to 'Eurusd', then i do get a lot of eurusd trades.

Attach the EA to a SPX500 chart and just use Symbol() in the OrderSend
Back to topics list  

To add comments, please log in or register