Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Offset User Variable in Strategy Wizard?

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

    Offset User Variable in Strategy Wizard?

    Hello Ninjatrader Support,

    how can i offset (+,-,*,/) a user variable in the strategy wizard?
    I can't find it anywhere.

    Thank you in advance
    Last edited by tulx2305; 09-29-2017, 07:27 AM.

    #2
    Hello,

    Thank you for the post.

    Currently, the offset only can be applied to specific fields, the user variables, unfortunately, do not have this ability.

    I will put in a feature request to have the offset reflected to anywhere a price value can be used in the builder.


    For the time being, you would need to instead use the reverse where possible meaning the value you are set to the user variable would need to be offset instead of the user variable itself being offset.

    For example, you can set an Indicators value to a user variable, in the indicator settings it contains an offset. This can be used to offset the value before setting the variables. Later when the variable is used, the pre-offset value is used so no offset would be needed on the variable its self. This can still lead to situations where there is a logical gap so I will still put in a feature request.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello Jesse,

      thanks for quick reply and feature request, simple user variable offsetting would be useful.

      I just needed the half from high[0] - low[0] value.
      Found this way with the wizard now : Var1 = ((High[0] - (Median[0])));


      Regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by caacapital, Today, 10:10 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by DiverG20, Today, 10:23 AM
      0 responses
      21 views
      0 likes
      Last Post DiverG20  
      Started by SuneSorgenfrei, Today, 09:29 AM
      0 responses
      19 views
      0 likes
      Last Post SuneSorgenfrei  
      Started by dodoei, Today, 07:24 AM
      0 responses
      14 views
      0 likes
      Last Post dodoei
      by dodoei
       
      Started by thecashguys, Today, 06:13 AM
      0 responses
      13 views
      0 likes
      Last Post thecashguys  
      Working...
      X