how to keep track of EA profit and loss? Does anyone have a code to put in EA so that it will keep track of the EA's profit & loss? I want the total of profit & loss display on the chart, when someone drag and drop the EA
Does anyone know of any free EA with source code that will open trade the opposite direction if it is wrong on a trade. This condition is true if price moved against the original (buy or sell) order by 20 pips. Also, while it open trade in
Let's say if an EA open a buy order , the market move in the wrong direction. I want the EA to close that order and open in the opposite direction. Does anyone have a template for Closing trade and opening trade in the opposite direction
I found this iFibonacci indicator https://www.mql5.com/en/code/14393 Does anyone have any idea on how to use this iFibonacci code in an EA? Is it possible to call upon iFibonacci like iLow, iHigh, codes in an EA? Or, is it in development for future
I'm trying to convert the amount of money into lotsize to buy or sell. let's say account balance is: $1000 Lotsize risk percent is: 20 the formula I used below return the value of $20. How do I convert that into lot size? Here's the code
Hi, I'm trying to create an EA that place a buy order when price is above the 50 days line. Here's the 'if' condition: if((iLowest(NULL,1,MODE_LOW,10,0) > iMA(NULL,PERIOD_M1,50,0,MODE_SMA,PRICE_CLOSE,0))) However, When I test
I found a great scalper online. It's called angrybird ea https://www.mql5.com/en/code/12872 Source code is available there too. The robot works perfectly, however, I would like the robot to follow these 2 rules. Can someone
Does anyone know what is the code to calculate the median number between the highest value and lowest value of iBearsPower ? For example: iBearsPower highest value is: 50 iBearsPower lowest value is: 10 Median value is: (50+10) / 2 = 30
What's wrong with this code? It only open sell orders but not buy orders. extern int MagicNumber= 10001 ; extern double Lots = 0.1 ; extern double StopLoss= 120 ; extern double TakeProfit= 120 ; extern int TrailingStop= 50 ; extern int