Execute trade on arbitrary Symbol name
Created at 17 May 2024, 23:23
MH
Execute trade on arbitrary Symbol name
17 May 2024, 23:23
Hi,
how can I place a trade on a totally arbitrary name for symbol?
ExecuteMarketOrder(tradeType, SymbolName, volume, "TP1");
basically I don't know how to change SymbolName…
I might need to start positions on different symbols. currently I have to run a new instance on every symbol…
Thanks,
Replies
PanagiotisCharalampous
21 May 2024, 05:57
Hi there,
SymbolName is just a string. You can replace it with any symbol name you wish e.g.
ExecuteMarketOrder(tradeType, “EURUSD”, volume, "TP1");
Best regards,
Panagiotis
@PanagiotisCharalampous
mhsgoud2023
20 May 2024, 10:57 ( Updated at: 21 May 2024, 05:34 )
so strange…. there is no ways to do it?
@mhsgoud2023