Announcement

Collapse
No announcement yet.

New Scripts

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

  • Pivot formula...The variable pivot bug

    With PivotConsole :

    Take a 1mn chart, apply a 10mn variable pivot.

    Instead of displaying the new pivot at 2:00pm, Pivotconsole will display it 1 bar later at 2:01pm...I guess this is a bug?

    I isolated the function that calculates the variable pivot in a separate script and the bug seems to be in it, as my formula is also displaying the pivot with a 1 bar lag...

    Chris, can you have a look at this ?

    Comment


    • Here is a script for a Value Chart that I developed a few months ago. It operates in real time and displays the bars using Draw Line routines.


      Robert
      Attached Files

      Comment


      • Pivot console - bug

        Robert,

        I had a look at your code, unfortunately :
        1. it pumps my CPU to maximum (!)
        2. you use a lot of non explicit names for variables and without any comments in the code it is super hard to read your code.

        Chris,

        It would be great if you could find the bug that makes the calculation of variable pivot be shifted by 1 bar...

        Comment


        • Phantom:

          I'm trying.

          Chris

          Comment


          • Hello Phantom:

            Sorry for your cpu nightmare experience.

            Here is a revised script file to ease the cpu pain a little where you can cutoff the number of bars to be displayed with drawn lines. Unfortunatley line drawing is a bit of a cpu killer. I have not used this chart for a while as the signals did not suit my trading methodology and my coding has moved a long way since I put this one together.

            Robert
            Attached Files

            Comment


            • If anyone is interested re Stoller (STARC) bands I have posted a revised script as per the following link:-



              It corrects the problem of the buggy eSignal built in ATR indicator.

              Robert

              Comment


              • I have attached a revised Stoller script as I forgot that we need to do a Wilders EMA as an averaging rather than a straightforward SMA (except for the first few bars of the price series). The results are still different from that given by using eSignal's buggy built in ATR study.

                If anyone is interested in exploring other bands such as Anderson, Bollinger, Headley, Keltner & Kirshenbaum with a "twist" please have a look at the following thread:-



                Robert
                Attached Files

                Comment


                • Would love someone takes care of this nasty bug with variable pivots in pivot console formula (see previous posts)

                  Comment


                  • New version of Pivot Console has been uploaded to File Share. This should take care of the variable pivot problem (thanks for your assistance Phantom).

                    Link to File Share:

                    http://share.esignal.com/groupconten...ts&groupid=114

                    Chris

                    Comment


                    • For those interested, I uploaded a new script called VariablePivots to the File Share area along with a snapshot of same. The script focuses on creating pivots based upon intraday bar intervals (e.g., view a 5-min chart and set the pivot interval to 60 minutes and this will create floor trader pivots based on the prior 60-min bar, etc.)

                      Link to File Share:

                      http://share.esignal.com/groupconten...ts&groupid=114

                      Chris

                      Comment


                      • Hello Chris,

                        Thanks for your new EFS, they greatly help! I have been waiting for such a code on variable pivots for a long time but was not able to code it by myself due to complexity of calculating index.

                        On the new pivot console formula, I noticed that if you remove and put again the V pivot by clicking on V-/V+ you will sometimes find a different variable pivot calculation. It seems to me that the EFS sometimes forget to refresh the calculation (I used ES #F with 30mn pivot on 10mn timeframe, with 10 days auto time template) automatically.

                        I will try to narrow down the problem but I noticed it several time today.

                        Comment


                        • Thank You Chris

                          Thanks Chris for the new Kirshenbaum Formula.

                          It is really good and efficient and improved .

                          Thanks for all your scripts.

                          Fabrizio
                          Fabrizio L. Jorio Fili

                          Comment


                          • New versions of the EFS Help File (HLP and CHM) have been uploaded to the Specialty Scripts group in the File Share area. Some interesting new topics have been added, as follows:

                            addEntitlement()
                            DDEOutput Object
                            HTTP Object
                            Mouse Functions

                            Link to File Share:

                            http://share.esignal.com/groupconten...le&groupid=114

                            Chris

                            Comment


                            • Re: Reply to post 'New Scripts'

                              Hi Chris

                              The links on

                              drawShapeRelative()

                              seem to be broken on the .chm version


                              >

                              Comment


                              • David
                                They seem to be working fine here.
                                Alex

                                Comment

                                Working...
                                X