• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order rejection compound leg, concurrent action

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

    #16
    I wanted to create a strategy wizard where I showed the bars that have a length greater than 20 ticks, so that between the minimum and the maximum of the bar there is at least this length

    Comment


      #17
      Hello,

      To do this you will need to subtract the Low from the High and then divide by the tick size.

      This cannot be done with the Strategy Wizard.

      For example:

      if ((High[0]-Low[0])/.25)
      {
      DrawArrowUp("myArrow"+CurrentBar, true, 0, Low[0] - 2 * TickSize, Color.Green);
      }
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ralett, Today, 06:20 PM
      0 responses
      1 view
      0 likes
      Last Post ralett
      by ralett
       
      Started by grizzlytrader, Today, 06:24 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by andrewtrades, Today, 01:43 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by FuturesRon, Today, 03:09 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Ivantr, Today, 05:24 PM
      0 responses
      5 views
      0 likes
      Last Post Ivantr
      by Ivantr
       
      Working...
      X