Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 08:46:00 +0000



[Programming Help] - Trading system

View Count: 556

[2018-04-04 10:30:49]
User39772 - Posts: 311
Hello,

is it possible to show only the entry arrows in a trading system in the chart without execution an order by just setting Result=True:


//Result = sc.BuyEntry(NewOrder);
      Result = TRUE;

      //If there has been a successful order entry, then draw an arrow at the low of the bar.
      if (Result > 0)
      {
        r_BuyEntryInternalOrderID = NewOrder.InternalOrderID;
        SCString InternalOrderIDNumberString;
        InternalOrderIDNumberString.Format("BuyEntry Internal Order ID: %d", r_BuyEntryInternalOrderID);
        sc.AddMessageToLog(InternalOrderIDNumberString, 0);

        //BuyEntrySubgraph[sc.Index] = sc.Low[sc.Index];
      }


Or will this have any impact on the exits too ?

Maybe there is another solution.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account