Basic check-up of Experts for MQL4 – EA MetaTrader 4

Basic check-up of Experts for MQL4 - expert for MetaTrader 4
List of controls who performed in this function: have you any symbol in MarketWatch? The permission to trade for the given executed program. The Permission to trade for the Terminal. Are transactions Allowed for the account at the trade server side for expert? Are transactions Allowed for the account at the trade server side for for the current account ? … Read more

Basic List – library MetaTrader 5

Basic List - library for MetaTrader 5
/**************************************************************** BasicList The List class template provides a basic container for storing an ordered list of basic data type objects. For convenience, List also provides synonyms for stack operations, which make code that uses List for stacks more explicit without defining another class. /**/ template<typename T>class BasicList   { public:    //construction, destruction, initialization, and assignment … Read more

MT4 EA Template with all the basic features – EA MetaTrader 4

MT4 EA Template with all the basic features - expert for MetaTrader 4
The buy and sell conditions go as ‘bool’ value parameters in the Direction function, as you can see in the default example.    int signalConditions=3;    DashKeys[openCloseConditionIdx+1-1]=”BB Status”;    DashValues[openCloseConditionIdx+1-1]=Direction(ok(bbGreen) && bbGreen!=-1,ok(bbRed) && bbRed!=-1,canBuy,canSell, ” at “+TimeToStr(Time[masterCandleIdx]), ” at “+Time[masterCandleIdx]); The canBuy and canSell variables will get out set as true or false based on … Read more