Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

In Strategy Builder, Setting up a previous pricepoint as a usable variable

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

    In Strategy Builder, Setting up a previous pricepoint as a usable variable

    Pushing my luck with this one, as this is almost certainly a hard-code object item.

    In strategy builder, on strength of a [0] bar conditional being met, I want to take the high and low of a previous bar [1] and store those values as separate variables to be called on a future conditional price change immediate execution, i.e. line in the sand being crossed then execute entry. I can't see a way to do this in the wizard, or is there in fact a method I can call?

    So
    If ( X && X && X)

    {
    (Store the High[1];
    Store the Low[1]
    }
    Thanx

    #2
    Hello johnMoss,

    This would not be a method...

    Add a variable (or variables) on the Inputs and Variables page.

    Assign the High with Bars ago set to 1 to the variable when the condition is true. (In the actions open the Misc section and select Set variablename

    Use the variable as you would like later in the script.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Oh for God's sake Chelsea I'm being an absolute moron .... Was at a series of too many things all day yesterday....
      ((All work & no play makes jack a dull boy)*100) lol... Sorry

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      118 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X