Topics
Replies
rafaelfonts.silveira
18 Aug 2023, 15:02
( Updated at: 21 Dec 2023, 09:23 )
RE: RE: RE: cBots don't working - Help!!!
firemyst said:
rafaelfonts.silveira said:
firemyst said:
Any suggestion?
Yes. Read the actual parameters to the API call and what you're passing.
For instance, your third parameter, you have “”. That's the VOLUME parameter. How can you have “” for volume?
Hello firemyst. Thanks a lot for your answer, I changed the code to the version below:
ExecuteMarketOrder(TradeType.Buy, SymbolName, 0.01, "", 10, 10, "", false);
The volume parameter is second, right after
SymbolName
, still no order placed when running the cBot.This code is just an example so that I can discover the real problem, because none of the platform's native cBots are working, I tested several and none of them placed orders when executed.
What symbol are you trying to place an order on?
For these attempts I am using EURUSD and XAUUSD
@rafaelfonts.silveira
rafaelfonts.silveira
18 Aug 2023, 13:32
( Updated at: 21 Dec 2023, 09:23 )
RE: cBots don't working - Help!!!
firemyst said:
Any suggestion?
Yes. Read the actual parameters to the API call and what you're passing.
For instance, your third parameter, you have “”. That's the VOLUME parameter. How can you have “” for volume?
Hello firemyst. Thanks a lot for your answer, I changed the code to the version below:
ExecuteMarketOrder(TradeType.Buy, SymbolName, 0.01, "", 10, 10, "", false);
The volume parameter is second, right after SymbolName
, still no order placed when running the cBot.
This code is just an example so that I can discover the real problem, because none of the platform's native cBots are working, I tested several and none of them placed orders when executed.
@rafaelfonts.silveira
rafaelfonts.silveira
18 Aug 2023, 15:04 ( Updated at: 21 Dec 2023, 09:23 )
RE: RE: RE: cBots don't working - Help!!!
firemyst said:
For these attempts I am using EURUSD and XAUUSD
@rafaelfonts.silveira