MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 A B C D E F G H I J K L M N O P R S T U V W Y Z #

Trend Trigger Factor Expert by M.H. Pee

M.H. Pee's article in this issue, "Trend Trigger Factor" introduces an indicator
of the same name. Here, we present the formula for this expert advisor and the steps to include it in MetaStock.

Trend Trigger Factor Expert

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.

--William Golson
Equis International
Source / From: TOP