Announcement

Collapse
No announcement yet.

New Scripts

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

  • #61
    Floor Trader Pivots

    I uploaded a new Floor Trader Pivot script into the Specialty Scripts group in the File Share Area. It is in the "Pivots" folder.

    This script will allow you to plot the Daily, Weekly and Monthly pivot numbers for the current trading session. On-screen buttons are available to make it quick and easy to select between the D,W and M pivots or to select all 3. The specific pivot values that will be displayed are controlled via an Edit Studies dialog (e.g., R1,R2,R3,S1,S2.S3,P,MP,W,H,L,C) which can be quickly accessed by clicking on the "Pivot Console" logo beneath the button bar.

    Review the top of the script for more info on operation, parameters, etc.

    A snapshot of the script is also in the Pivots folder.

    (Note: you need to be running one of the newer eSignal versions to use this script since it makes use of a few new features. You must be on 7.2 Build 564 or newer ).

    Link to File Share:

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

    Chris
    Last edited by ckryza; 04-19-2003, 02:03 PM.

    Comment


    • #62
      Floor trader pivot efs

      Chris,

      Thanks for the new pivots efs. Is there somewhere where these levels (other than OHLC) are described. I want to compare them with the calculations I've been doing by hand.

      On another topic, namely the Historical and RT Profiles. They're great but when I went to print out an advanced chart with them on it, only the labels printed, neither of the profiles nor any of the key level lines (ie VWAP. VA, etc) printed ????

      Many thanks,
      Bob A.

      Comment


      • #63
        Hi Bob:

        Sorry, but I don't understand the first question (e.g., is there somewhere where these levels (other than OHLC) are described). Be glad to help but I'm just not sure what you are asking for.

        Regarding the printing issue.... yes, that has been an issue for me as well for quite some time and I believe that eSignal is working on a fix.

        Chris

        Comment


        • #64
          Pivot efs

          Hi Chris,

          Sorry for being obscure. I'm looking for the formulas you're using to calculate the pivot, S1, S2, S3, R1, R2, R3 etc. Where did you get them (ie your source)? The Pivot Point calculations I'm using I sourced from " Computer Analysis of the Futures Market" by LeBeau and Lukas, p.212,213.

          Thanks, Bob

          Comment


          • #65
            Bob:

            I am using what I believe are the 'standard' calculations. I don't remember specifically where I first saw them but it may have been an old TASC article.

            P = (YH+YL+YC)/3;
            R1 = 2P - YL;
            S1 = 2P - YH;
            R2 = (P-S1)+R1;
            S2 = P - (R1 - S1);
            R3 = R2 + (YH-YL);
            S3 = S2 - (YH-YL);

            Daily pivots are based on the prior trading day's data.
            Weekly pivots are based on the prior week's data.
            Monthly pivots are based on the prior month's data.

            Chris

            Comment


            • #66
              Pivot : what you can add...

              In order to have the best pivot formula around you would need to add this in it :

              - GAP : should be an option that can be or not selected.
              Option should be :
              0 : no gap correction
              1 : classical gap correction
              2 : inverted gap correction

              For example the ESTX50 opens with a 40 pts up gap you add 40 to R1, S1, PP and so on if option gap=1 is selected, if gap=2 you substract 40 from all pts. Of course it also works for Weekly gap and monthly gap...

              - Midpoints between pivot and S1, pivot and R1 (and same for R2, S2) are resistance/support point. Can be displayed as an option (0 don't display, 1 displays for S1/R1, 2 displays for S1/R1/S2/R2, 3 displays for S1/R1/S2/R2/S3/R3)

              - in the OHLC window, you should add a Daily ATR calculation for example a calculation of the H-L volatily of the last 20 days so that when the low is S1 you can expect the high to be near S1+ATR(20)...

              Just ideas like that, first 2 are must have I think...On some markets gap is not important but on some it does make a change in your P&L...

              Comment


              • #67
                Hi Matt:

                Thanks, those are all good ideas. The gap code is already in the new script and I believe the logic I am using matches your description. I will see what I can do about getting the other items added.

                Chris

                Comment


                • #68
                  Originally posted by ckryza
                  Hi Matt:

                  Thanks, those are all good ideas. The gap code is already in the new script and I believe the logic I am using matches your description. I will see what I can do about getting the other items added.

                  Chris
                  OK thanks! I am checking the formula on ES#F=2 and there seems to be a bug in W Lo (Weekly Low?), as it displays 891.25 which is not the low of last week for ES...

                  What is WA ?

                  Comment


                  • #69
                    Hi Matt:

                    That is strange. I loaded the script up on my end and I tried ES #F and then tried ES #F=2... both using 2-min bars and in both cases I got the same results for the weekly numbers which are:

                    Weekly High = 896.75;
                    Weekly Low = 868.50;
                    Weekly Close = 891.25;


                    If you reload the script, do the results change??

                    For comparison purposes, I'm running Build 577.


                    WA is the candle waist which is (Open+Close)/2

                    Chris

                    Comment


                    • #70
                      Originally posted by ckryza
                      Hi Matt:

                      That is strange. I loaded the script up on my end and I tried ES #F and then tried ES #F=2... both using 2-min bars and in both cases I got the same results for the weekly numbers which are:

                      Weekly High = 896.75;
                      Weekly Low = 868.50;
                      Weekly Close = 891.25;


                      If you reload the script, do the results change??

                      For comparison purposes, I'm running Build 577.


                      WA is the candle waist which is (Open+Close)/2

                      Chris
                      Build 578 (beta 4) here and the problem is the same. I reloaded many times, doesn't change anything. I normally work on 11mn bars but with 2mn bars I have the same issue...

                      Comment


                      • #71
                        Matt:

                        How do the daily numbers look... problems there as well?

                        Tell me what weekly values you are displaying for:

                        Weekly High (displayed as W HI )
                        Weekly Low (displayed as W LO )
                        Weekly Close( displayed as W CL )

                        Might as well give me the monthly values as well so I can check them all.


                        Chris

                        Comment


                        • #72
                          Originally posted by mbriand
                          Build 578 (beta 4) here and the problem is the same. I reloaded many times, doesn't change anything. I normally work on 11mn bars but with 2mn bars I have the same issue...
                          another funny thing : I have no bug with ES#F, only with ES#F=2

                          I saw the description for your GAP correction but you add the gap but never subtracts the gap or half the gap but you don't do the opposite logic (substract half the gap, substract the full gap)...

                          Comment


                          • #73
                            Matt:

                            It sounds, then, that problems you are experiencing are either a data issue or a problem with Build 578.

                            Regarding the gap logic, I did notice that my button-labelling is backwards (it shows FullGap when it is displaying 1/2 gap and vice versa). I will fix that in next release.

                            The logic itself is simply:

                            Gap = TodaysOpen - YesterdaysClose;

                            This will be a positive number on a gap up and a negative number on a gap down.

                            If full gap is selected I 'add' this number to all pivot calculations. Again, if it is a gap down, I will be adding a negative number which will reduce the values, which as far as I can tell is correct.

                            If 1/2 gap is selected, I simply divide Gap by 2 and do the same thing as above.

                            Chris

                            Comment


                            • #74
                              RE: Reply to post 'New Scripts'

                              I am trying to use the pivot console but i see nothing here... i am =
                              trying
                              on daily and intraday data.
                              It asks to reload but nothing appears ... using 7.3 build 573
                              Thanks

                              -----Mensaje original-----
                              De: [email protected] [mailto:[email protected]]=20
                              Enviado el: Monday, April 21, 2003 12:01 PM
                              Para: [email protected]
                              Asunto: Reply to post 'New Scripts'


                              Hello DBZ,

                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                              Comment


                              • #75
                                DBZ:

                                Open a fresh Advanced Chart, set the symbol to ES #F and set the interval to 5. Then, load the Pivot Console script. If it asks you to reload the script, right-click and select Reload.

                                Let me know what you see on the screen, if anything.

                                Chris

                                Comment

                                Working...
                                X