Forum

How To Create EA MQL5

Hi I need your help... i need E-books or learning material of how to create an Expert Adviser using mql5

StopLose and TakeProfit

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

iMAOnArray() problem

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

multiple timeframe discussion

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

OrderTotal Help ?

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

How to stoplose and OrderClose at the same time mmmm ?

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 :)

StopLose and TakeProfit

//+------------------------------------------------------------------+ //| test01.mq4 | //| helmy gabriel | //| https://www.mql5.com |

MA Cross Over Doesn't Work Properly HELP!

//+------------------------------------------------------------------+ //| test01.mq4 | //| helmy gabriel | //| https://www.mql5.com |

Array applied on moving average HELP

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

Fedora OS

hi i'm using fedora linux OS and i want to use mt4 for coding an EA but i only can use the web platform and it does not have this option please help thank you