Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy builder treats bar close value different from bar median value?

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

    Strategy builder treats bar close value different from bar median value?

    in the strategy builder condition & actions window [displayed in the attachment] why doesn't the left side of the generated equation look more like the right side of the equation [i.e.] the only difference is that i have specified bar close for the first parameter of the hma indicator on the left side whereas bar median value has been specified on the right side?

    in other words, why doesn't the strategy builder merely generate
    HMA(Close, HmaPeriodUserInput)[0] >= HMA(Median, HmaPeriodUserInput)[0] ?

    Click image for larger version

Name:	mar17 for forum.jpg
Views:	1
Size:	117.6 KB
ID:	907278

    #2
    [QUOTE=joemiller;499815]in the strategy builder condition & actions window [displayed in the attachment] why doesn't the left side of the generated equation look more like the right side of the equation [i.e.] the only difference is that i have specified bar close for the first parameter of the hma indicator on the left side whereas bar median value has been specified on the right side?

    in other words, why doesn't the strategy builder merely generate
    HMA(Close, HmaPeriodUserInput)[0] >= HMA(Median, HmaPeriodUserInput)[0] ?

    whoops! is it because the median [first parameter of HMA] on the right hand side has not been designated to be a function of HmaMedianUserInput? gotta think on this ... but meanwhile please send comments, advice, questions, etc. it will help a lot i'm sure.

    Comment


      #3
      Hello joemiller,

      Thanks for writing in to our Support Forums!

      It looks like you have set the input data series for your first HMA to be another HMA instead of the current Close price. You will want to select Close under the Price type pulldown menu when you select "Default input" in the Input series window. This is the window that comes up after you click the button next to "Input series" in the Condition Builder when you are configuring an indicator. The "Default input" will always be the Close price.



      You may wish to view or attend the Strategy Builder 301 webinar for educational information on the Strategy Builder.

      Strategy Builder 301 Video - https://www.youtube.com/watch?v=_KQF2Sv27oE

      Strategy Builder 301 Webinar - http://ninjatrader.com/Webinar/Strategy-Builder-301

      Please let me know if I may be of further assistance.
      JimNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Waxavi, Today, 02:10 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      13 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by alifarahani, Today, 09:40 AM
      5 responses
      23 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X