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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        64 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