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

Re: [amibroker] Constructing a Range Bound Indicator



PureBytes Links

Trading Reference Links

I once mentioned on this board that I would like to have a rangebound CCI . I am not sure who it was that responded, but I think is was Market Monk777.

Market Monk is apparently a mathmatician, and he sent me this one below for CCI.

I like it MUCH BETTER than regular CCI.

I viewed charts comparing Regular CCI to this Rangebound CCI, and I was amazed that the PLOT LINES produced by the Rangebound CCI are very

unlikely to be so close together that you cannot tell one timeframe from another. Their separation was more easily visually detectible than it was with the regular CCI

I should add that my custom indicators involve a lot of timeframes that are looking for a consensus of the action for the last 200 or so days.

I substituted many different AFLs in this RANGE_LIMITING math equation for CCI, but I found that CCI worked the best for my purposes.

BTW, this one ranges from zero to 50. Ron D

periods=Param("Periods",14,2,200,1);

scaleCCI=StDev(CCI(periods),3* periods); //scale CCI swing

rbCCI=0.5*(1+tanh(CCI(periods)/scaleCCI));

rbCCI=50*rbCCI; //CCIboundto[0,100]

rbi=rbCCI;

==================================================================
 
 
----- Original Message -----
Sent: Monday, November 05, 2007 9:50 PM
Subject: [amibroker] Constructing a Range Bound Indicator

I have an indicator that is built using add to composite that normally
plots between 0 and 1. However, occasionally it will go negative or
over 1. How can I adjust my composite so that as it is being built it
will not go below 0 or above 100. I don't want to limit the individual
negative values but only if the composite goes negative or over 1.
Does that make sense?

Thanks
DM

__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___