Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ExitLong/Short won't post text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ExitLong/Short won't post text

    During backtest, the text I give to ExitLong and ExitShort isn't being displayed. Instead, on the backtest chart it simply says "Close position" on the chart. For reference the code I am using is simply ExitLong("Exit Long on Strategy 1").

    I do know that the code is getting to the place where the exits are called.

    Anyone have any thoughts on what I am doing incorrectly?

    Thanks!

    #2
    Originally posted by x703jko View Post
    During backtest, the text I give to ExitLong and ExitShort isn't being displayed. Instead, on the backtest chart it simply says "Close position" on the chart. For reference the code I am using is simply ExitLong("Exit Long on Strategy 1").

    I do know that the code is getting to the place where the exits are called.

    Anyone have any thoughts on what I am doing incorrectly?

    Thanks!
    Use the correct calling signature.
    Code:
    ExitLong("Exit Long on Strategy 1", "");

    Comment


      #3
      Originally posted by koganam View Post
      Use the correct calling signature.
      Code:
      ExitLong("Exit Long on Strategy 1", "");
      Brilliant! Thanks. Jeff

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      60 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      147 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      161 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      97 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      284 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X