Is it possible to use property as string? #property version "2.21" When I make some changes in EA, then I want to be sure that new version is used in tester. So one way is to see its version number ("2.21") immediately on chart, so first
I cannot find bug topic, so problem is next: After "upgrading" MT5 it is impossible to test ( Strategy tester ) trading robots. I can test only indicators. Situation have lasted 3..6 months maybe. And besides: Isn't anybody else busy
I am using simple FileReadString(FileHandle) in my EA AceDeal. In text file Command.txt (Placed in Terminal Data Path) is simply string 0.1. Why FileReadString() cannot normally read that string?(???)
I have found that only testing with Real Ticks gives reliable result. Problem is that it takes a lot of time, long period time testing is almost impossible. So I choose approximately right parameters and just run it with different SymbolNames
I didn't find bug topic, so I post question in general topic. After installing MQL5 on my second computer it happens, that I cannot change parameters in tester's Input section. When I change whatever parameter, for example Turn Deals Around as it is
I need to remove tabs from text file. The best is to replace tabs with spaces I think. Can anybody give me working code what replaces all tabs in string with spaces? Thanks
Does there exist digital information about news. I mean these news, what are causing big movements on market, you know. One such site is https://www.fxstreet.com/economic-calendar . In this site you can see well marked news with their times. So
I have found Pip Calculator in MQ4: https://www.mql5.com/en/code/12418 . I need the same thing in MQ5 and with any currency pair. For calculation of any currency pair there are as if three cases described in picture
Is it possible to minimize and maximize form with MQL ( Ultimatively with NOT Removing it) ? And is it possible to change input box backgound color (I want to toggle it between green and red depending...)
Today my tester stopped doing trades. I understand when settings prohibit real trades, but how tester can be disabled? I have two computers. On another one what is not connected with internet there are no such problem with same EA and trades
Market Profile indicator is (as if) based on trading volumes. Maybe I am blind, but I cannot see the place in the indicator where it reads volume. As I can imagine volume reading command must be something like CopyRates, CopyTicks, SymbolInfoTick
Hello! When I attach AceTurn to chart it appears normally, but I cannot reach to ComboBox selections and also CheckButton don't take changes when pressed. What is wrong in my code?
I want to make robot what makes multiple positions simultaneously. They are with StopLosses ant TakeProfits. How I can with robot check what position is still opened and what position is already closed (price passed SL or TP) ? PositionSelect(Symbol)
I have reached to point where testing my EA takes too much time. In MQL Cloud Network is as if possible to speed up testing time 150 times. I have only demo account in Admiral Markets UK Ltd. Using MQL Cloud Network means user can sell or buy that
In MQL5 Reference -> File Functions -> FileOpen is sample what is in this letter attachment as Sample.mq5. When you run that sample you can see that file can be written only when you give part of file path (last part of that Sample.mq5). When
I am trying to make robot with two ZigZag indicators simultaneously. Is it somehow possible to change the color of one ZigZag indicator just for better look in tester
How to get difference between two datetime variables? Suppose Start time is datetime Time1=2013.12.31 22:53 and End time is datetime Time2=2014.01.02 00:14 . When I subtract from Time2 Time1 this way: Time=Time2-Time1 then result Time is 91260