Announcement

Collapse
No announcement yet.

Another 123Down question

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

  • Another 123Down question

    Hi All,

    The attached efs sends a signal after the 3rd down bar. I was wondering if someone would assist me tweaking it so it sends a signal after the 3rd lower high?

    Cheers guys

    Carlton

  • #2
    Carlton
    You did not attach the efs
    Alex

    Comment


    • #3
      Oops!

      Yep, I forgot to attach the efs.

      Any here it is.

      Cheers

      Carlton
      Attached Files

      Comment


      • #4
        This efs look to me like it signals when there have been three bars with a lower or equal high in a row. If you need 3 lower highs in a row,


        if(vHighs[i] < vHighs[i+1]) {

        is all you need.

        I changed this too


        } else if(nStateTotal == 3) {

        Comment


        • #5
          Carlton
          Isn't three lower highs what the efs already uses to trigger the signal?
          Alex

          Comment


          • #6
            No,

            It just signals when you have 3 lower lows in a row. Not 3 lower highs - which is what I would like.

            Thx.

            Carlton

            Comment


            • #7
              Alex,

              This still appears to give me 3 lower lows. Also, it appears to end after the 3rd low. In the original, the efs would continue to highlight when the price went even lower than the 3rd low. So, for example even if we had 9 lower lows it would continue to highlight it in green.

              Thx.

              Carlton

              Comment


              • #8
                Re: Reply to post 'Another 123Down question'

                The code you posted does not deal with lows at all, just highs. Perhaps you
                posted the wrong efs?

                Comment


                • #9
                  Carlton
                  There is also a comment in the efs about it
                  Alex


                  /*
                  * This functions shows when there are 3 or more bars with lower highs
                  * It is a pure color study.
                  */

                  Comment


                  • #10
                    Uhmmm,

                    May be I should have posted the attached 123Up. Although, the 123 down basically highlights green after the 3rd down bar. Also, that is what the programmer says in his comments.

                    Anyway, I have posted the 123 Up. You will notice the difference.



                    Carlton

                    Comment


                    • #11
                      Alex,

                      You're correct. That means the code isn't working because its not highlighting after 3 lower highs but just after 3 lower lows. Would you agree?

                      Carlton

                      Comment


                      • #12
                        Forgot to attach the 123 Up (although you don't really need it now that we know that its the 123 down that I want)
                        Attached Files

                        Comment


                        • #13
                          123up was not posted

                          Comment


                          • #14
                            Carlton

                            That means the code isn't working because its not highlighting after 3 lower highs but just after 3 lower lows. Would you agree?

                            No I would not. The green background appears at the third (and following) lower high as far as I can see
                            Alex

                            Comment


                            • #15
                              Alex,

                              Just posted it.

                              Did you see my last comment about possibly the 123 down being improperly programmed?


                              Carlton

                              Comment

                              Working...
                              X