MAs Cross Reversal
Created at 12 Feb 2022, 03:44
FO
MAs Cross Reversal
12 Feb 2022, 03:44
Hello , can anybody give me a piece of code I can put into my cbot to place different lotsize for selling and buying orders. Im trading reversals and Lets say im in a bullish trend and i want to add 5 lots for buying orders and 2 lots for selling orders. Can i please get some help on this. Regards
amusleh
14 Feb 2022, 08:51
Hi,
You can use Robot ExecuteMarketOrder method to open a position: Method ExecuteMarketOrder | API reference | cTrader Community
You can find full sample cBot examples here: cAlgo API Reference - Position Interface (ctrader.com)
@amusleh