Forum

error in return of double variable, returning -nan (ind)

Hello, after updating Metratrader for build 1940, one of my thefts that uses the following includes; #include <MT4Orders.mqh> #include <Math \ Fuzzy \ MamdaniFuzzySystem.mqh> #include <Math \ Stat \ Uniform .mqh> #include <Math \ Alglib \ dataanalysis.mqh> started to return a strange double

Problemas ao resgatar valores de um arquivo txt

Ola pessoal estou tendo dificuldades com a leitura de um arquivo TXT, peguei um programa q ja faz isso porem por algum motivo na hora da leitura dos dados a funcao entra em loop infinito. Poderiam me ajudar com o problema ou postar algum codigo exemplo. segue a baixo o ponto q entra em loop infinito

how to get color for the candle in my EA ?

hi experts, i'm new programmer in MQL5, so if my question is very easy i'm sorry. i'm create one EA and i use one custom indicator with a function ICustom, this indicator change candle color. I need to know what the candle color this so that my EA can take the decision to buy or sell. Tnks for