Quote:
|
Originally Posted by firedave
Hi codersguru, just a small question. How do you define the MagicNumber variable on your function ? I mean is it some kind of global variable definition ? Thank you in advance 
|
hi firedave,
I define it on the top of the expert code (before the main functions start() , init() and dinint() :
PHP Code:
//--- Global variables
int MagicNumber = 101090;
string ExpertComment = "PriceCross";
to make it in the global scope and the every line in the expert code can use it.
When the contest starts the code will be availabe! I'm sorry for that!