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
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
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 :)
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
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
hi how create an expert advisor mt5 based on price constants (price close and price open) without indicators like storing their values and compare it with its previous bar or candle .
Hi I need your help with this code i need when my ( fastmaArray[0] < slowmaArray[0]) fastmaArray this is my 5 simple MA and slowmaArray this is my 10 MA . and they cross i need it to wait for the value of my MACD to reach below zero to sell
Hello I need to Know how to edit this code with Examples to make it crossover EA. //+------------------------------------------------------------------+
hi I need your help to find my error and tell me my expert cant buy it gave me the alert (The Buy order request could not be completed) here is my code //+------------------------------------------------------------------+
hi I need your help i dont know what is wrong with this code it did nothing when i tested in the strategy tester here is the code if (signal == "sell" && PositionsTotal ()< 1 ) trade.Sell( 0.10 , NULL ,Bid,(Bid+ 50