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

Stochastic Programming

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

    Stochastic Programming

    So I am working witht he scripting wizard and cant get the programming down to trigger my logic when entering parameters like:
    Draw a line when stochastics crosses below the 80 line
    Draw a line when stochastics crosses above the 20 line

    Same thing when I work in the Williams R.

    Does anyone have any ideas?

    #2
    First you need to determine what the problem is?

    - Is the condition not being met?
    - Problem with drawing the line?

    You can tell if a condition is being met by inserting an action of Printing something to the output window in addition to drawing a line. Then open the Output window and if you see something then you know its working --> Then you can take a look at the DrawLine parameters you are using.
    RayNinjaTrader Customer Service

    Comment


      #3
      No, it isnt that the condition is not met, I dont know how to script when the stochastic crosses the 80 line in the parameters field

      Originally posted by NinjaTrader_Ray View Post
      First you need to determine what the problem is?

      - Is the condition not being met?
      - Problem with drawing the line?

      You can tell if a condition is being met by inserting an action of Printing something to the output window in addition to drawing a line. Then open the Output window and if you see something then you know its working --> Then you can take a look at the DrawLine parameters you are using.

      Comment


        #4
        The following Help Guide link will provide you some guidance on how to create a cross condition in the Wizard.

        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ageeholdings, Today, 07:43 AM
        0 responses
        7 views
        0 likes
        Last Post ageeholdings  
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        12 views
        0 likes
        Last Post burtoninlondon  
        Working...
        X