Forum

Property conversion

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 have to convert that property to string probably and

Robots are lost?

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 with robots

ZigZag indicator???

Can anybody recommend good ZigZag indicator? Original ZigZag behavior is little bit strange as you can see in attached pictures . Thanks

Strange FileReadString() behavior?

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?(???)

Suggestion for History

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. Obviously computer has power to run more than one

Bug replaces my parameters with defaults

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 on picture from false to true, after what switch

Removing Tabs?

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

Digital Information about news?

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 how are these things in MT5

Pip Calculator in MQ5

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 attached. Can anybody help

Minimize Maximize Form with MQL?

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...)