Announcement

Collapse
No announcement yet.

SimCon

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

  • #31
    If you go to File, Save Entire Window as Image, you can then save the whole layout as a .png file and upload that.

    Hi Dave,

    Don't know what .pg is. I think it should have been ach. I was trying at the time to save a picture of a workspace but it appears you can not do that, only one chart at a time. It did not have anything new in it so no need to try again. Just wanted to post something on SI but no big deal.
    Edited by - Phoenix on 10/20/2002 17:23:24

    Comment


    • #32
      [quote]
      Hi, boots!

      > I use this indicator as an overbought/oversold indicator on the NDX daily chart,<

      That is great! I have never seen it used for that purpose but it sure looks like it does a pretty good job. What settings are you using for the chart you show?

      Thanks for reminding me about how to save a workspace picture. I was trying to use the eCentral buttons and had a narrow focus I guess..............duh.

      Glad you stopped by.

      Edited by - boots on 10/21/2002 05:29:10

      Edited by - boots on 10/21/2002 05:32:20

      Comment


      • #33
        boots, the bootsbox is a very interesting indicator, both because of its actual ability to give entries and exits but also as an example of how to translate visual information into clear cut signals.

        However, I don't understand part of the bootbox logic. Maybe its because I don't yet understand Java script.

        [quote]
        #5 The next indicator goes green if the high is higher than the highest high of the last 6 bars and the 17 SMA is moving up. Red if the low is lower than the lowest low in the last 6 bars and the 17 SMA is falling.
        [end quote] Above is listed as "Trend" in the efs code.

        I understand that for a Green bar the Trend=1 and MA>MA_1 and vice versa for a red bar. I also understand how you get a white bar.

        What I don't understand is the Trend logic. It appears that there is more to it that just the "high is higher than the highest high of the last 6 bars". The Trend stays a one even when that is no longer true. Either there is more to the logic or the code forms a binary latch which once set to a "1" does not reset to Zero until there is one low which is lower than the lowest low of the last 6 bars.

        Can you explain this part of the logic/code?

        Thanks.



        Comment


        • #34
          Welcome to the thread Bigtee.

          As for your question I think you are talking about a slight twist in the HH/LL logic. The HH/LL channel must be broken in a certain way for the puncture to count. For the indicator to change from say red to green, the upper channel line must be flat or moving up. A puncture of the upper line as it is coming down or falling does not count. Opposite is also true.

          So if the upper line is punctured while falling it must be punctured again on the following bar (or with in the next N bars) for the indicator to register the change. My testing has shown the punctures this logic eliminates are unreliable.

          Once the TREND is changed it stays that way until the requirements are met to change the trend in the opposite direction.

          Does that clear things up for you?

          Edited by - boots on 10/21/2002 12:36:39

          Edited by - boots on 10/21/2002 12:38:00

          Comment


          • #35
            Does that clear things up for you?

            yes, thanks boots. This makes good sense.


            Comment


            • #36
              [quote]
              That is great! I have never seen it used for that purpose but it sure looks like it does a pretty good job. What settings are you using for the chart you show?
              [quote]

              I was using 5 and 8, but the BTTT settings are 5ema / 8sma, so in my Excel version, that is what I am using. I just modified your Diffogram settings to 5 and 8 smas - pretty much does the same thing.

              Phoenix

              Comment


              • #37
                phoenix,

                So you actually downloaded my Diffogram and are using it?

                Thats great! Makes me feel good to know somebody is actually using something I posted here.

                Thanks

                boots

                Comment


                • #38
                  phoenix,

                  So you actually downloaded my Diffogram and are using it?

                  Thats great! Makes me feel good to know somebody is actually using something I posted here.

                  Thanks

                  boots
                  If it makes you feel any better, I am learning how to program this efs thing based on your studies. Hopefully I'll have something worth sharing soon.

                  Comment


                  • #39
                    Great Dave!

                    Would love to have you sharing some of your stuff.

                    BTW........I am REAL bad at Java and don't seem to be progressing very fast..........hehe. And I think the book I bought is about the wrong stuff. Anyway, I am slowly wading through it. I know enough to see that the possibilities of this are amazing and that is exciting.

                    Comment


                    • #40
                      Bad at Java? ha. remember learning TS2k? I haven't bought a book, but there are enuf examples around to cobble together some stuf. Reload the study enuf times and eventually the odds are it will work. hehe.

                      Comment


                      • #41
                        This mimics Boots 1st study with a lot less steps...


                        var study20 = new MAStudy(20, 0, "Close", MAStudy.SIMPLE);
                        var study50 = new MAStudy(50, 0, "Close", MAStudy.SIMPLE);

                        function preMain(){
                        setStudyTitle("20x50SMA");
                        setCursorLabelName("20x50SMA", 0);
                        setDefaultBarThickness(4,0);
                        setPlotType(PLOTTYPE_HISTOGRAM);

                        var ma20now = 0;
                        var ma50now = 0;
                        var ma20then = 0;
                        var ma50then = 0;
                        }

                        function main(){

                        ma20now=study20.getValue(MAStudy.MA);
                        ma50now=study50.getValue(MAStudy.MA);

                        ma20then=study20.getValue(MAStudy.MA,-1);
                        ma50then=study50.getValue(MAStudy.MA,-1);

                        if(ma20now-ma50now<ma20then-ma50then){
                        setDefaultBarFgColor(Color.red, 0);}

                        if(ma20now-ma50now>ma20then-ma50then){
                        setDefaultBarFgColor(Color.lime, 0);}

                        return (ma20now-ma50now);}

                        Comment


                        • #42
                          Thanks Dave!

                          Much better than mine. I think mine was an adaption of some other efs. that was already in the standard list. I just goofed with it until it worked. Did not know what to do with all the other extra stuff.

                          Thanks for cleaning it up

                          Comment


                          • #43
                            boots,

                            i like the red/green color function in your diffogram. is there a way to do that (red/green bars in histograms) with built-in studies or does it just work with studies you've built yourself.

                            mark

                            Comment


                            • #44
                              Hi underdog,

                              Glad to see you drop by. The color bars or histograms are something I added to the studies so they are custom but the histogram function I used is part of the esignal word base so it is easy to add to a study.

                              You can down load the code over in the file share section under the same name, SimCon and see how it was added in. Or ask Dave how to do it. He is the new resident expert............hehe.

                              Comment


                              • #45
                                hi boots,

                                have you done any backtesting on these? any thoughts on automated trading?

                                mark

                                Comment

                                Working...
                                X