Multi Timeframe Indicators - page 610

engula
204
engula  
mladen:
engula Here you go

thanks mladen.

i tried with the strategy tester, but the vertical lines don't show up...

Files:
Mladen Rakic
154535
Mladen Rakic  
engula:
thanks mladen.

i tried with the strategy tester, but the vertical lines don't show up...

engula

You are right

Here you go (this one works OK)

engula
204
engula  
mladen:
engula

You are right

Here you go (this one works OK)

yes, now i can see the lines...

but i noticed that the line is drawn while current bar still open (and sometimes it comes and goes during current bar).

could this be avoided, and have the line drawn only after the current bar is closed (in case of 0-line crossed)?

that would be great.

Mladen Rakic
154535
Mladen Rakic  
engula:
yes, now i can see the lines...

but i noticed that the line is drawn while current bar still open (and sometimes it comes and goes during current bar).

could this be avoided, and have the line drawn only after the current bar is closed (in case of 0-line crossed)?

that would be great.

engula

Change this line :

if (verticalLinesVisible)

to this

if (i > 0 && verticalLinesVisible)

and it will work that way

Huub
11
Huub  

Hi mr mladen,

The indicator don't show up in the part under the chart, only a black part.

It's not working / not visible.

What's wrong,

Can you help me pls.

Thanks

Mladen Rakic
154535
Mladen Rakic  
huub:
Hi mr mladen,

The indicator don't show up in the part under the chart, only a black part.

It's not working / not visible.

What's wrong,

Can you help me pls.

Thanks

huub

If you are referring to the indicator from this post : https://www.mql5.com/en/forum/173574/page407 it needs the Hodrick/Prescott filter too in order to work. One you can download form here : https://www.mql5.com/en/forum/173574/page248

Huub
11
Huub  

Hi mr. mladen,

It's working now.

Thanks,

Huub

FXSwissTrader
23
FXSwissTrader  

I was wondering if anyone has an MTF fractal indicator simiilar to this one? If not, can someone post what they currently have that is up to date? Much thanks in dvance.

MTF Fractal Channel Indicator - Real Time Support and Resistance | CustomizedTrading.com

lock
63
lock  
mladen:
pastecopy

Almost always when it comes to metatrader the CPU overload comes from 2 reasons : too much simultaneously opened charts and faulty (inefficient) code.

Multi time framing should not overload the CPU (unless you are trying to use montly data on a 1 minute chart when it can happen - it needs to recalculate at least 43200 bars to keep all updated) if used correctly so it is probably not the mtf causing that but something in the mtf code. Also, try making the maximum number of bars on chart to less. I am using just 5000 bars per chart for years and never had any problems in trading because of that

Yes indeed after reducing the number of bars from the default to 1000, it has no problem with MTF.

Thank you again, I don't think I'll need to upgrade my PC anytime soon .

William Snyder
9493
William Snyder  
FXSwissTrader:
I was wondering if anyone has an MTF fractal indicator simiilar to this one? If not, can someone post what they currently have that is up to date? Much thanks in dvance. MTF Fractal Channel Indicator - Real Time Support and Resistance | CustomizedTrading.com

FXSwissTrader, there is a 4 timeframe fractal indicator posting it here maybe you can use.