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 #

Anti Trigger by L. B. Raschke
ANTI TRIGGER - L.B. Raschke (For MetaStock v6.5)

Original formula based on L.B. Raschke's "Street Smarts" book's Quick Indicator Articles. Re-written by Ton Maas.
==============================================
{FUNCTIONS-IND-REFERENCE-INDEX:
FF=FASTLINE,SS=SLOWLINE,SETBARS=3DAYMOVAVE,
{FUNCTIONS-VAR-REFERENCE-INDEX:
LXSTOP(VAR),SXSTOP(99999),MP(VAR)}
{FUNCTIONS-MISC-REFERENCE-INDEX:
AT0SSELL =BEARSHORT
AT0CSELL =CLOSEBEARSHORT
AT0MP =MARKETPOSITION (-1=LONG,+1 SHORT)
AT0LXSTOP=CLOSELONGEXITLEVEL(STOPLOSS)
AT0SXSTOP=CLOSESHORTEXITLEVEL(STOPLOSS)}

Anti Trigger

{THE FORMULA (+REQUIRED FUNCTIONS) FOR THE ANTI TRIGGER INDICATOR}
AT0SETBARS:=3;
AT0FF:=Stoch(7,AT0SETBARS);
AT0SS:=Mov(Stoch(7,AT0SETBARS),10,E);
AT0CSELL:={use in expadv or systest}{for RTdel the REF-function}
If(AT0FF>Ref(AT0FF,-1) AND AT0SS<Ref(AT0SS,-1),C+1,0);
If(AT0FF<Ref(AT0FF,-1) AND AT0SS>Ref(AT0SS,-1),C+1,0);
AT0SSELL:={use in expadv or systest}{for RTdel the REF-function}
{AT0LXSTOP:=}{use in expadv or systest}{forRT del the REF-function}
{AT0SXSTOP:=}{use in expadv or systest}{forRT del the REF-function}
{IF(REF(AT0MP,-1)>-1 OR (REF(AT0SSELL,-1)>0AND
AT0MP

Source / From: TOP