hardmoney said:cond2=ADX(14) < 25; // ADX (period = 14) > 25
Not sure that this line is correct ??,should it read
cond2=ADX(14)>25;
Rgds,
HM
Ent:= ADX(14) < 25 AND C > Ref(HHV(C,15),-1) AND Mov(V * C, 21, S) > 400000 AND C < 5.00 AND C > O
AND (Mov(C,10,E) > Mov(C,20,E) > Mov(C,50,E)> Mov(C,200,E))
EntryTrigger:=Ent;
EntryPrice:=OPEN;
ExitTrigger:= Cross(Ref(Mov(L,180,E),-1),C);
ExitPrice:=OPEN;
InitialStop:=0;
ExtFml( "Tradesim.EnableDelayOfEntryByOneBar") ;
ExtFml( "TradeSim.EnableTradePyramiding", percentprofit,10,3);
ExtFml( "TradeSim.SetReturnInfoType", AllTriggers);
ExtFml("Tradesim.EnableDelayOfAllExitsByOneBar");
ExtFml( "Tradesim.EnableProtectiveStop",1) ;
ExtFml("Tradesim.SetStartRecordDate",1,01,1992);
ExtFml("Tradesim.SetStopRecordDate",30,06,2002);
ExtFml( "TradeSim.RecordTrades",
"Lesm Version 1",
LONG,
EntryTrigger,
EntryPrice,
InitialStop,
ExitTrigger,
ExitPrice,
START);
Ent:= ADX(14) < 25 AND C > Ref(HHV(C,15),-1) AND Mov(V * C, 21, S) > 400000 AND C < 5.00 AND C > O
AND (Mov(C,10,E) > Mov(C,20,E) > Mov(C,50,E)> Mov(C,200,E)); {1}
EntryTrigger:=Ref(Ent,-1); {2}
EntryPrice:=OPEN;
ExitTrigger:= Cross(Ref(Mov(L,180,E),-1),C);
ExitPrice:=OPEN;
InitialStop:=0;
ExtFml("TradeSim.Initialize"); {3}
{ExtFml( "Tradesim.EnableDelayOfEntryByOneBar") ;} {4}
ExtFml( "TradeSim.EnableTradePyramiding", percentprofit,10,3);
ExtFml( "TradeSim.SetReturnInfoType", AllTriggers);
ExtFml("Tradesim.EnableDelayOfAllExitsByOneBar");
ExtFml( "Tradesim.EnableProtectiveStop",1) ;
ExtFml("Tradesim.SetStartRecordDate",1,01,1992);
ExtFml("Tradesim.SetStopRecordDate",30,06,2002);
ExtFml( "TradeSim.RecordTrades",
"Lesm Version 1",
LONG,
EntryTrigger,
EntryPrice,
InitialStop,
ExitTrigger,
ExitPrice,
START);
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?