public static void WinLossBackground(this WealthScript obj, int mode)public void WinLossBackground( int mode )
// after the main (trading) loopthis.WinLossBackground(1);