Support Board
Date/Time: Thu, 08 May 2025 08:48:27 +0000
Post From: Problem Logging Real Account Trades with ASCIL
[2024-11-22 10:56:34] |
User431178 - Posts: 667 |
I'll say it again, what do you have sc.SendOrdersToTradeService set to in the study? Read the docs again and see why it is relevant. Automated Trading From an Advanced Custom Study: sc.GetOrderByIndex When calling the sc.GetOrderByIndex function and Trade >> Trade Simulation Mode On is enabled or sc.SendOrdersToTradeService is false, then only simulated orders are returned. If Trade >> Trade Simulation Mode On is disabled and sc.SendOrdersToTradeService is true, then only non-simulated orders are returned. |