4TF Bars: Indicators and Ideas - page 4

To add comments, please log in or register
lrathi
111
lrathi  
mladen:
This is a 4 time frame adjustable period fractals (originally posted here : https://www.mql5.com/en/forum/173009/page13 )

Unlike the rest of the 4 time frame bars this one has one additional option : InheritValues. If it is set to true, than fractals are treated as trends and then all the values from a new fractal are "inherited until an opposite fractal is formed. If it is set to false, then it is showing only the position where a fractal was formed for the first time. Here is an example with inherited values (upper) and non-inherited values (lower) :

Alerts in this one are different too : it will just alert which is the current fractal value for each and every time frame. Because of the inherited or non-inherited values it does not wait for a certain number of fractals to align in order to alert

Thanks for this one. The last few days watching on charts. This is a winner!

THANKS>>>>>> SOOOOOOO>>>>>> MUCH!!!!!

lrathi
111
lrathi  
mladen:
This should be it

$ time frame ma crosses (trends) with adjustable period, type and price of moving averages (defaults is the 14,21 EMA of close, but you can change it to whatever you want)

Is it possible to add one more MA .ie 3xMA cross to this great 4 bar indicator?

Many thanks!

Mladen Rakic
106512
Mladen Rakic  

...

lrathi

In a 3 moving averages cross systems, in almost 99,99% of situations the "trend" changes when the slower 2 moving averages cross. Also, coloring all the possible crosses and states of moving averages in relation to each other (6 states in all) would not be possible for 4 time frames - it would be possible to color states only for one "3 moving averages cross" states (due to metatrader 4 limitation of 8 drawing buffers)

lrathi:
Is it possible to add one more MA .ie 3xMA cross to this great 4 bar indicator? Many thanks!
kingsleyedeh4re
346
kingsleyedeh4re  

Any luck yet

drunkpips:
pls code this one too, thanks and God bless you real good

any luck yet, still expecting

tnx

lrathi
111
lrathi  
mladen:
lrathi In a 3 moving averages cross systems, in almost 99,99% of situations the "trend" changes when the slower 2 moving averages cross. Also, coloring all the possible crosses and states of moving averages in relation to each other (6 states in all) would not be possible for 4 time frames - it would be possible to color states only for one "3 moving averages cross" states (due to metatrader 4 limitation of 8 drawing buffers)

Thanks for explanation .

kingsleyedeh4re
346
kingsleyedeh4re  

please is there a way for the 4tf ma cross to stop repainting. it seems to be promising

Mladen Rakic
106512
Mladen Rakic  

...

It is a 4 time frame indicator (so it is a multi time frame indicator, as its name is saying)

Multi time frame indicators must update the state of all the bars belonging to target time frame bar and for a long, long time it has been cleared that it is not considered a repainting but a normal multi time frame (current time frame, which does not have to do that + 3 "other" time frames in this case) behavior.

drunkpips:
please is there a way for the 4tf ma cross to stop repainting. it seems to be promising
kingsleyedeh4re
346
kingsleyedeh4re  

are you invariably saying that a non repainting/updating indicator would update/repaint when coded into MTF

Mladen Rakic
106512
Mladen Rakic  

...

Please examine some more on how multi time frame indicators work and what is considered to be repainting and what is not

Wish you a pleasant weekend

drunkpips:
are you invariably saying that a non repainting/updating indicator would update/repaint when coded into MTF
TCT
162
TCT  
drunkpips:
are you invariably saying that a non repainting/updating indicator would update/repaint when coded into MTF

Hi,

Your dealing with higher tf's which bars have not closed... once the higher tf's have closed there will be no so called "repaint"... One thing I do is use this indi to keep track of the highest tf's close because it is easy for me to forget when an H4 bar will close as an example... so i set this indi to 240min. Maybe this will help you.

Regards

TCT

Files:
To add comments, please log in or register