SAM TEST / Publications
Forum
declaration of 'result' hides global variable
Hi, I have this kind of "error", someone can tell me why they are telling me does the "result" declaration hide the global variable? double getTrailingStop( int per, datetime openTime, bool isLong, string sym = "" ) { if ( sym == "" ) { sym = Symbol (); } // this function will return the trailing