Multi Timeframe Indicators - page 588

Mladen Rakic
153784
Mladen Rakic  
Marco320:
Dear MLaden &mrTools,

Could you instead of drawing lines add arrows in place of the signals and could you add alert sound with pop-up.

Indi is attached.

Thx for the help.

Regards Marco

Marco

Check the one from this post : https://www.mql5.com/en/forum/180648/page255

Marco Hinderink
254
Marco Hinderink  
mladen:
Marco Check the one from this post : https://www.mql5.com/en/forum/180648/page255

Hello MLaden,

Thx but is it possible to convert it to arrows instead of lines?

Thx for the help Marco

engula
204
engula  
mladen:
Try replacing that the code at the start of "start" function to this :
int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);

int limit = MathMin(Bars-counted_bars,Bars-1);

for(int i=MathMax(limit-1,0); i>=0; i--)

hi mladen,

xmas is near, may i ask you for a little gift...?

could you pls modify the attached indi in order to draw only after the current bar is closed?

many thanks in advance!

hp_mtf_velo_sep_norpt_v2.mq4

Mladen Rakic
153784
Mladen Rakic  
engula:
hi mladen,

xmas is near, may i ask you for a little gift...?

could you pls modify the attached indi in order to draw only after the current bar is closed?

many thanks in advance!

hp_mtf_velo_sep_norpt_v2.mq4

engula

You can do that two ways : either use open price for price in the HP indicator or you can changed this part of code :

int y = iBarShift(NULL,timeFrame,Time);[/PHP]

to this

[PHP] int y = iBarShift(NULL,timeFrame,Time);

if (y<1) continue;

and then the current bar will be drawn only when it is closed

engula
204
engula  
mladen:
engula

You can do that two ways : either use open price for price in the HP indicator or you can changed this part of code :

int y = iBarShift(NULL,timeFrame,Time);[/PHP]

to this

[PHP] int y = iBarShift(NULL,timeFrame,Time);

if (y<1) continue;
and then the current bar will be drawn only when it is closed

great. what should i add in order to have the value shown next to the indi name in the subwindow?

Mladen Rakic
153784
Mladen Rakic  
engula:
great. what should i add in order to have the value shown next to the indi name in the subwindow?

engula

If you wish to avoid current bar value calculating/showing then you can not see the value displayed next to name. The only solution would be to shift all the values by 1 (that way previous bar value would become current bar value and so on)

engula
204
engula  
mladen:
engula If you wish to avoid current bar value calculating/showing then you can not see the value displayed next to name. The only solution would be to shift all the values by 1 (that way previous bar value would become current bar value and so on)

not even the value of the previous bar, which is the last shown on chart?

Mladen Rakic
153784
Mladen Rakic  
engula:
not even the value of the previous bar, which is the last shown on chart?

No, it can not be shown automatically

Kelch Monteiro
113
Kelch Monteiro  

hi guys. I need some help to make this mtf.. pleeease

didi_index.mq4

Files:
William Snyder
9493
William Snyder  
Kelch Monteiro:
hi guys. I need some help to make this mtf.. pleeease didi_index.mq4

Hi Kelch,

Made it mtf.

Version compatible with new metatrader 4 posted here : https://www.mql5.com/en/forum/173574

Files: