Forum

mql5.com OAuth issue: Login throws error

The Authorization endpoint ( https://www.mql5.com/en/oauth/login ) as described in https://www.mql5.com/en/users/USER/apps does not work anymore. If the user is NOT logged in to mql5.com, the form always throws Incorrect login or password . If the user is logged in to mql5.com and confirms the auth

About Interfaces in Libraries

Just a quick question: If I use the setup below, although not set as private, will GetSecret() be hidden from EA.mq5 , since it is not defined inside Interface.mqh ? Also, will EA.mq5 ever get access to globalVar ? Or can I safely declare global variables inside a library? Thanks! // Interface.mqh

Open Sourcing my MT5 EA Framework

Hi everyone, I'm developing EAs for many years now and am a contributor of many FOSS . For a while now I thought about publishing my EA Framework. But since the forex world is a very scammy place, I fear the code will very soon appear somewhere without the copyright notice or some other people

How to verify "MQL5 Cloud Protection"?

Hi, I need to know if it is possible to verify if a file is protected using the MQL5 Cloud Protector . In my workflow, I automatically upload the compiled files to S3 . Before I do this, I need to check if the file is protected or not. Thanks :)

Use infinite loop in Service (safe to use?)

Hi, Just a quick question about Service . Is a infinite loop , as shown below, safe to use in a MetaTrader 5 Services ? Or is there a better way? Because Services do not accept any events and therefore I can't use EventSetTimer() . Thanks :) #property service void DoSomething() { Print (

Need some help with my Multi-Currency EA

Hello I just programmed my first Multi-Currency EA. Its working but there are 2 thing I don't know how to use. The first thing is to Inizialize the RSI indicator with a changeable Timeframe: Why cant I use the Array mPeriod[s] instead of PERIOD_H1? It gives me an compiling error "mPeriod'- can't

Need help with my CandleTrail EA

Hi, I try to use a CandleTrail function on a simple MAcross system and it works but I have many [Invalid stops] errors and I don't know why. Can someone help me fix this problem