Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Doubt with strategy wizard:

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

    Doubt with strategy wizard:

    Hi,

    I'm trying to develop a simple strategy using strategy wizard but I have a problem. I need create the following condition:

    Close [0] <(Close [1] - StdDev (14) [0])

    The problem is that I can not subtract 1 StdDev (14) [0] of previous close using the “offset”. I attach a screenshot with the problem.

    Is there any way we could make this type of formulas from strategy wizard? I have been studying the help guide but have not found a solution. Is there a manual in which to learn how to do it?


    Thank you very much in advance.
    Attached Files

    #2
    Hello Plaket,

    Welcome to our forums!

    You may not be able to offset by a negative indicator value using the strategy wizard. If you would like to use the wizard you can create a custom indicator with value:

    (Close [1] - StdDev (14) [0])

    You could then reference this custom indicator in the wizard.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi RyanM!

      Thanks a lot for your faster reply.

      I understand you. I can do it with NinjaScript but... there is some alternative way to do it using Strategy Wizard?

      Thanks a lot in advance

      Comment


        #4
        Unfortunately this is not possible working entirely in the strategy wizard. Can enter negative offset values, but not negative indicator offsets.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          I understand you RyanM.

          Thanks a lot for your help!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Taddypole, Today, 02:25 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by Graci117, Yesterday, 11:40 PM
          3 responses
          19 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by cmtjoancolmenero, Today, 02:31 PM
          3 responses
          6 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by tradebot, Today, 01:25 PM
          2 responses
          8 views
          0 likes
          Last Post tradebot  
          Started by merc410, Today, 03:41 AM
          4 responses
          31 views
          0 likes
          Last Post merc410
          by merc410
           
          Working...
          X