TradingBlox can also do MonteCarlo analysis.
At $3k! I bldy hope so!!
LOL thanks.
TradingBlox can also do MonteCarlo analysis.
Finally bought Tradesim enterprise today.
User manual has been printed and will be bound 2mrw.
Should be busy over the next few weeks (and beyond) reading and studying both metastock and tradesim.
Very excited to finally get started! This should set me well on my way to reaching the professional level.
Thanks to all who have contributed to make me see how and why mechanical trading is the ideal way to trade. You know who you are
Im at the office at the mo so dont have Tradesim here.
Here is the way I have it setup just remove my code and replace it with yours.See how that goes.
You dont have to code in the delays.Its in this.
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);
ExtFml( "TradeSim.EnableTradePyramiding", percentprofit,10,3);
Tech, what does the above mean?
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;
Nizar,
Which version of Metastock are you using?
I think it is V9 but confirmation is better.
WARNING! - Trade price modified for trade [AAR] on 05-Dec-1995 caused by Invalid Entry Price Data.
Cause: [EntryPrice(0.095000) is greater than or [Entry Bar High Price(0.09000)].
Action: [EntryPrice(0.095000) constrained to [Entry Bar High Price(0.09000)].
Isnt Tradesim supposed to simulate real trading??
ActualEntryTrigger:=Ref(EntryTrigger,-1);
Not required I dont think,cant test it dont have Tradesim here.
Put {ActualEntryTrigger:=Ref(EntryTrigger,-1);}
around it to cut it out through a test.
Your making the entry a day before the trigger actually occures
Which of course would be nice but impractical.
logic?
ActualExitTrigger:=Ref(ExitTrigger,-1);
Ent:= Cross(H,Ref(HHV(H,10),-1)) AND H>Mov(C,40,E) AND HHVBars(H,70)=0 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);
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.