Announcement

Collapse
No announcement yet.

SwingHigh/SwingLow

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

  • SwingHigh/SwingLow

    Hi,

    I put SwingHighBar and SwingLowBar together in one efs. My problem is to call the right return value to plot both arrows.

    1. The efs only plots the SwingLows. Must I split the one efs in two separate efs, one for the lows and one for the highs?

    2. Is it possible to draw a line like an ZigZag between the lows and the highs?

    Regards
    Attached Files

  • #2
    Stephan
    Add a TagID parameter to the drawn objects. If you want more than one of each arrow drawn on the chart then add also a counter which you increase at every new bar and then use together with the TagID
    Alex

    Comment


    • #3
      Alexis,

      thanks for your help. It don't know if i've done all right, but it seems to work.

      Stephan
      Attached Files

      Comment


      • #4
        And the efs
        Attached Files

        Comment


        • #5
          Hi Alex,

          i have another two question. If i have two or more successive candles with the same high or low, then with SwingHigh/SwingLow not the temporally last candle is taken, but the first.

          If I let esignal draw automatic trendlines over the last 2 SwingLows, then it comes to "wrong" results for my needs.

          Is there a possibility to change the recognition rule for the SwingLow/High-function in such a way that like in the tradestation-codes the last candle is spent?

          Is there a way to plot only a certain number of highs and lows, since the loading time is otherwise very long?

          Regards

          Stephan
          Attached Files

          Comment


          • #6
            Stephan
            You may want to redirect your questions/suggestions to Chris Kryza (user name ckryza) who compiled the functions you are using.
            Alex

            Comment


            • #7
              With the new dsUtilities (under Filesharing --> Speciality Scripts) by Chris Kryza the problem with identical highs is now fixed.

              Since the first code was an CPU-Killer i made some changes.
              The number of Highs and Low is now limited by grID.

              Stephan

              Attached Files

              Comment

              Working...
              X