Announcement

Collapse
No announcement yet.

Question on ( Fractals )

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

  • #31
    Hi Jason,

    The system consists of the Alligator, Fractals, AO, AC and Squat Bars. You will want to read the thread about how to set up the Alligator. It is located under New Study Suggestions under the thread BW Smoothed Moving Averages.

    Nicholle

    Comment


    • #32
      Alex,

      Thanks!

      G
      Garth

      Comment


      • #33
        Nicholle,

        I coded them from scratch, and finished them maybe two or three months before TSSUPPORT posted their codes...

        I have never gone to the effort of verifying against tssupport code since I verified these against the demo on their site.

        I will post up my stuff later today and we can compare.

        Garth
        Garth

        Comment


        • #34
          Thanks Garth, sounds good!

          Nicholle

          Comment


          • #35
            Jason,

            Sure, but as I said between your fractal stuff and TSSUPORT's code you have most of it (but it would be interesting to see if we all have the same results).

            The one I'm most interested in is the fractals, as I'm less sure of my code there...only a few data points to compare to on the demo.

            All my stuff if fairly old, when there was only drawlinexxx() and no builtins - so I know our code will look different.

            I'll have to dig up what I have, I'll post it later today.

            Garth
            Garth

            Comment


            • #36
              Hi Nicholle,

              So, Kryza's SmoothedMA.efs is the same as the Alligator?

              Garth, looking forward to seeing your formulas.

              Here's an idea. Not knowing anything about the specifics of the complete trading system, I'm curious to know if it we should theoretically be able to tie these formulas together to generate specific trading signals on a chart. Has anybody tried? Thoughts?
              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


              • #37
                Yes,

                The SmoothedMA.efs is what is used to create the Alligator. The Alligator consists of three lines: The Jaw is a 13-bar smoothed moving average offset 8 bars into the future colored blue, the Teeth Line is an 8-bar smoothed moving average offset 5 bars into the future colored red, and the Lip Line is a 5-bar smoothed moving average offset 3 bars into the future colored lime green.

                The trading system as a whole is five dimensional and generates several types of signals. You have the fractal signals, (the first dimension) the AO indicator generates three different buy and three different sell signals, (the second dimension) the AC indicator generates three different buy and sell signals, (the third dimension) The fourth dimension produces a signal called a zone add on which is determined by the color of the price bars, and the fifth dimension is called a balance line signal and uses the blue Jaw line of the Alligator. Bill Williams trading software, Investors Dream generates all of the signals, as does CQG, Metastock and TradeStation. You can pay extra with those charting packages to have the indicators and the trade signals. Not knowing how to program, the task seems overwhelming, so I was just going to settle for having all the indicators. It would be great, however, to have all of the signals generated by the computer, and I would definately provide all the info from the book and help out in any way to get all the signals programmed in.

                Also, in addition to all the signals, there are three different ways to trail a stop loss, and it would be nice to somehow have them programmed in too.

                Nicholle
                Last edited by Nicholle; 10-07-2003, 01:07 PM.

                Comment


                • #38
                  1st of 3.

                  Attached is my version of Bill Williams Acceleration.
                  Attached Files
                  Garth

                  Comment


                  • #39
                    2 of 3

                    This is my version of Bill Williams Momentum

                    G
                    Attached Files
                    Garth

                    Comment


                    • #40
                      3 of 3

                      This is the fractal study.

                      G
                      Attached Files
                      Garth

                      Comment


                      • #41
                        Never did the 3 MA's study (didn't have builtins then), but instead I just used the basic MA study with the correct values....

                        G
                        Garth

                        Comment


                        • #42
                          Hi Jason,

                          I have decided that the spacing between the bars and the arrows is too large. Is line 73 the line that designates the spacing between the arrows and the bars? By changing the 8 to a different number will that change the spacing? Also, is that the only line that needs to be changed? I just want to make sure so that I do not mess anything up. Thanks for your help.

                          Nicholle
                          Attached Files

                          Comment


                          • #43
                            Hello Nicholle,

                            The values for x are what you will want to change for intra-day intervals. Lines 55 - 79 are used to determine what the value for nSpace will be, which is based on the interval of your chart.

                            PHP Code:
                                if (nSpace == null) {
                                    var 
                            sumH 0;
                                    var 
                            sumL 0;
                                    var 
                            0.8;
                                    var 
                            nI getInterval();
                                    var 
                            0;
                                    for (
                            08; ++i) {
                                        
                            sumH += aHigh[i];
                                        
                            sumL += aLow[i];
                                    }
                                    if (
                            nI && nI <= 5) {
                                        
                            0.6;
                                    } else if (
                            nI && nI <= 15) {
                                        
                            0.4;
                                    } else if (
                            nI 15) {
                                        
                            0.2;
                                    }
                                    if ((
                            sumH/8-sumL/8) != && isDWM() == false) {
                                        
                            nSpace x*(sumH/8-sumL/8);
                                    } else {
                                        var 
                            close();
                                        if (
                            200nSpace .01*c;
                                        if (
                            <= 200nSpace .005*c;
                                    }
                                } 
                            nI is set to the value of your charts interval. x is set to 0.8 by default. If the interval is less than 1 min nSpace is set to 0.8*average range of the first 8 bars in the chart. If the interval is between 1 and 5 min x is set to 0.6. If the interval is between 5 and 15 min, x is set to 0.4. If the interval is greater than 15 min, x is set to 0.2. If the interval is D, W or M and the price is above 200, then nSpace is set to 0.01*Close. If the interval is D, W or M and the price is below 200, then nSpace is set to 0.005*Close.

                            Depending on the interval and symbols used on the study you may need to tweak the logic for the various interval ranges. So, lines 58, 66, 68, 70, 76 and 77 are what you will need to modify.
                            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


                            • #44
                              Thank you!

                              Comment


                              • #45
                                BW Alligator

                                I've been reading both books of Bill Williams. I also tried to implement the indicators. So I also checked what was posted. I tested it but I think the alligator is almost there but not right. I have especially difficulties with the bleu balance line. When I compare the indicator posted on these discussions with the one provided by Metastock RT it does not match. Also the red and green line are off but not so much as the bleu line.
                                The alligator is the filter so it is most improtartant to get it right. I'm new in programming with the efs editor so I don't have a solution yet. This is because I just recently moved from MT rt.

                                I hope this will help you in the mean time I'll try and see if I can reprogram some of the indicators provided by this discission threat. I first have to learn the efs language.

                                Sincerely,

                                Jelle Klaas

                                Comment

                                Working...
                                X