Henihollar / Publications
Forum
Second if statement is not executed after the first if statement's conditions comes false. My code is attached below. Please can someone point me in the right direction.
//--- Create an instance of CTrade #include <Trade\Trade.mqh> CTrade trade; //--- external adjustable variable input int NumberOfPositions = 3 ; input double myLotSize = 0.20 ; void OnTick () { //--- Ask and Balance double Ask = NormalizeDouble ( SymbolInfoDouble ( _Symbol