Forum

Multisymbol Indicator problem with syncronization, could you guys please help?

Hi friends, I am doing a multisymbol indicator that is already working OK for two symbols that have the SAME market hours. My problem is for multi symbols with different market hours. At first I want just to plot the close price of the second symbol in a separated screen, but later on I want to

Custom indicator working but freezing a lot, can you guys help please?

Dear all, I created the code for the indicator below, whose objective is to show a theoretical value for the minidollar (WINFUT, which is the USDBRL symbol) depending on the variation of the minidollar (WDOFUT, brazilian main index symbol). The rationale is: if WDOFUT is falling 0.5% I reverse the

Problem installing indicator in many MT5 in my computer

Hi friends, When I buy a indicator from the marketplace and go install it, the MQL5 site asks me to open my metatrader on my computer. But I have 3 metatrader installed here (one for each broker that I used, for different markets). The MQL5 website dos not allow me to select which metatrader to

Why this function takes so long to return?

Hi fellows, I wrote the following code, which I use to monitor 35 symbols by comand (each time I want to see the number this function gives for each symbol I press a designated key) It happens that the first time I press the key to call this function MT5 takes a while (almost 1 minute) to return the

How to delete those event flags from all charts forever?

Hi friends, how to delete those event flags from all charts forever? I cannot find this option in configurations

Code to test combination of conditions

Dear fellows, I wrote the following code to use and test various conditions. This is the concept: I will run the strategy tester from 1 to 2^10 (because I have 10 conditions, and at each test one condition can be used or can be not used). In order to combine the conditions in all combinations

How to retrieve my equity balance

Dear friends/comrades, I have the following line of code to show my equity balance at the present moment (live). But I would like to have the equity balance from point of time in the past (example: yesterday's close). How can I get the equity balance with a parameter such as a date and time

Discussion about brokers without mentioning names

Fellows, regarding brokers that offer Metatrader, I would like to ask two questions that you guys might know: 1-The broker I use today is nice and ok. But it does not offer Iron contracts. Also, for soft commodities it only offers contracts with expiration. Do you guys know any broker that offers

Invalid EX5 file (7)

I removed my MT5 terminal and reinstalled it again. And now I am having this problem when attaching my EA. The same EA that worked fine before. Now it works fine only in the first Chart . Trying to attach the EA to the second Chart, or third etc gives me the error: Invalid EX5 file (7). Anyone have

What is the index of the last left bar visible?

Hi, I trying to get the index of the last left bar visible in the chart... or the total amount of visible bars. The following code does not work: Bars(_Symbol, _Period) because it tells the total number of bars in history which is greater than the amount of bars visible