Is there a description about how to use stopModeRisk? What's wrong 
with the following exit? The results don't change if I optimise it. 
It always gives me the same result whatever ProfitTarget I use. Why 
is that?

ProfitTarget=Optimize( "ProfitTarget", 3, 5, 20, 
1 );                        
SetOption("AllowSameBarExit",1);                               
SetOption( "CommissionMode", 1 );                             
SetOption( "CommissionAmount", 0.15 );                             
SetOption( "InitialEquity", InitEq);                           
SetOption( "PriceBoundChecking", 1);             
SetOption( "ActivateStopsImmediately", 
1);                                                      
SetTradeDelays( 1, 1, 1, 1 );    

Sell=0;  
ApplyStop(stopTypeTrailing,stopModeRisk,ProfitTarget,ExitAtStop = 
2,Volatile = True, ReentryDelay = 1 );  
SellPrice=O;   

Thanks,
zozu

Reply via email to