Forum

Writefile in Templates not allowed and Windows API not allowed

hello all. I have created an EA that creates some templates in "files" and moves them into the Templates folder using Windows API (as I can't write into Templates); when I tried to publish in the market, MQL5 rejected it. Some days ago I saw a post where it was provided exactly this recommendation

Webrequest Telegram with basic html

hello all I've been trying to send a webrequest from mt4 to Telegram to send a message with the minimum supported html, eg bold, some emoticons, italics via parse , parsemode2, html but all not working, I receive message 400 obviously the raw text works and all mt4 settings are correct; can someone

Issue with indicator code

hello all getting crazy with a function not working. I have a report showing open PnL and closed positions. I'd like to show a column with maxDD registered and save it into a file for checking when reload the indicator. so when OpenPNL < last recorderd DDMAX, then "update DDMAX". the code below

Is it possible to calculate the maximum drawdown reached in an account?

Is it possible to calculate the maximum drawdown reached in an account? How? How can the development of equity be built

Import tick data on MT4 for backtesting

hello I downloaded tick data from Dukascopy in csv and need now to convert in fxt to handle in mt4; in fact the import from csv handle only m1 as a minimum). Can someone tell me how to do? The script " csv_to_hst.ex4" do not work anymore in new builds. (I understood that fxt is needed and not hst

Scale fix issue

Hello in the last days my charts in MT4 automatically activate the Scale fix setting that I really do not like and I need to enter manually and uncheck. Is there a way to stop this