Mladen Rakic
201163
Mladen Rakic  
samuelkanu:
mladen/mrtools, could you please edit the alert for this indicator this indicator to be as the picture attached.Thanks in advance

samuelkanu

Replace these lines :

{

if (trend1 == -1 && trend1 !=-1) drawArrow("1",0.5,i,arrowsOuterBandCrossUpColor,arrowsOuterBandCrossUpCode,arrowsOuterBandCrossSize,false);

if (trend1 == 1 && trend1 != 1) drawArrow("1",0.5,i,arrowsOuterBandCrossDnColor,arrowsOuterBandCrossDnCode,arrowsOuterBandCrossSize, true);

}

[/PHP]

with these

[PHP] {

if (trend1 == -1 && trend1 !=-1) drawArrow("1",0.5,i,arrowsOuterBandCrossUpColor,arrowsOuterBandCrossUpCode,arrowsOuterBandCrossSize, true);

if (trend1 == 1 && trend1 != 1) drawArrow("1",0.5,i,arrowsOuterBandCrossDnColor,arrowsOuterBandCrossDnCode,arrowsOuterBandCrossSize,false);

}

and you will get the arrows the way you want them

samuelkanu
164
samuelkanu  
mladen:
samuelkanu

Replace these lines :

{

if (trend1 == -1 && trend1 !=-1) drawArrow("1",0.5,i,arrowsOuterBandCrossUpColor,arrowsOuterBandCrossUpCode,arrowsOuterBandCrossSize,false);

if (trend1 == 1 && trend1 != 1) drawArrow("1",0.5,i,arrowsOuterBandCrossDnColor,arrowsOuterBandCrossDnCode,arrowsOuterBandCrossSize, true);

}

[/PHP]

with these

[PHP] {

if (trend1 == -1 && trend1 !=-1) drawArrow("1",0.5,i,arrowsOuterBandCrossUpColor,arrowsOuterBandCrossUpCode,arrowsOuterBandCrossSize, true);

if (trend1 == 1 && trend1 != 1) drawArrow("1",0.5,i,arrowsOuterBandCrossDnColor,arrowsOuterBandCrossDnCode,arrowsOuterBandCrossSize,false);

}

and you will get the arrows the way you want them

Hello mladen, i tried it and it did not work that way. Maybe you have to look at it

ameet72
130
ameet72  

mrtools/mladen in this indi. alerts are there but not working, can u please verify ? mtf_waddah_attar_explosionsa.mq4

Mladen Rakic
201163
Mladen Rakic  
ameets1972:
mrtools/mladen in this indi. alerts are there but not working, can u please verify ? mtf_waddah_attar_explosionsa.mq4

Did you try it with AlertWindow set to true (otherwise it will write the alerts into journal tab)

ameet72
130
ameet72  

mladen yes made it to true .... now working fine. thanks

rplust
244
rplust  
mladen:
rplust Try using the one from this post : https://www.forex-tsd.com/forum/debates-discussions/116-something-interesting-please-post-here/page357#comment_723368

mladen, why is it that I cannot put 2 instances of the same indicator on the chart with different settings?

Mladen Rakic
201163
Mladen Rakic  
rplust:
mladen, why is it that I cannot put 2 instances of the same indicator on the chart with different settings?

Because that indicator is not creating objects with unique names (and in metatrader each object must have its unique name)

Hermo
383
Hermo  

Good afternoon everyone

Hello mladen and mrtools

Please could include in this indicator alerts + arrows, when crossed D+ with D-.

Thank you very much in advance

A big hug

Hermo

Mladen Rakic
201163
Mladen Rakic  
rplust:
mladen, why is it that I cannot put 2 instances of the same indicator on the chart with different settings?

rplust

Here is a version that allows you yo have multimple instances on the same chart : value_chart_deluxe_edition_-_correct_2.mq4

Set the UniqueID parater to unique value for each new instance that you attach to the chart

William Snyder
9550
William Snyder  
Hermo:
Good afternoon everyone

Hello mladen and mrtools

Please could include in this indicator alerts + arrows, when crossed D+ with D-.

Thank you very much in advance

A big hug

Hermo

Hermo, added the arrows and alerts