Forum

MQL5 for loop check all positions if not open then in dobble lot size

//--- Include standard libraries #include <Trade\AccountInfo.mqh> #include <Trade\PositionInfo.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\Trade.mqh> //--- Classes CAccountInfo AccountInfo; CPositionInfo PositionInfo; CSymbolInfo SymbolInfo; CTrade Trade_A; input uint

candle Time Create in candle stick

how can i create multicolored in multi time like 3 clock time red ,4 clock time green

MQL 5 is PositionSelect

how can i be declare in mql4 if ( PositionSelect ( _Symbol ) == false ) { //Buy code if( EMA_handle[0] > SMMA_handle[0]) { trade.Buy(0.1,_Symbol); } //Sell Code if( EMA_handle[0] < SMMA_handle[0]) { trade.Sell(0.1,_Symbol); } } if(PositionSelect(_Symbol) == true) {

How can sholve that Mql5 To mql4

//+------------------------------------------------------------------+ //| DEMA_BB.mq5 | //| GBPUSD | //| |

How Buy And Sell specific price

Example :- EURUSD Buy Price - 1.08280 Sell Price - 1.08480 (Not Pip , POINT ) It's Simple But I don't Know How About This Code

How Can I Set Time Only Trade On My Time

example 8:00 AM To 17:00PM GMT London time 13:00 To 22:00 GMT new york time

How can i Sell High Price value

My Code #include <Trade\Trade.mqh> #include <Trade\PositionInfo.mqh> int pos= 0 ; int myRSIDefinition; MqlRates Price_info[]; CTrade trade; // To send orders and close positions CPositionInfo positionInfo; // to get info about current positions double entryPrice = 0 ;