Announcement

Collapse
No announcement yet.

Help Developing a Script

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

  • Help Developing a Script

    Hello all,

    I have been using an efs compiled by Garth Doverspike called the Demand Index and I can't begin to tell you how its helped me make money and protect profits - and I still consider myself a novice.

    Well, there is a counterpart to the demand index called the Demand Oscillator. It is thought by some guy called Thomas Aspray that the Demand Oscillator makes signals from the demand index easier to interpret and identifies false index signals. I was wondering if someone would help compile the index if I provide the information required to write the script.

    So, the information is as follows:

    To plot the Demand Oscillator, first calculate Buying Pressure (BP) and
    Selling Pressure (SP):
    If prices rise:
    BP = Volume
    SP = Volume + % change in price
    If prices decline:
    BP = Volume + % change in price
    SP = Volume
    Because the percentage change is a decimal, make it greater than one by multiplying it by the constant, K:

    K = (3C)/Va
    where C is the closing price and Va is the volatility average, which is the 10-day moving average of a two-day price range (highest high minus lowest low).

    Plotting BP and SP as a histogram gives you the Demand Oscillator. When the BP moves above the SP this is a positive (buy) signal and indicates that the Demand Index is above -1.
    Negative (sell) signals are generated when SP moves above BP and the histogram drops below the zero line.

    He then goes on to say:

    Though the Demand Oscillator generally gives good clean signals, it often lags somewhat, especially on weekly data, where it often generates signals which stay in force four to six months. Though it is quitegood on the buy side, it is often late on the sell side.
    To help offset this, I developed the Demand Oscillator Momentum (DOM) and found, preliminarily, that the 5- and 10-period mometums seem to work the best. As with most indicators I use, DOM gives signals in several ways:

    1. Long-term signals are generated when DOM moves above or below the zero line.

    2. The long-term signal is often preceded by the breaking of an up or downtrend in the DOM.

    3. Positive or negative divergences between the DOM and price identify bottom and tops.
    Figures 1 through 6 illustrate how the oscillator and DOM signals come through in weekly and daily data.


    However, I don't have the information to compile the DOM.

    So, if someone could help me a would be truly appreciative.

    Cheers

    Carlton

    P.S. I have attached a copy of the Garth's original demand index.
    Attached Files

  • #2
    Just to set the record straight, all I did was tweak and EFS and fix some bugs in an EFS that was written by TS Support. The original work is theirs.

    BTW, I'm glad you are making money using this ;-)

    Garth
    Garth

    Comment


    • #3
      Hi,

      If no one is able to help me compile the requested script, I wonder if anyone knows if there is an existing script similar to the one I have asked for help with.

      Cheers

      Carlton

      Comment


      • #4
        Hi all,

        I just thought I would re-post this thread in the hope that someone may offer some assistance in compiling the script.

        Cheers

        Carlton

        Comment


        • #5
          This strategy sounds interesting.

          Can it be applied to all shares?

          Thanks.

          Comment


          • #6
            I took a stab at Aspray's Demand Oscillator and you can find it in my FileShare area here:

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

            Not at all sure that it is an exact match to what Aspray described but hopefully it is at least close.

            Chris

            Comment


            • #7
              Hi Chris,

              Thanks a lot mate for having a go at the efs. I'm gong to check it out over the next few days.

              Cheers.

              Carlton

              Comment

              Working...
              X