Hello,
     
    could someone tell me where to put those two 
    lines in CBT low-level mode:
    
    stat = 
    bo.GetPerformanceStats(0); 
 
    
    Maxx_dd = stat.GetValue("Maxsystemdrawdown");
    I guess I´ve tried 
    everything, but max_dd turns out to be always zero when I add it as 
    bo.addcustommetric("Max_DD",max_dd);.
    Thanks
    Markus