Login Page - Create Account

Support Board


Date/Time: Sat, 19 Jul 2025 13:08:13 +0000



Post From: LifeCycle of sc.SupportTradingScaleOut in a study?

[2025-07-15 10:18:04]
rajeshh - Posts: 17
I have tried this, and still the same behavior -

  if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_NOT_CLOSED)
    sc.SupportTradingScaleOut = 1;
    
  else if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED)
  {
    sc.SupportTradingScaleOut = 0;
//Submit order to create an opposite order with attached orders does not create attached orders, only the opposite order.