Announcement

Collapse
No announcement yet.

BB with offset - Alexis Please Help

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BB with offset - Alexis Please Help

    Hi Alexis,

    Would it be possible to do an efs for a Bollinger Bands and also MA envelopes (separate efs) with an offset option? If all the parameters can be changed through the Edit function that would be great. Look forward to your post. Thanks.

    Sesh

  • #2
    BB with offset

    Sorry, Alexis, just after submitting the last post I realized that the envelope study already has the offset option available. It is only the BB that needs one.

    Sesh

    Comment


    • #3
      Sesh
      You can very easily do this with the Formula Wizard by creating a BB of a simple MA where the MA has a length of 1 (IOW it behaves as a proxy for whatever price source you select). Then by offsetting the MA by the desired value you effectively offset the BB by the same amount.
      For a brief guide on how to create studies on studies using the Formula Wizard click here.
      Alex

      Comment


      • #4
        Alexis,

        Thank you so much for helping. Now I see the posibilities with FW.

        Sesh

        Comment


        • #5
          Sesh
          You may also want to check this thread where I have posted a BBof_template.efs which can be adapted for user defined variables.
          Alex

          Comment


          • #6
            Follow Up question

            Alexis,

            Thanks for the BB template. I have another question. Is it possible to do a multiplication/division/addition/subtraction operation on any of the studies/variables chosen in the FW?

            I am trying to create variations of the %b calculation on the BB through the FW. How do I go about doing that? For example, I would like to create an MA of the %b of the BB.

            Also for my information, if I want to create a composite study derived through a mathematical formula using multiple studies using FW how to do that? I eagerly look forward to your guidance. Thanks in advance.

            Sesh

            PS: %b = (close - lower band)/(upper band - lower band)
            Last edited by Seshadri; 03-06-2004, 10:01 PM.

            Comment


            • #7
              Sesh
              Yes it is possible but not with the Formula Wizard.
              In some cases you may be able to use the Formula Wizard to define parts of the study but then you will need to switch to the Editor to code some of the calculations yourself.
              You may also want to download basicBB.efs (available here) which is the bultin Bollinger study with editable parameters. That may help in creating some of the studies you want to do.
              With regards to %B you may want to check the Bollinger folder as I believe that is already available as part of the free Bollinger studies
              Alex

              Comment


              • #8
                User Friendly FW Required

                Thanks Alexis for the prompt reply. I hope eSignal folks will build a much more functional and user-friendly Formula Wizard in their next releases as it would help technically challenged folks like me to build studies that we wish without bothering you and other generous people in this BB. Thank you so much for all your help.

                Sesh

                PS: Does eSignal offer any classes on programming or is it only self study? Ofcourse, if they upgrade FW then it may make it all redundant.
                Last edited by Seshadri; 03-07-2004, 08:33 AM.

                Comment


                • #9
                  Alexis Help Please

                  Alexis,

                  I am sorry to bother you again. I tried my best to do an efs of an MA of %b all day and I was tied in knots. Could you please help? I will use it as a template to do others that I have in mind. Thank you so much.

                  Sesh

                  Comment


                  • #10
                    Sesh
                    By what I have seen of the next generation EFS it would appear that the task of creating studies based on user defined variables will be a lot easier.
                    Irrespective, as I said in my earlier reply some of the studies you want to create now may not be too difficult to do using either the current Formula Wizard or the available builtin studies.
                    As an example attached is the %b you asked for which was programmed by simply modifying the basicBB.efs. Comments on the changes are in the efs. All parameters for the BB can be modified through Edit Studies
                    Alex

                    Attached Files

                    Comment


                    • #11
                      Alexis,

                      The efs you had attached is only the %b which is available in the BB folder. I wanted to get the MA of the %b. The %b is jagged and I was hoping that the MA of the %b would smooth it out. Could you please take a look again and post the revised one. Thanks a bunch.

                      Sesh
                      Last edited by Seshadri; 03-08-2004, 06:20 AM.

                      Comment


                      • #12
                        Sesh
                        Considering that MA(((close-BBlower)/(BBupper-BBlower)),10) is essentially the same as (MA(close,10)-MA(BBlower,10))/(MA(BBupper,10)-MA(BBlower,10)) you should be able to do almost all of this with the Formula Wizard using the Studies on Studies guide I suggested in an earlier message. This is how you would create the studies



                        Then the only thing that would have to be done with the Editor is the equation for the Return statement. Just copy and paste the following

                        PHP Code:
                        return (
                            ( (
                        vSMA10.getValue(MAStudy.MA)-vSMA10_of_vBollinger10_2.getValue(MAStudy.MA))/
                              (
                        vSMA10_of_vBollinger10.getValue(MAStudy.MA)-vSMA10_of_vBollinger10_2.getValue(MAStudy.MA)) )
                            ); 
                        This will show up in the Formula Wizard as follows



                        The other method which is more complicated is to create an array of PercentB to store the historical values on which to calculate the MA.
                        I would suggest you try the first method and if you can't get the desired result post what you have done and I will be available to provide you with the necessary assistance
                        Alex

                        Comment


                        • #13
                          Alexis,

                          I regret having asked you for help. If I knew how to do this I would not have asked you in the first place. It is interesting that while you help other people with simple code for coloring lines etc on the first post, you have chosen to string me along for this. I shall wait for the improved FW to do this or for another kindly soul out there willing to help a non-techie with a simple request.

                          Sesh

                          Comment


                          • #14
                            Sesh,

                            FWIW, If you look at his posts today it is obvious that he has been out much of the day. He is not a paid employee of eSignal and does this all on his own time when he is available. Further if you post your code as he requested, other people would help. BTW, this is not a simple request.

                            Comment


                            • #15
                              Sesh
                              With all due respect you seem to be very quick at criticizing other people even when your criticisms are unjustified (see also this thread for another example).
                              As to your request I actually did spend a lot of time coding the indicator in more than one way prior to making any suggestions. This so that I could be in a better position to help you in improving your ability to do things by yourself whichever solution you decided to adopt. Although you incorrectly interpreted that as "stringing you along" I actually spent more time on your issue than on adding colors to someone else's lines.
                              Irrespective, it seems that you are unwilling or uninterested to give it a try so attached you can find the efs that plots the MA of PercentB. FYI this same study can be easily put together with the current Formula Wizard by implementing the solution I posted earlier.
                              Alex
                              Attached Files

                              Comment

                              Working...
                              X