Here is an example :
After extern parameters, add :
Before start(){, add :Code:extern bool Comments=true;//|--------------------allow comments on chart
After start(){, add :Code:int init() { if(Comments)Comment("\nLoading..."); return(0); } //|---------deinitialization int deinit() { return(0); }
Code:if(Comments) { Comment("\nCopyright © 2009, TradingSytemForex", "\n\nL o t s = " + DoubleToStr(Lots,2), "\nB a l a n c e = " + DoubleToStr(AccountBalance(),2), "\nE q u i t y = " + DoubleToStr(AccountEquity(),2)); }



Reply With Quote

