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, 08: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 Rosario, Today, 01:01 AM
      0 responses
      2 views
      0 likes
      Last Post Rosario
      by Rosario
       
      Started by Reardon, Yesterday, 06:16 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by StoneMan78, Yesterday, 09:18 PM
      0 responses
      5 views
      0 likes
      Last Post StoneMan78  
      Started by Pete77, Yesterday, 06:52 PM
      1 response
      19 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by sgordet, Yesterday, 06:51 PM
      4 responses
      10 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Working...
      X