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

Draw a line forward

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

    #31
    Originally posted by Tradexxx View Post
    hello together,

    i'm trying to follow these things up - step by step.
    first step: try to draw a line / ray etc....
    result: indicator isn't drawing anything.
    perhaps you can have a look at it?
    I have pointed you to the entire annotated, fully commented code, that does what you want. You merely have to change your initial trigger condition, which line I have specifically identified. Do you really prefer to reinvent the wheel?
    Last edited by koganam; 02-26-2015, 01:00 PM.

    Comment


      #32
      hi koganam,

      i have tried your script some days ago. well, it's drawing lines - yes.
      but: everywhere - the only positions were i can't find lines, is on the positions i expected them...

      guess i don't understand enough.

      Comment


        #33
        Originally posted by Tradexxx View Post
        hi koganam,

        i have tried your script some days ago. well, it's drawing lines - yes.
        but: everywhere - the only positions were i can't find lines, is on the positions i expected them...

        guess i don't understand enough.
        Hi Trade

        May I point out that Koganam has said in his posts: "You want to change the definition of LongSetup to be what you want to start the line." and "You merely have to change your initial trigger condition, which line I have specifically identified."

        So his code needs to be suitably adapted and I'm sure it'ill work superbly.

        His coding is very advanced and I hope to learn a lot from it.

        I'll try to get back to you about my own very much more elementary script at the weekend.

        Comment


          #34
          Originally posted by Tradexxx View Post
          hi koganam,

          i have tried your script some days ago. well, it's drawing lines - yes.
          but: everywhere - the only positions were i can't find lines, is on the positions i expected them...

          guess i don't understand enough.
          Which points the way forward, as that statement can only mean that you have not properly defined the condition(s) that must be satisfied to start drawing your line. What are those conditions?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          26 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, Yesterday, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          191 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,230 views
          0 likes
          Last Post xiinteractive  
          Working...
          X