Multi Timeframe Indicators - page 29

 

Very IMPORTANT for ALL MTF indicators!!!

Hi to ALL,

ALL MTF Indicators don't draw the graphic on the chart correctly because

of the BUG in the code.

To avoid this BUG you should fix only one line in the code:

instead of limit = Bars-counted_bars;

should be limit=Bars-counted_bars+TimeFrame/Period();

Regards,

Igor

 
igorad:
Hi to ALL,

ALL MTF Indicators don't draw the graphic on the chart correctly because

of the BUG in the code.

To avoid this BUG you should fix only one line in the code:

instead of limit = Bars-counted_bars;

should be limit=Bars-counted_bars+TimeFrame/Period();

Regards,

Igor

thanks Igor

should that be

either TimeFrame

or Period()

as in limit=Bars-counted_bars+Period();

?

 
increase:
thanks Igor

should that be

either TimeFrame

or Period()

as in limit=Bars-counted_bars+Period();

?

No, should be exactly as I wrote.

For example try to use MTF_FractalChannel with updated FractalChannel_v4.

 
igorad:
Hi to ALL,

ALL MTF Indicators don't draw the graphic on the chart correctly because

of the BUG in the code.

To avoid this BUG you should fix only one line in the code:

instead of limit = Bars-counted_bars;

should be limit=Bars-counted_bars+TimeFrame/Period();

Regards,

Igor

Hi Igor, thank you very much for the correction. I compare the old MTF indicator and the fixed one, yes there is a different between both. Again thank you

 

#MFT_Fractals

It´s my first exploration on MTF code. So I hope everything works well.

After a little observation, works good using all timeframes.

But there are differences depending on what broker are you using.

Corrected Version D12M9Y2006 after Igorad correction in generalized MTF code.

Files:
 

need this indicator, can anyone help.

hi,

i was wondering if u guys/girls can help me. Im looking for this indicator called 'bbstac' or something like that. On chart it looks like bollinger band.

does anyone have it??

attiqul

 
Attiqul:
hi,

i was wondering if u guys/girls can help me. Im looking for this indicator called 'bbstac' or something like that. On chart it looks like bollinger band.

does anyone have it??

attiqul

I only got this. Hope this help

Files:
 

i think you want this one,it is nothing but boolinger bands with starc bands with some seting

it is used like entry sygnal when BB goes out of SB yuo trade oposit direction

recomendation is 15M TF ,atach to the chart and take a look

also you can put separate BB and SB if you dont have this indicator

very nice tool ,it show entry point ,direction and from BB it is confirmed with momentum

Files:
 

Hello igorad,

I need your help. On pg. 29, post# 285, it is stated:

To avoid this BUG you should fix only one line in the code:

instead of limit = Bars-counted_bars;

should be limit=Bars-counted_bars+TimeFrame/Period();

I am using the #MTF_Heiken Ashi Freedom Bar.mq4 indicator found in post#280. When I replace the code in the line containing: "

"int limit=Bars-counted_bars;"

with, "int limit=Bars-counted_bars+TimeFrame/Period();", MetaEditor gives me the following error message: "'TimeFrame' - variable not defined"

What am I doing wrong?

Another question: This indicator appears in a separate window at the bottom of my screen. The 1 hour row of bars is on top and the 5 minute bars are on the bottom. What code do I change so the stack order is reversed - the 5 min. row of bars are on top and one hour on the bottom?

Perhaps you can help with this too: When I open the indicator's Properties window there is an option identified as 'AutoDisplay'. What exactly is it supposed to do? I think if it is on 'Auto' it tells the indicator to set itself to the current chart's time frame. Am I right?

Thanks!

 

MTF MovingAverage

This is a corrected version of MTF_MovingAverage that seems to display properly using Igorad's code. It allows you to use a 1 hour MA on a 15 min chart for example.

Files:
Reason: