Hi I need your help... i need E-books or learning material of how to create an Expert Adviser using mql5
Hello I'm struggling with making my stopLose break even when my take profit reaches the half way I did this code but it doesn't work. can you help me ? thanks if (takeProfit=takeProfit/ 2 ) // I don't how to apply it to the code below ? {stopLose= 1 ;} { ticket= OrderSend ( Symbol
Hello Is there any article that explain how to use or calculate the Moving average of an indicator not the chart ? or sample code I can study. thank you
Hi, I'd like to open a discussion about multiple timeframe so I created this sample code and it suppose to read data from two different timeframes and act depends on the results that given to it but it doesn't work any idea why ? Thank You
int x= 1 ; //Global Variable if ( OrdersTotal ()<=x) ////////////////SELL if (CODE) { ticket= OrderSend ( Symbol (),OP_SELL,lotSize,Bid, 3 , 0 , 0 , NULL , 0 , 0 ,Red); } for (i= 0 ;i< OrdersTotal ();i++) { select= OrderSelect
Hi guys is there a code that can OrderClose but if the trade loses 100 pips or any pips it will ignore the OrderClose and stoplose at 100 pips I hope I cleared my question I need examples (code) if possible. Thank You :)
//+------------------------------------------------------------------+ //| test01.mq4 | //| helmy gabriel | //| https://www.mql5.com |
//+------------------------------------------------------------------+ //| test01.mq4 | //| helmy gabriel | //| https://www.mql5.com |
double fastMaV = iMA ( NULL , 0 ,fastMa,fastMaShift,fastMaMode,fastMaPrice,[i]); double slowMaV = iMA ( NULL , 0 ,slowMa,slowMaShift,slowMaMode,slowMaPrice,[i]); Hello, I need your help guys how to make the variable ...[i].... an array variable so i dont have copy the code multiple times for each