Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reverse Position on same bar

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

    Reverse Position on same bar

    Hi,

    I need reverse position on same bar in Market Replay Connection. And i dont know why?

    i try use:
    if(sma1 < sma2 && sma2 < sma3)
    {}
    else
    {
    workflow.setSignal(Signal.None);
    ExitLong();

    EnterShort();
    }

    , but it doesnt work :-(.

    Thanx
    Kellerstein Lukas

    #2
    If you want to reverse, just call EnterShort(). There is no need to call ExitLong() prior to it.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanx Josh

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      66 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X