Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ExitStopLimit And ExitLimit

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

    ExitStopLimit And ExitLimit

    Is there a reason the ExitStopLimit is filled first when running replay data and does it have anything to do with GetCurrentBid vs GetCurrentAsk?

    The reason I'm asking I've had to essentially get the Spread between Bid & Ask and place the ExitLimit lower then my ExitStopLimit to prevent one triggering without the other in the replay data.

    On that note is a Spread of 10-15 pips on AUDNZD realistic or unrealistic in replay data & does the speed or amount of charts active in play act on that. It seems when I run one chart with my Spread indicator it avg is much lower then running 3 or 4 concurrently.

    #2
    Hello Happypappy,

    Thank you for your note.

    Do you see the same behavior with other instruments such as EURUSD?

    Could you elaborate more on what it is you are seeing?

    Are these orders getting filled almost immediately or not at expecting prices?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Sorry it was really 3 questions.

      1) I wrote a spread indicator, it takes the Bid and Ask and draws a line of the difference. When running this with multiple charts running TheGap is different to when running it by itself, almost like it's increasing when replay data is under more load. Is that correct behaviour?

      Code:
       
      TheGap.Set((Bars.CurrentAsk-Bars.CurrentBid) / TickSize);
      2) Is a gap of 15 pips on live accounts normal on a common chart like AUDNZD? This is in preparation to get this strategy online, I've put code in to compensate for a spread of 15, but that sounds unrealistic to me?

      3) When a StopLoss for a open Short and a ProfitTarget for an open long are both active and at the same price, the instrument moves up a *licks* the price. The StopLoss triggers before the sale, is this normal and is there a way to make the sale trigger first? In some cases my StopLoss triggers and not my ProfitTarget sale.

      Comment


        #4
        Happypappy,

        1) This can be expected depending on the volume and liquidity at that time.

        2) With regards to the AUDNZD this is a low liquidity market and as such can see spread at that big of a gap.

        3) If this from the strategy, will you be able to share this with me so I can test it on my end and see what is occurring?
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X