Rank: Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/13/2010(UTC) Posts: 24
Thanks: 1 times
|
The following are my formulas to recreate ACTIVATOR MONTHLY in a daily chart:you display a m.a of lows and of highs of 3 months before.
The final formula is named ACTIVATOR MONTHLY.
MONTHLY HIGH
Dw:=If( DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wh1:=If(Dw=1,Ref(HighestSince(1,Dw=1,H),-1),0);
Wh:=ValueWhen(1,Wh1>0,Wh1);
Wh;
MONTHLY HIGH-1
Dw:=If( DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wh1:=If(Dw=1,Ref(HighestSince(1,Dw=1,H),-1),0);
Wh:=ValueWhen(2,Wh1>0,Wh1);
Wh;
MONTHLY HIGH-2
Dw:=If( DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wh1:=If(Dw=1,Ref(HighestSince(1,Dw=1,H),-1),0);
Wh:=ValueWhen(3,Wh1>0,Wh1);
Wh;
MONTHLY MOV HIGH
(Fml("MONTHLY HIGH")+Fml("MONTHLY HIGH-1")+Fml("MONTHLY HIGH-2"))/3
MONTHLY LOW
Dw:=If(DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wl1:=If(Dw=1,Ref(LowestSince(1,Dw=1,L),-1),0);
Wl:=ValueWhen(1,Wl1>0,Wl1);
Wl;
MONTHLY LOW-1
Dw:=If(DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wl1:=If(Dw=1,Ref(LowestSince(1,Dw=1,L),-1),0);
Wl:=ValueWhen(2,Wl1>0,Wl1);
Wl;
MONTHLY LOW-2
Dw:=If(DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);
Wl1:=If(Dw=1,Ref(LowestSince(1,Dw=1,L),-1),0);
Wl:=ValueWhen(3,Wl1>0,Wl1);
Wl;
MONTHLY MOV LOW
(Fml( "MONTHLY LOW")+Fml( "MONTHLY LOW-1")+Fml( "MONTHLY LOW-2"))/3
ACTIVATOR MONTHLY
Dw:=If(DayOfMonth()<=Ref(DayOfMonth(),-1) AND Ref(C,-1)<ref(Fml("MONTHLY MOV LOW"),-1),1,0);
Wl1:=If(Dw=1,LowestSince(1,Dw=1,Fml("MONTHLY MOV HIGH")),0);
Dw:=If(DayOfMonth()<=Ref(DayOfMonth(),-1) AND Ref(C,-1)>Ref(Fml("MONTHLY MOV HIGH"),-1),1,0);
Wh1:=If(Dw=1,{then}HighestSince(1,Dw=1,Fml("MONTHLY MOV LOW") ),0);
HLd:=If(DayOfMonth()<=Ref(DayOfMonth(),-1) AND Ref(C,-1)>Ref(Fml("MONTHLY MOV HIGH"),-1),1,
{else}If(DayOfMonth()<=Ref(DayOfMonth(),-1) AND Ref(C,-1)<ref(Fml("MONTHLY MOV LOW"),-1),{then}-1,{else}0));
HLv:=ValueWhen(1,HLd0,HLd);
HiLo:=If(HLv=-1,
{then}Fml("MONTHLY MOV HIGH"),
{else}Fml("MONTHLY MOV LOW"));
HiLo;
Well,Activator monthly gives supports or resistances...but the best indications will be the first resistance after the first impulse of a downtrend and the first support after the first impulse of an uptrend...
I wish I could to plot Activator on a minute chart of the 3 hours before.
Thank's in advance
|