Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Darvas

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

    Darvas

    The Darvas upper plot seems to not be returning. I couldn't get it to buy crossing above.

    Also, I'm not sure if the lower plot is returning correctly, the sells seemed to be in strange places.

    Also........ Are the lines supposed to float like that before starting a new box? I've seen it go up and down before settling in. Even after it seemed to achieve a high and low. It doesnt seem right to me. But I don't know.

    But what's the point then? How do you know when the plot line has "solidified"? Do I have to read the book? Would it help?

    Of course, I guess my second issue could be a matter of the floating plot.

    #2
    I am not intimately familiar with this indicator and how it generates its trading signals but here are a few points -

    - You will notice that the current bar will never cross above the value of the upper plot. You may need to check if the current close is greater than the darvas upper channel value of 1 bar ago.

    - Plot lines are "solidified" on the close of a bar
    RayNinjaTrader Customer Service

    Comment


      #3
      Ok, I see what you're saying with the lookback.

      You know, you guys have zero documentation for this one. What all can I call out of there and how can I call it? How about the state? That could be useful.

      Comment


        #4
        You can only access the plot information. I will add to my list to document it.
        RayNinjaTrader Customer Service

        Comment


          #5
          OK, more trouble for me.....

          When I use this code:

          Print ("Lower "+ Darvas().Lower);
          Print ("Upper "+ Darvas().Upper);
          Print (" ");
          Print ("Test 0 " + Darvas().Lower[0] );
          Print ("Test 1 " + Darvas().Lower[1] );
          Print (" ");


          I get this result (The numbers are OK, the problem is that it dies before the fifth line):


          Lower 788.8
          Upper 788.8


          Test 0 788.8

          And this log message:

          8/11/2007 5:25:11 PM,Default,Error on calling the 'OnBarUpdate' method for indicator 'DarvasPrint' on bar 0: Index was out of range. Must be non-negative and less than the size of the collection.
          Parameter name: index,

          What am I doing wrong?



          Last edited by goldfly; 08-11-2007, 03:33 PM.

          Comment


            #6
            Add

            if (CurrentBar < 1)
            return;
            RayNinjaTrader Customer Service

            Comment


              #7
              Ouch! Yes.

              What a boze I am.

              Thanks

              You have a neural shunt into this board, huh?

              Comment


                #8
                Originally posted by goldfly View Post
                Ouch! Yes.

                What a boze I am.

                Thanks

                You have a neural shunt into this board, huh?
                Hi ,

                Sorry to be a plank, could somebody turn this into a indicator zip file I import into NT6 ?

                Thanks
                Ian

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Tim-c, Today, 03:54 AM
                0 responses
                3 views
                0 likes
                Last Post Tim-c
                by Tim-c
                 
                Started by FrancisMorro, Today, 03:24 AM
                0 responses
                3 views
                0 likes
                Last Post FrancisMorro  
                Started by Segwin, 05-07-2018, 02:15 PM
                10 responses
                1,772 views
                0 likes
                Last Post Leafcutter  
                Started by Rapine Heihei, 04-23-2024, 07:51 PM
                2 responses
                31 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by Shansen, 08-30-2019, 10:18 PM
                24 responses
                945 views
                0 likes
                Last Post spwizard  
                Working...
                X