%Bands I

%Bands

Pds:= 21; {ENTER EMA LENGTH}
Pct:= 2.5; {ENTER PERCENT BANDWIDTH}
MA:= Mov(C,Pds,E);
TBnd:= MA*(1+Pct/100);
LBnd:= MA*(1-Pct/100);
MA;
TBnd;
LBnd;

%BandsCount

{USE WITH %BANDS FORMULA}

TBnd:= FmlVar(“%Bands”,”TBND”);
IUp:= (H > TBnd) * Ref((H <= TBnd),-1);
CntUp:= IUp + BarsSince(IUp=1) * (H > TBnd);
LBnd:= FmlVar(“%Bands”,”LBND”);
IDn:= (L < LBnd) * Ref((L >= LBnd),-1);
CntDn:= IDn + BarsSince(IDn=1) * (L < LBnd);
CntUp;
-CntDn;

 

%Bands I

Expert Symbols tab.

NAME: %BandUp

FmlVar(“%BandsCount”,”CNTUP”) >= 1

Graphic tab: Dot, Small, Green, Above price plot
Expert Symbols tab.

NAME: %BandDn

FmlVar(“%BandsCount”,”CNTDN”) >= 1

Graphic tab: Dot, Small, Magenta, Below price plot

 


%Bands II

%Bands II

Pds:= Input(“EMA Periods?”,1,1000,21);
Pct:= Input(“Percentage Bands?”,0.1,10,5);
MA:= Mov(C,Pds,E);
TBnd:= MA*(1+Pct/100);
LBnd:= MA*(1-Pct/100);
MA;
TBnd;
LBnd;

%BandsCount II

Pds:= Input(“EMA Periods?”,1,1000,21);
Pct:= Input(“Percentage Bands?”,0.1,10,5);
MA:= Mov(C,Pds,E);
TBnd:= MA*(1+Pct/100);
LBnd:= MA*(1-Pct/100);
IUp:= (H > TBnd) * Ref((H <= TBnd),-1);
CntUp:= IUp + BarsSince(IUp=1) * (H > TBnd);
IDn:= (L < LBnd) * Ref((L >= LBnd),-1);
CntDn:= IDn + BarsSince(IDn=1) * (L < LBnd);
CntUp;
-CntDn;

%Bands II Expert

Symbols tab.

Name: %BandUp

FmlVar(“%BandsCount II”,”CNTUP”) >= 1

Graphic: Dot, Small, Green, Above price plot

Symbols tab.
Name: %BandDn

FmlVar(“%BandsCount II”,”CNTDN”) >= 1

Graphic: Dot, Small, Magenta, Below price plot

 

 


Zig Zag Expert

Zig Zag Expert

TRENDS:

Bullish:

ZZ:= (
Fml( “ZigZag Fixed 3%” ) + Fml( “ZigZag Fixed 5%” ) +
Fml( “ZigZag Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “Zigzag Fixed 15%”) + Fml( “Zigzag Fixed 20%”));
zz > 1

Bearish:

ZZ:= (
Fml( “ZigZag Fixed 3%” ) + Fml( “ZigZag Fixed 5%” ) +
Fml( “ZigZag Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “Zigzag Fixed 15%”) + Fml( “Zigzag Fixed 20%”));
zz < 1

HIGHLIGHTS:

Uptrend1 – Blue:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = 6

Uptrend2 – Green:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = 4

Neutral – Dk Blue:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = 2

Trend Continue – Magenta:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = 0

Downtrend1 – Cyan:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = -2

Downtrend2 – Dk Magenta:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = -4

Downtrend – Red:

Fml( “ZigZig Fixed 3%” ) + Fml( “ZigZig Fixed 5%” ) +
Fml( “ZigZig Fixed 5%” ) + Fml( “ZigZig Fixed 10%”) +
Fml( “ZigZig Fixed 15%”) + Fml( “ZigZig Fixed 20%”) = -6


Trend Trigger Factor Expert by M.H. Pee

Trend Trigger Factor Expert

1. In the Tools menu, select the Expert Advisor
2. Click New to open the expert editor
3. Select the Highlights tab
4. Click New to make a newhighlight
5. Enter the name as: Long
6. Set the color to: Green
7. Enter the following formula for the condition:

x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
ttf>100

8. Click OK to close the highlight editor.
9. Repeat steps 4 through 8 to make the short highlight listed below:

Name: Short
Color: Red
Condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
ttf<-100

10. Select the “Symbols” tab
11. Click New to make a new symbol
12. Enter the name as “Buy”
13. Enter the following formula for the condition:

x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(ttf,100)

14. Select the “Graphics” tab
15. Set the symbol to the up arrow and the color to green
16. Click OK to close the symbol editor
17. Repeat steps 11-16 to make the sell symbol listed below:

Name: Sell
Condition:
x:=15;
bp:=HHV(H,x)-Ref(LLV(L,x),-x);
sp:=Ref(HHV(H,x),-x)-LLV(L,x);
ttf:=((bp-sp)/(0.5*(bp+sp)))*100;
Cross(-100,ttf)
Symbol: Sell Arrow
Color: Red

18. Click OK to close the expert editor.