Guigo - / Publications
Forum
6 errors on a Expert Advisor, what's wrong with this code?
#include <Trade/Trade.mqh> input double Lots = 0.01 ; input double LotFactor = 2 ; input int TpPoints = 100 ; input int SlPoints = 100 ; input int Magic = 111 ; CTrade trade; bool isTradeAllowed = true ; int OnInit (){ trade.SetExpertMagicNumber(Magic); return ( INIT_SUCCEEDED ); } void