Indicadores: Heiken Ashi Smoothed

 

Heiken Ashi Smoothed:

Cálculo do indicador Heiken Ashi padrão utilizando as séries de preço suavizadas.

Heiken_Ashi_Smoothed

Autor: Nikolay Kositsin

 

Olá.

Problemas em compilar. Buid 910

'Heiken_Ashi_Smoothed.mq5' Heiken_Ashi_Smoothed.mq5 1 1
can't open "C:\Users\THIAGO\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\include\SmoothAlgorithms.mqh" include file Heiken_Ashi_Smoothed.mq5 29 11
'CXMA' - declaration without type Heiken_Ashi_Smoothed.mq5 32 1
'Smooth_Method' - declaration without type Heiken_Ashi_Smoothed.mq5 66 7
'XMAO' - undeclared identifier Heiken_Ashi_Smoothed.mq5 88 14
'MA_SMethod' - undeclared identifier Heiken_Ashi_Smoothed.mq5 88 32
'XMAO' - undeclared identifier Heiken_Ashi_Smoothed.mq5 143 18
'MA_SMethod' - undeclared identifier Heiken_Ashi_Smoothed.mq5 143 66
'XMAC' - undeclared identifier Heiken_Ashi_Smoothed.mq5 144 18
'XMAH' - undeclared identifier Heiken_Ashi_Smoothed.mq5 145 18
'XMAL' - undeclared identifier Heiken_Ashi_Smoothed.mq5 146 18
10 error(s), 0 warning(s)  11 1

 
tcferreira:

Olá.

Problemas em compilar. Buid 910

'Heiken_Ashi_Smoothed.mq5' Heiken_Ashi_Smoothed.mq5 1 1
can't open "C:\Users\THIAGO\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\include\SmoothAlgorithms.mqh" include file Heiken_Ashi_Smoothed.mq5 29 11
'CXMA' - declaration without type Heiken_Ashi_Smoothed.mq5 32 1
'Smooth_Method' - declaration without type Heiken_Ashi_Smoothed.mq5 66 7
'XMAO' - undeclared identifier Heiken_Ashi_Smoothed.mq5 88 14
'MA_SMethod' - undeclared identifier Heiken_Ashi_Smoothed.mq5 88 32
'XMAO' - undeclared identifier Heiken_Ashi_Smoothed.mq5 143 18
'MA_SMethod' - undeclared identifier Heiken_Ashi_Smoothed.mq5 143 66
'XMAC' - undeclared identifier Heiken_Ashi_Smoothed.mq5 144 18
'XMAH' - undeclared identifier Heiken_Ashi_Smoothed.mq5 145 18
'XMAL' - undeclared identifier Heiken_Ashi_Smoothed.mq5 146 18
10 error(s), 0 warning(s)  11 1

Olá Thiago, esses onze erros são comuns e ocorrem graças ao arquivo smoothalgorithms.mqh. Não vale a pena tentar corrigi-los, pois isso mudaria a própria lógica de cálculo interna ao arquivo de inclusão smoothalgorithms.mqh.

Logo, basta desconsiderar essas mensagens de erro que aparecem durante a compilação e tudo irá funcionar normalmente.

Abraços,
Malacarne 

 

Boa tarde Malacarde.

Não é necessário compilar? Então... ele não esta aparecendo em minha plataforma, mesmo com o arquivo .mql5 dentro da pasta dos indicadores, que abri através da plataforma pela pasta de dados

 
tcferreira:

Boa tarde Malacarde.

Não é necessário compilar? Então... ele não esta aparecendo em minha plataforma, mesmo com o arquivo .mql5 dentro da pasta dos indicadores, que abri através da plataforma pela pasta de dados

Olá Thiago, é necessário compilar sim... entretanto, antes de compilar certifique-se que o arquivo smoothalgorithms.mqh encontra-se DENTRO da pasta MQL5/Includes/.

Depois que o arquivo .mqh estiver na pasta correta, aí sim você pode compilar o Heiken Ashi Smoothed.

Qualquer dúvida é só falar.

Abraços,
Malacarne 

 
Malacarne:

Olá Thiago, é necessário compilar sim... entretanto, antes de compilar certifique-se que o arquivo smoothalgorithms.mqh encontra-se DENTRO da pasta MQL5/Includes/.

Depois que o arquivo .mqh estiver na pasta correta, aí sim você pode compilar o Heiken Ashi Smoothed.

Qualquer dúvida é só falar.

Abraços,
Malacarne 

Não deu certo. Não consegui usa-lo
 
wellsmaciel:
Não deu certo. Não consegui usa-lo

Provavelmente seu mt5 não está no modo portable.

faça o seguinte então:

Compile, e procure uma mensagem parecida com

can't open "C:\Users\THIAGO\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\include\SmoothAlgorithms.mqh" include file Heiken_Ashi_Smoothed.mq5 29 11


vá até essa pasta, no caso de exemplo seria

C:\Users\THIAGO\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\include\

e cole o arquivo include. Ai é só compilar que vai dar certo.

Pra evitar esses tipos de problemas, o ideal é instalar o mt5 e rodá-lo em modo portable.

Abraço,

Romeu.

 
wellsmaciel:
Não deu certo. Não consegui usa-lo

Olá wellsmaciel,

Não basta copiar o arquivo para a pasta MQL5\Include. É necessário também especificar o caminho correto para o arquivo dentro do Expert Advisor que chamando esse .mqh .

Abraços,
Malacarne 

 
Hi

 I needed a Heiken-Ashi-Renko indicator, that is, the Heikein-Ashi calculated on Renko-Candles. I needed the mt5 file ... Does anyone know how to help me?
Indicador técnico PipTick Heiken Ashi MT5
Indicador técnico PipTick Heiken Ashi MT5
  • comentários: 1
  • 2015.07.22
  • Michal Jurnik
  • www.mql5.com
PipTick Heiken Ashi is our version of Heiken Ashi chart indicator. Unlike competitor products, this indicator offers extensive options for calculating...
 

Can anyone be generous enough to explain how this indicator works? and the parameters setting, it is not in English. 



Thanks 

Arquivos anexados:
 

Pessoal, consegui fazer funcionar baixando um novo SmoothAlgorithms.mqh, disponível aqui: https://www.mql5.com/en/forum/321609

Depois é só colocar na pasta include. Abs!

Smoothalgorithms.mqh issue after latest update of MT5 (Build 2136)
Smoothalgorithms.mqh issue after latest update of MT5 (Build 2136)
  • 2019.09.05
  • www.mql5.com
MetaEditor shows 69 errors in Smoothalgorithms.mqh after latest update of MT5 (Build 2136) See attached images. Any idea how to fix them quickly...
Razão: