Announcement

Collapse
No announcement yet.

Downloaded EFS

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

  • Downloaded EFS

    Hi,

    I picked up this nice EFS that I understand a few people have worked on...

    I have just tried to adjust it to remove the arrow, should the conditions change 'mid-bar', and re-draw it should they change back again, etc etc. So that it is dynamic without 'Compute on Close'

    But it isn't working properly.

    The rawtime value gives it a unique ID, so I am not sure where I am going wrong (again).

    Thanks
    Attached Files

  • #2
    rogerha
    The efs attached to this post provides you with an example of how to do it
    Alex

    Comment


    • #3
      Hi Alexis,

      I have tried that method (without success) and I have also tried the attached method, also without success.

      I also note that sometimes it isn't drawing the arrows, and yet a reload of the EFS allow them to be drawn.

      I am very confused as to what is going on here, and would value some help.
      Attached Files

      Comment


      • #4
        Hi Alex,

        I have solved the problem with the arrows sometimes not being drawn (ignore the current compute on close), it was to do with the way lastSMA was being created every tic, now it just creates the lastSMA when there is a new bar.

        However for the life of me, I cannot work out why the arrows are not being removed dynamically when the conditions change.

        If you could take a look at this I would be grateful, I have been immersed in it for 48 hours now.

        Thanks

        Roger
        Attached Files

        Comment


        • #5
          Roger
          The attached revision of the efs should fix the problem. All the changes are indicated by comments.
          For an explanation on why I moved the section of code that creates vlastSMA see this thread.
          Alex
          Attached Files

          Comment


          • #6
            Hi Alex,

            I understand now. Prior to my adding the 'Barstate Newbar' to the LastSMA calculation, there was nothing, just a command creating LastSMA from SMA which would of course do it on every tick, but that wouldn't matter with ComputeonClose. I added the 'Barstate Newbar' but of course it didn't occur to me to change the order of events.

            Thank you very much indeed Alex, your help is invaluable as always.

            Roger

            Comment


            • #7
              Roger
              As always my pleasure
              Alex

              Comment


              • #8
                Super

                Good morning, could i know who have created this indicator (super)?
                I like it very much!!!

                Comment


                • #9
                  Hi Stefano,

                  I picked it up from here:



                  A know that quite a few people were involved in its creation, but I wouldn't like to offend anybody by stating exactly who, since there appears to be a little confusion.

                  If you find out any further information, I would be grateful if you let me know.

                  Roger

                  Comment


                  • #10
                    gem2004
                    You can use the same solution that Jason provided to you in this thread.
                    Outside of function main create the DDEOutput() object replacing the name "TSF_" with (for example) "Super2_". Then just above the return statement add the dde.set() command replacing nPlot with vSMA
                    Alex

                    Comment

                    Working...
                    X