Forum

Issue with iCustomCall no values

Hello guys, can sameone help me? I have this indicator that give me sentiment %, i use iCustomCall to have data % but i dont receive values, looking in the chart there is no buffer values and no data object. How can i manage it

Issue to convert function to mql5

Hello guys, i am having issue to convert this function "as is" to mql5. I include at top thiis library: #include <Trade\SymbolInfo.mqh> #include <Arrays\ArrayString.mqh> #include <MT4Orders.mqh> #include <InitMQL4.mqh> #include <mql4compat.mqh> the function is this one Decompiled source code removed

Round down double mql5

Hello guys, how can i round a double to lowest number? I have issue for lotsize in martingale 1.5 Starting from 0.01 i have 0.01 * 1,5 = 0.015 (i want round down to 0.01)

iCustom indicator call strange behavior in value result

Hello guys, i am going crazy with a strange issue using iCustom call to have value result from this mq4 indicator https://www.mql5.com/en/code/7376 Code is really simple and it works fine if, for example, in backtest i execute code with a different symbol from where i call iCustom. I give you an

Manage max pair orders using magic number

Hello guys, is there a way to limit orders using magic number? For example i have 10 chart where run the same EA ,with 10 different pairs and 10 different magic numbers. I just want to limit number of pairs open at the same time at specific number, i can allow multiple orders for same pair but not

Check before open a new trade with same symbol

Hello guys, sameone know how to manage this situation? Basically in my ea before to open a new order i want check if i have another trade with that symbol open and in that case i want skip i new trade