Indicators with alerts/signal - page 378

bobbsson
9
bobbsson  
mladen:
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

Thanks and once again thanks for competent explanations and the done work, I have understood...

profittrader
69
profittrader  

Alert and paint bar request!

Dear mladen,

I was hoping that you could modify the TD-2 and TD-3 indicators to alert and paint the current bars when they aligned? As indicated by the arrows in the chart below?

Thanks for your consideration in this challenge.

PT

Files:
td2.mq4 3 kb
td2.ex4 4 kb
td3.mq4 2 kb
td3.ex4 4 kb
Craig Gardiner
200
Craig Gardiner  

How Reliable TD2?

Hi PT,

The TD2 indicator looks like a terrific filter. Almost too good to be true. Do you know if it repaints?

regards,

gcgman

profittrader
69
profittrader  

It will repaint in lower TF...It's best used in the 4 hour tf and above.

michaelB
148
michaelB  

How Reliable TD2

The source code contains "high...a sure sign of repainting.

Mladen Rakic
154384
Mladen Rakic  

...

"TD2" == "Solar Wind" (here : https://www.mql5.com/en/forum/179650 )

"TD3" == "Forex trend histo" (to cut it short, just this post here : https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page185#comment_595169 )

Sorry guys, but again the same old, same old ...

profittrader:
Dear mladen,

I was hoping that you could modify the TD-2 and TD-3 indicators to alert and paint the current bars when they aligned? As indicated by the arrows in the chart below?

Thanks for your consideration in this challenge.

PT
Craig Gardiner
200
Craig Gardiner  

Too good to be true.

michaelB:
The source code contains "high...a sure sign of repainting.
mladen:
"TD2" == "Solar Wind" (here : https://www.mql5.com/en/forum/179650 )

"TD3" == "Forex trend histo" (to cut it short, just this post here : https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page185#comment_595169 )

Sorry guys, but again the same old, same old ...

Thanks for the heads up PT, Michael, & Mladen. And Michael, thanks for the tip on what to look for in the code. You all have saved me a lot of time testing a strategy using this. Some people may know how to successfully use repainting indicators to their advantage but, for me such indicators are a waste of time. If it appears too good to be true, indeed it is.

friendly regards,

gcg

Mladen Rakic
154384
Mladen Rakic  

...

gcgman

It is not what you have to look for.

An example : stochastic does the same thing (highest high an lowest low) and it never ever repainted since the first day it existed. Look for negative values in indexes (and that is what those call have in them - negative values instead of positive) See the explanation for that at this post : https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page184#comment_594931 . If those were "+" it would not repaint, but then the values would not be even close to what it is giving

gcgman:
Thanks for the heads up PT, Michael, & Mladen. And Michael, thanks for the tip on what to look for in the code. You all have saved me a lot of time testing a strategy using this. Some people may know how to successfully use repainting indicators to their advantage but, for me such indicators are a waste of time. If it appears too good to be true, indeed it is.

friendly regards,

gcg
William Snyder
9492
William Snyder  

This is nrp Mladen gave us to replace the solar wind types, not sure if it was posted this way or not.

secretcode
898
secretcode  
mladen:
gcgman

It is not what you have to look for.

An example : stochastic does the same thing (highest high an lowest low) and it never ever repainted since the first day it existed. Look for negative values in indexes (and that is what those call have in them - negative values instead of positive) See the explanation for that at this post : https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page184#comment_594931 . If those were "+" it would not repaint, but then the values would not be even close to what it is giving

Mladen

I did some negative to positive as you mentioned

Will you please check it, is it correct or not ?

Thanks in advance

secretcode