Aurix Exchange

How To Add Magic Number Code

After the "comment" into each OrderSend function :



You replace the value 0 by this :

Code:

Magic

Then search this line :
Code:

OrderSymbol()==Symbol()

In-line after and for each occuration, you add that :

Code:

&& OrderMagicNumber()==Magic

Finally after the extern parameters, you add this :

Code:

extern int Magic=2009;
 

Aurix Exchange
Top