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 Island_Boy_Trading, Today, 07:39 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by cmarkb, Today, 07:19 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by wjadevries, Today, 03:29 AM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Oracletrades, Yesterday, 09:10 PM
      1 response
      119 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by ginx10k, Today, 07:04 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X