Announcement

Collapse
No announcement yet.

FWguide3BarBrkOut.efs

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

  • FWguide3BarBrkOut.efs

    Hello,

    how I know the color of the black Candlestick bars
    into red bars or green bars to change?

    Thank you for the assistance.

    Yours sincerely

  • #2
    Hello Rondondo,

    Open the formula in the Formula Wizard and change the colors in Set 1 and Set 2 for the setPriceBarColor() condition. Click on the Edit button to the left of the condition line.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Hello Jason,
      thank you for the fast answer.

      Unfortunately I do not find the correct line yet,
      I have it in the line 17 tried however it functioned not yet correctly.
      Line 75: setPriceBarColor (Color. RGB(0,255,0)); this line does change the color of the first Candlestick bar however not the following. Thus with "long" are to be all candlestick bars green and with "short" be supposed all bars to be red.

      Sorry for my bad English.

      Thank you and many greetings

      Comment


      • #4
        Rodondo
        The attached revision will color all the bars when long or short.
        Alex

        Attached Files

        Comment


        • #5
          Alex,

          with the following line I would like to increase gladly the distance from the arrow in the Chart:

          if (vLastAlert !=2) drawTextRelative (0, high (), "e", Color.red, zero, Text.BOTTOM|Text.CENTER|Text.BOLD, "Wingdings", 12);

          Perhaps does it go placing also the arrow down and above to the outer edge? I use the "efs" in a PNF Chart.

          I hope you understand which I mean. Unfortunately I do not find the solution. Thank you for the assistance in advance.

          ---------------------------------
          Rodondo

          Comment


          • #6
            Rodondo
            You could write it like this
            if (vLastAlert !=2) drawTextRelative (0, high() + nn, "e", Color.red, null, Text.BOTTOM|Text.CENTER|Text.BOLD, "Wingdings", 12);
            where nn is a value appropriate for the price scale of the chart (for example 0.10 or 1 or 2.5, etc)
            Alex

            Comment


            • #7
              Alex,
              thank you for the fast answer.

              Now the error message comes:
              Reference error: nn is NO defined
              Reference error: zero is NO defined

              Which data do I have to give with the Wizard Declaration?

              The arrow is to remain in the PNF Chart, only the distance from the X + O is for the moment too small.

              Thank you very much for your efforts in advance.

              ------------------------------------
              Rodondo

              Comment


              • #8
                Rodondo
                nn was just an example. You need to replace nn with a value that is appropriate for the price scale. For example if you are charting ES you could try 0.50 which would be two ticks above the high and see if that is enough else increase it
                Alex

                Comment


                • #9
                  Alex,

                  which line do I have to change, if I would like to increase breakout alarm from 3 bar to 6 bar?

                  Thank you for your efforts in advance.


                  ---------------------------------------------------
                  Rodondo

                  Comment


                  • #10
                    Rodondo
                    In the Formula Wizard you need to add some more conditions in both Set1 and Set2.
                    In Set1 for example add
                    close() > high(-4)
                    close() > high(-5)
                    close() > high(-6)

                    and then do the same in Set2 (using < low)
                    Alex

                    Comment


                    • #11
                      Alex,

                      I changed the lines, but the"efs" gives in sideways phases still too many signals. How can the signals in sliding zones be improved?

                      I wish to all a glad Christmas and all property for the year 2005.

                      ------------------------------
                      Rodondo

                      Comment


                      • #12
                        Rodondo
                        Regretfully that is beyond what I am available to do
                        Alex

                        Comment

                        Working...
                        X