Hull Moving Average - page 39

 
incom2009:

The alerts do not work ??? How to get alerts when the cross occured ???? Could anybody add as I am no programmer.

Thanks

What file exactly does not work?
 

Hello everyone, I'm looking, and I have not found in this whole thread, an Hull moving average of you can put in the window of another indicator, and is colored. Mql5 is called hma color. No similar for mql4 meeting. I found moving average colored but have no previous indicators data.

Thank you for your attention

 
vialera:

Hello everyone, I'm looking, and I have not found in this whole thread, an Hull moving average of you can put in the window of another indicator, and is colored. Mql5 is called hma color. No similar for mql4 meeting. I found moving average colored but have no previous indicators data.

Thank you for your attention

You can not do that with mt4
 
techmac:
You can not do that with mt4
mt5 versions here : https://www.mql5.com/en/forum/180596
 

Dear Mladen,

What form to use the indicator adx-cross-hull-style_1_1 via iCustom?

The indicator has not Trend or Slope option.

I'm trying the code below but it does not work.

Thank you.

Rogério

 

double adx_Up=iCustom(NULL,0,"adx-cross-hull-style_1_1",PlusDiMinusDi_Period,Applied_Price,LineWidth,0,0); //Buy
double adx_Dn=iCustom(NULL,0,"adx-cross-hull-style_1_1",PlusDiMinusDi_Period,Applied_Price,LineWidth,1,0); // Sell

if(nonlagma_trend_current==1 && adx_Up>adx_Dn) // Buy
 
borgesr:

Dear Mladen,

What form to use the indicator adx-cross-hull-style_1_1 via iCustom?

The indicator has not Trend or Slope option.

I'm trying the code below but it does not work.

Thank you.

Rogério

 

Rogério

Can you please post the exact version that you are using?

 
mladen:

Rogério

Can you please post the exact version that you are using?

Mladen,

Follow indicator attached.

Thank you.

Rogério

 

Debates & Discussions

Hull Moving Average

borgesr, 2016.05.23 03:33

Dear Mladen,

What form to use the indicator adx-cross-hull-style_1_1 via iCustom?

The indicator has not Trend or Slope option.

I'm trying the code below but it does not work.

Thank you.

Rogério

 

double adx_Up=iCustom(NULL,0,"adx-cross-hull-style_1_1",PlusDiMinusDi_Period,Applied_Price,LineWidth,0,0); //Buy
double adx_Dn=iCustom(NULL,0,"adx-cross-hull-style_1_1",PlusDiMinusDi_Period,Applied_Price,LineWidth,1,0); // Sell

if(nonlagma_trend_current==1 && adx_Up>adx_Dn) // Buy

Your if condition is not OK

Try like this :

if(nonlagma_trend_current==1 && adx_Up!=EMPTY_VALUE) // Buy
 
mladen:

Your if condition is not OK

Try like this :

Dear Mladen,

Thank you for your help.


I tested the code mentioned in debug but I can not verify if the value is Ok and unfortunately does not open any order.


In the graph all the conditions are for Buy

In EA PSAR is true for Buy

Nonlagma is True for Buy

ADX ?


Here EA attached.

ADX Debug

Adx / Nonlagma Chart

ADX / Nonlagma Chart


Thank you

Rogério

Files:
 
borgesr:

Dear Mladen,

Thank you for your help.


I tested the code mentioned in debug but I can not verify if the value is Ok and unfortunately does not open any order.


In the graph all the conditions are for Buy

In EA PSAR is true for Buy

Nonlagma is True for Buy

ADX ?


Here EA attached.

ATTENTION: Video should be reuploaded
Adx / Nonlagma Chart


ATTENTION: Video should be reuploaded
Thank you

Rogério

Rogério

Please check the code of the indicator

In the code you shall find that if one of the two buffers is not equal to EMPTY_VALUE that means that there is a signal (up or down, depends on the buffer). The value you are displayed there in the debugger is the EMPTY_VALUE (EMPTY_VALUE is not 0 as some are thinking, but the value of EMPTY_VALUE is 2147483647). Please set your conditions accordingly with that in mind

Reason: