[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Anyone for a Demand Index?



PureBytes Links

Trading Reference Links

John:

You are right, I had to be a bid creative (I borrowed this code as well) on 
just what to use since I did not have the exact functions for BuyP and SellP.

Maybe you can follow-up with that code when you get it.

Never-the-less, it is very close. Did you check out the gif that I sent?

Thanks

Steve

At 12:38 PM 5/13/01 +0100, you wrote:
Steve,

The Demand Index formula I posted to metastockusers@xxxxxxxxxxxxxxx uses the
Metastock builtin functions Buyb() and Sellp() for Buying Pressue (BP) and
Selling Pressure (SP) respectively and it produces an identical plot to the
Metastock builtin Demand Index function (which I would assume is correct as
per J.Sibbet).

Not wishing to be too picky but I should point out for correctness sake that
the BP and SP calculations in your AFL will not return exactly the same
values as MS Buyp() and Sellp() functions. The AFL DI plot therefore , while
extremely similar, will not be identical to Sibett's Demand Index (this
shows up most at extreme values).

If you are monitoring "metastockusers" list I am currently awaiting reply
from Equis on details of Demand Index calculation which should explain the
Sibbet calculation of Buyp() and
Sellp() and will post back on receipt.

John