Australian (ASX) Stock Market Forum

Reply to thread

As posted by tech/a on the "TradeSim" thread on this board a few weeks ago.


TechTrader

Ent:= Cross(H,Ref(HHV(H,10),-1)) AND H>Mov(C,40,E) AND HHVBars(H,70)=0

AND Fml("Liquidity")>500000 AND C>O AND C<10.00;

Ent;


EntryTrigger:=Ent;


EntryPrice:=OPEN;

ExitTrigger:= Cross(Ref(Mov(L,180,E),-1),C);


ExitPrice:=OPEN;


InitialStop:=If(Ref(C,-1)>0.90*EntryPrice,0.90*EntryPrice,Ref(C,-1));

ExtFml( "Tradesim.Initialize") ;


ExtFml( "Tradesim.EnableDelayOfEntryByOneBar") ;

ExtFml( "TradeSim.EnableTradePyramiding", percentprofit,10,3);


ExtFml( "TradeSim.SetReturnInfoType", AllTriggers);


ExtFml("Tradesim.EnableDelayOfAllExitsByOneBar");

ExtFml( "Tradesim.EnableProtectiveStop",1) ;


ExtFml("Tradesim.SetStartRecordDate",1,09,1998);

ExtFml("Tradesim.SetStopRecordDate",19,05,2006);



ExtFml( "TradeSim.RecordTrades",

"TT Master",

LONG,

EntryTrigger,

EntryPrice,

InitialStop,

ExitTrigger,

ExitPrice,

START);


Top