• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting color of Andrews PitchFork in Indicator

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

    Getting color of Andrews PitchFork in Indicator

    To the patient and helpful Guru's out there. I am getting better, but still learning (self taught programmer)..

    I have written an indicator that reads drawnobjects and if it is an Andrews Pitchfork, I then use it's 3 anchor points, which is working well. When I try to get the color, It returns some Blue color, which is not even the default Blue. Below is where I set up my structure, and then

    // This is where I loop through all drawn obects to locate each Andrew Pitchfork that was manually drawn
    foreach (IDrawObject draw in DrawObjects)
    {
    // Determinite if selected object is an Andrews Pitchfoirk
    if (draw.UserDrawn && draw.DrawType == DrawType.AndrewsPitchfork )
    {
    // and when found I then get amd save to variables the bars ago and price values of the 3 points
    // Then I use the 3 points in the calculations and drawing of the DGLs
    pitchfork = (IAndrewsPitchfork) draw ;

    Then here is the line I Draw a line on trying to use the color of the pitchfork that does not do what I want. I have also attached a screen shot of the watch variable structure pointing to the field that has what I want.

    DrawLine("JOR"+JOR_Line_Cnt.ToString(), false, pitchfork.Anchor1BarsAgo, JOR_Anchor_Price1, JOR_Draw_End_Bar, JOR_Tmp_Price, pitchfork.Pen.Color, DashStyle.Solid, 2);

    I did try using the editor "intellisense" to assist finishing my variable, "pitchfork." but I only saw the fields listed in the help manual, with only Pen,Color

    As always - your help is appreciated.

    John
    Attached Files

    #2
    Hello joromero,

    Thank you for your post.

    Do you have a test script we may test on our end?
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Sending via email to [email protected] Subject -->> Attn Patrick - issue with Romero Pitchfork.

      I'll also include some instructions to reproduce.

      Skype john_at_ibm if you want to reach out that way - heading up for dinner. I'm EST

      John

      Comment


        #4
        prop windows Andrews defective

        http://screencast.com/t/4lyXDt23i

        can reach the slections at base?

        Comment


          #5
          prop windows Andrews defective

          cant reach shieff settings

          Comment


            #6
            Hello laredo787,

            Thank you for your post.

            You can re-size the window as you would any window in the Windows Operating System.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              re sizing

              it doesnt re-size

              Comment


                #8
                resizing

                http://screencast.com/t/PPNhHoXI28tf

                Comment


                  #9
                  nt malfunction

                  any ideas,its a real problem?

                  Comment


                    #10
                    Hello laredo787,

                    Thank you for your responses.

                    Please send me your log and trace files for today so that I may look into what occurred.

                    You can do this by going to the Control Center-> Help-> Mail to Platform Support.

                    Please reference this thread in the e-mail: "http://ninjatrader.com/support/forum/showthread.php?t=67497"
                    Patrick H.NinjaTrader Customer Service

                    Comment


                      #11
                      Hello John,

                      Thank you for your patience.

                      This has been fixed in NinjaTrader 8 which is currently in closed beta. We look forward to providing our users with this product and hope to hear from you with any feedback or comments you may have.
                      Patrick H.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by lavalampmj, Today, 05:25 PM
                      0 responses
                      2 views
                      0 likes
                      Last Post lavalampmj  
                      Started by Antares66, Today, 05:19 PM
                      0 responses
                      2 views
                      0 likes
                      Last Post Antares66  
                      Started by jmneto, Today, 05:18 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post jmneto
                      by jmneto
                       
                      Started by Bobbyj78, Today, 02:21 PM
                      2 responses
                      12 views
                      0 likes
                      Last Post bltdavid  
                      Started by EnveousColnago, Today, 02:10 PM
                      1 response
                      7 views
                      0 likes
                      Last Post NinjaTrader_Ariana  
                      Working...
                      X