PureBytes Links
Trading Reference Links
|
For any average AV, the general idea of Price Oscillator is
100*(AVfast-AVslow)/AVslow.
For various averages you may use
OscP_MA=100*(MAfast-MAslow)/MAslow
OscP_EMA=100*(EMAfast-EMAslow)/EMAslow//the built-in OscP(n1,n2)
OscP_DEMA=100*(DEMAfast-DEMAslow)/DEMAslow
using the already available MA, EMA, DEMA functions.
For T3 you may define the respective Oscillator.
//The T3 Price Oscillator
function T3(price,periods,s)
{
e1=EMA(price,periods);
e2=EMA(e1,Periods);
e3=EMA(e2,Periods);
e4=EMA(e3,Periods);
e5=EMA(e4,Periods);
e6=EMA(e5,Periods);
c1=-s^3;
c2=3*s^2*(1+s);
c3=-3*s*(1+s)^2;
c4=(1+s)^3;
Ti3=c1*e6+c2*e5+c3*e4+c4*e3;
return ti3;
}
price=C;
s=0.8;
n1=3;n2=5;
T3fast=t3(price,n1,s);
T3slow=t3(price,n2,s);
OscPT3=100*(T3fast-T3slow)/T3slow;
Plot(OscPT3,"OscPT3",colorBlack,1);
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "bruiserbbq" <bruiserbbq@xxxx>
wrote:
> Thanks Dimitris, but it's not quite what I'm after. Please let me
> explain. I'm trying to set up AB for my Day Trading system on the
> ASX. My very basic system is using a tick chart...usually 5 - 50
> ticks as candles and a 3 & 5 EMA as my entry & exit points.
>
> What I'm trying to do now is use the T3 as the moving averages. I
> have set one T3 x 3 ema and a T3 x 5 ema and buy & sell the cross
> over. So what I'm looking for is an oscillator that will tell me by
> % the difference in the distance between the 2 T3'3 to try and
> prevent whipshaws with the 2 T3's. The idea here is once the %
> between the 2 T3's gets to a certain percentage it will tell me its
> not a false breakout.....gives me some way to tell if the price
> action is just consolidation or if its a genuine move.
>
> I hope this makes sense.
>
> Bruiser
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|