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 FrancisMorro, Today, 03:24 AM
      0 responses
      1 view
      0 likes
      Last Post FrancisMorro  
      Started by Segwin, 05-07-2018, 02:15 PM
      10 responses
      1,770 views
      0 likes
      Last Post Leafcutter  
      Started by Rapine Heihei, 04-23-2024, 07:51 PM
      2 responses
      31 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by Shansen, 08-30-2019, 10:18 PM
      24 responses
      944 views
      0 likes
      Last Post spwizard  
      Started by Max238, Today, 01:28 AM
      0 responses
      11 views
      0 likes
      Last Post Max238
      by Max238
       
      Working...
      X