New desktop update allows Indicators to Trade
Created at 18 May 2024, 05:12
LO
New desktop update allows Indicators to Trade
18 May 2024, 05:12
Hi, the new platform update allows Indicators to Trade. I tried adding ExecuteMarketOrder in an indicator but can't work. How can I add an order command to indicator? Please kindly help. Thanks
firemyst
10 Sep 2024, 06:20 ( Updated at: 10 Sep 2024, 07:54 )
Essentially the same way you do it in a cBot as well.
in your C# code you need to call the ExecuteMarketOrder (or relevant) method for placing orders.
See this page for example within an indicator:
https://help.ctrader.com/ctrader-algo/articles/for-developers/how-to-trade-with-ctrader-indicators/#create-an-indicator-with-a-trading-panel
@firemyst