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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      54 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      72 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X