Forum

How to change the total buy and sell order code for different pairs

int cntBuy = 0 ; int cntSell = 0 ; void OnTick (){ Comment ( "\n\n\n\n\n" + "Buy Count : " , cntBuy, "\n" , "Sell Count : " , cntSell, "\n" ); cntBuy = 0 ; cntSell = 0 ; // initialize counts for ( int i = PositionsTotal () - 1 ; i >= 0 ; i--){

Created EAs for MT5 but nothing is showing they are active or initiated in the Toolbox tab

I have been recently learning how to code in mql5 using tutorials on youtube but I have a problem with activating them on a live/demo account. I have compiled them with no errors and they work fine backtesting . I have purchased other EAs from 3rd party coders and they work fine on a live/demo