Indicators with alerts/signal - page 377

Mladen Rakic
154386
Mladen Rakic  

...

igorad made an original one. This one is smoothed, so I do not think that we should think in those terms. If you are after speed of signal, than I guess igorads version is better for that purpose (smoothing always adds some lag). If you wish to filter out some false signals, that use the smoothed one

secretcode:

This MAMA is bit different then the MAMA created by IGORAD

Which one is better !!!
secretcode
898
secretcode  
mladen:
igorad made an original one. This one is smoothed, so I do not think that we should think in those terms. If you are after speed of signal, than I guess igorads version is better for that purpose (smoothing always adds some lag). If you wish to filter out some false signals, that use the smoothed one

Thanks Mladen

Your all comments, explanation are so useful

secretcode

fx47
30
fx47  

Tma slope indicator from tmatrue indicator

mladen:
igorad made an original one. This one is smoothed, so I do not think that we should think in those terms. If you are after speed of signal, than I guess igorads version is better for that purpose (smoothing always adds some lag). If you wish to filter out some false signals, that use the smoothed one

Dear mladen,

The attached tma slope indicator is based on repainting tma so the tma slope indicator always keep changing the direction. I think if we recode the tma slope indicator based on tmatrue indicator then it will not repaint. It'll help us to detect market direction while trending or ranging.

I'm not a coder. Could you please recode the indicator? It will be a great help.

Thanks,

Nasim

Mladen Rakic
154386
Mladen Rakic  

...

Nasim

Did you see this thread : https://www.mql5.com/en/forum/181241 ?

There is is explained almost everything about centered TMA (to the fact that what is called a TMAtrue is equal to linear weighted moving average - LWMA, compare them the way it is explained on that thread and you will see what I mean)

fx47:
Dear mladen,

The attached tma slope indicator is based on repainting tma so the tma slope indicator always keep changing the direction. I think if we recode the tma slope indicator based on tmatrue indicator then it will not repaint. It'll help us to detect market direction while trending or ranging.

I'm not a coder. Could you please recode the indicator? It will be a great help.

Thanks,

Nasim
bobbsson
9
bobbsson  
mladen:
MAMA NK with alerts on FAMA (fast adaptive ma) and MAMA (adaptive ma) crosses (as requested at this post : https://www.mql5.com/en/forum/general. )

Thanks Mladen, but alert before candle closing

Mladen Rakic
154386
Mladen Rakic  

...

Set the alertsOnCurrentparameter to false and it will alert only when the candle is closed

bobbsson:
Thanks Mladen, but alert before candle closing
fx47
30
fx47  
mladen:
Nasim

Did you see this thread : https://www.mql5.com/en/forum/181241 ?

There is is explained almost everything about centered TMA (to the fact that what is called a TMAtrue is equal to linear weighted moving average - LWMA, compare them the way it is explained on that thread and you will see what I mean)

Dear mladen,

Thanks for the explanation of TMA. But I thought it would be helpful to detect the market not for entry or exit. I use different method to enter/exit trade. In my opinion tmatrue doesn't repaint like TMA (repainting version), it doesn't matter how many times it recalculate for current bar. So is it possible to change the tma slope indicator based on tmatrue? I appreciate your help.

Thanks,

Nasim

Mladen Rakic
154386
Mladen Rakic  

...

Nasim

That is exactly what I said too (even on that thread). Linear weighted moving average (LWMA) is not repainting. As far as "TMATrue" is concerned here is a comparison of "TMATrue" (dotted) and linear weighted moving average (you have it in built in moving averages - gray thick line here) They are exactly the same when LWMA period is set to "TMATrue" period +1.

Linear weighted moving average is one of the oldest ways of calculating some moving average and as is, it is indeed useful. What I am saying that there is no such thing as "TMATrue". Please read that thread I posted the link to, I think you will find it informative as far as the fuss about TMA is concerned. As far as a slope of linear weighted moving average any indicator showing the slope of moving averages which can set the LWMA as a moving average will do

regards

Mladen

fx47:
Dear mladen,

Thanks for the explanation of TMA. But I thought it would be helpful to detect the market not for entry or exit. I use different method to enter/exit trade. In my opinion tmatrue doesn't repaint like TMA (repainting version), it doesn't matter how many times it recalculate for current bar. So is it possible to change the tma slope indicator based on tmatrue? I appreciate your help.

Thanks,

Nasim
Files:
lwma.gif 22 kb
bobbsson
9
bobbsson  
mladen:
Set the alertsOnCurrentparameter to false and it will alert only when the candle is closed

With alertsOnCurrent here so, for small frames well, for Н-1 - not so, make if probably, but anyway Maddlen, to you huge human thanks, excuse for bad English, with best regards

Files:
Mladen Rakic
154386
Mladen Rakic  

...

bobbsson

You now simply have to believe me : when alertsOnCurrent is set to true it checks if a cross happened between bars 0(current) and 1(first closed) which actually means that the current bar is the deciding. When it is set to false then it is checking bars 1 (first closed) and 2(second closed) which means that the first closed bar is the deciding one (which is what you are looking for). So set the alertsOnCurrent to false and it will alert on closed bar. It does not make any difference among time frames (all it is looking are bars regardless of the time frame they are at)

hope this helps

Mladen

bobbsson:
With alertsOnCurrent here so, for small frames well, for Н-1 - not so, make if probably, but anyway Maddlen, to you huge human thanks, excuse for bad English, with best regards