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

[amibroker] Re: TD Pressure Ratio Indicator



PureBytes Links

Trading Reference Links

I think "up" and "down" should be C - O.  Up would then be positive
(+) differences while "down" would be negative (-) differences.

The rest of your AFL makes sense to me.  How would you incorporate the
above into your AFL?  Is IIF required?

--- In amibroker@xxxxxxxxxxxxxxx, Thomas Ludwig <Thomas.Ludwig@xxx> wrote:
>
> Dave,
> 
> perhaps something like this:
> 
> Days=Param("Days",10,1,50,1);
> 
> up=C>O;
> down=C<O;
> BP=Sum(up*V,Days);
> SP=Sum(down*V,Days);
> 
> PI=100*BP/(BP+SP);
> Plot(PI,"Pressure Indicator", colorRed,styleLine);
> 
> Greetings,
> 
> Thomas
> 
> > In the July issue of Active Trader, Tom DeMark discussed his TD
> > Pressure Ratio indicator.  Has anyone created the AFL for this
> > indicator?  Can you post the code?
> >
> > Here's a description of the indicator:
> >
> > <from AT Mag>
> > Numerator is the sum of all the accumulation (days the close was above
> > the open) over a certain number of days, multiplied by the volume -
> > that is the "Buying Pressure".
> >
> > Note: "Selling Pressure" is the sum of all of the distribution over
> > the same number of days, multiplied by the volume.
> >
> > Denominator is the absolute value of the sum of the Buying Pressure
> > and Selling Pressure.
> >
> > The ratio gives you a measure of the Buying Pressure as a percentage
> > of the total activity.  This ratio (oscillator) should fluctuate from
> > 0 to 100.
> > </from AT Mag>
> >
> > He also discusses creating a cumulative version of the Pressure Ratio,
> > similar to OBV.
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/