Hi, I've got an indicator I bought in the market that has too many parameters to be called by iCustom function in my EA This is the code I used iCustom ( Symbol (), Period (), indicatorName, ""
Hello, I'm trying to read a value from a csv file. Everything works fine when I attach the EA on a chart. The problem is only with the strategy tester . As per the documentation : The file is opened in the folder of the cli ent terminal in the subfolder MQL5\files (or
Hello everyone, I'm trying to convert some part of my MQL4 code to MQL5 code. After reading the documentation, I still have trouble understanding some things. Can you tell if the following code do the same things MQL4 version: void historyMQL4(){ for ( int z=OrdersHistoryTotal(); z>= 0 ; z--) {
Hello, I'm using renko maker confirm indicator and I'm trying to make an EA. The basic rule is BUY when color of indicator = Lime and SELL when color of indicator = red I want to check the color of renkomaker_confirm indicator with iCustom but I don't know which buffer number to use. I don't want
Hi everyone, I'm trying to detect an order opened by my EA and closed manually. I tried with magic number but, unfortunately, get only 0 for manually closed orders. Anyone know how to reliable detect an order opened by an EA and closed manually ? Thank you
Hi everybody, I tries to figure out how can I remove the two lines on the strategy tester (see on picture) Someone can help me please
Hi everybody, I'm learning MQL5 coding and now I'm trying to add arrows to an indicator. I used this code #property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 3 //--- Line #property indicator_label1 "MA" #property indicator_type1 DRAW_COLOR_LINE #property
Hi everyone, I'd like to get the high/ low of 3 candles (last bar of previous days and the first two bars of the current day) for a given timeframe I'm getting a bit stuck with a piece of mql4 code. I tried to do it this way: datetime now = Time[ 0 ], bod = now - now % ( 24 * 60 * 60 ); //