Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Triggering stops on bid/ask?

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

    Triggering stops on bid/ask?

    Hello,

    is there a way (recommended) to trigger stop orders when the bid/ask spread is appropriate even when no trade happened?

    Here is the issue. I am working with a forex system, just zen-fire does not have forex (again, and can not give me time now officially when this will be open). I figured out I can move 4 of the 5 pairs I want to trade over to the forex mini futures on globex - that actually works reasonably well.

    Except: noone seems to be using them. Spreads are ok, possibly because some banks take a tick more and just wrap up their forex offers.

    But without trades, I may be 20 pips through my stop loss trigger by the time someone actually trades. And sadly, this seems to happen quite regular - currency pairs move forward, no trae happen, next time you watch you dont even see bid and ask on the DOM

    Is there a way to get bids and asks from a strategy? This way I could actually use "virtual" stops that turn into market orders when the bid/ask goes through.

    #2
    Hi NetTecture, there sure is a way to get bids and asks from a strategy. There is a reference sample that prints out the level II book when the time is right. It can easily be modified for use in a strategy, it just takes some copy + paste (a little more than usual I might add--the indicator uses ArrayLists to store the bids/asks).

    Anyways, here is a link to create your own Level II data book.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Austin View Post
      Hi NetTecture, there sure is a way to get bids and asks from a strategy. There is a reference sample that prints out the level II book when the time is right. It can easily be modified for use in a strategy, it just takes some copy + paste (a little more than usual I might add--the indicator uses ArrayLists to store the bids/asks).

      Anyways, here is a link to create your own Level II data book.
      Ah, thanks. I normally am not a hugh fan of using level 2 (just never got a chance to really use it with effects), but in this case... it seems like a must.

      Sadly this also rules out all backtesting etc. which is based on ticks - thank heaven in this case that is not needed. Strategy known to be working

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      55 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      142 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X