Indicators with alerts/signal - page 242

lou_49
3
lou_49  

Assistance with alerts

Hi,

First post here. I am trying to gt back on track with Metatrader. I have been trying different platforms and have switched back to Metatrader. For some reason my alerts are not working and I have them enabled in the indicator input. I have tried several indicators w/alerts and I still dont get the popup and sound alert.

Thanks for the help in advance.

I apologize for the newbie question but I have been searching everywhere and I still cant get it t work.

Lou

keymaker101
11
keymaker101  

Hello

Is it possible to make the MACD Colored indicator give an Alert/sound pop up when the macd crosses over the lines 15 and -15

Thanks

PJ Lal
109
PJ Lal  
richest:
I would like to analyze the drawdown of a system. Does anyone know the indi to analyze such thing? the dd should be either in percentage or in $. Thanks.

Richest,

I am also looking for such an indicator. If you found one, please post it here.

thanks.

PJ

moreyummy
171
moreyummy  

Alert when multiple on chart indicator is at a specific value

Alert when multiple on chart indicator is at a specific value.

How do I do it in MT 4?

moreyummy
171
moreyummy  

mango, do you think it can give alert on asctrend?

moreyummy
171
moreyummy  

add alert on top of the arrow to an indicator

Im trying to add alert on top of the arrow to an indicator, so sound, email alert, with the arrow on the screen.

int init()

{

//---- indicator line

IndicatorBuffers(2);

SetIndexStyle(0,DRAW_ARROW);

SetIndexArrow(0,234);

SetIndexStyle(1,DRAW_ARROW);

SetIndexArrow(1,233);

SetIndexBuffer(0,val1);

SetIndexBuffer(1,val2);

//----

return(0);

}

This is the onlything has something to do with the ARROW. But in the start(), I do not see anything that mention any of these value or anything has arrow, style in it. All there is are simple calculation, and , if, and so on.

Out of idea how it put arrow in the chart, otherwise I can just add it near it and put alert, and email alert on at the same location.

moreyummy
171
moreyummy  

you can simply change the sample code in MT4 to your indicator. it is only one indicator.

moreyummy
171
moreyummy  

increase: thanks for the insight.

moreyummy
171
moreyummy  

This is the original code that I want to add the alert. I tried the "", but it gives syntax error. i cant understand what it is trying to do.

Here are the code in the beginning, I left out the one doing the calculation.

int init()

{

// --------- 暑痧尻蜩痼屐 镥痂钿?潆 镱耱痤屙? 氰闱嚆钼

if (Period1>0) F_Period=MathCeil(Period1*Period()); else F_Period=0;

if (Period2>0) N_Period=MathCeil(Period2*Period()); else N_Period=0;

if (Period3>0) H_Period=MathCeil(Period3*Period()); else H_Period=0;

//---- 吾疣徉螓忄屐 1 狍翦?

if (Period1>0)

{

SetIndexStyle(0,DRAW_ARROW,0,1);

SetIndexArrow(0,Symbol_1_Kod);

SetIndexBuffer(0,FP_BuferUp);

SetIndexEmptyValue(0,0.0);

SetIndexStyle(1,DRAW_ARROW,0,1);

SetIndexArrow(1,Symbol_1_Kod);

SetIndexBuffer(1,FP_BuferDn);

SetIndexEmptyValue(1,0.0);

}

//---- 吾疣徉螓忄屐 2 狍翦?

if (Period2>0)

{

SetIndexStyle(2,DRAW_ARROW,0,2);

SetIndexArrow(2,Symbol_2_Kod);

SetIndexBuffer(2,NP_BuferUp);

SetIndexEmptyValue(2,0.0);

SetIndexStyle(3,DRAW_ARROW,0,2);

SetIndexArrow(3,Symbol_2_Kod);

SetIndexBuffer(3,NP_BuferDn);

SetIndexEmptyValue(3,0.0);

}

//---- 吾疣徉螓忄屐 3 狍翦?

if (Period3>0)

{

SetIndexStyle(4,DRAW_ARROW,0,4);

SetIndexArrow(4,Symbol_3_Kod);

SetIndexBuffer(4,HP_BuferUp);

SetIndexEmptyValue(4,0.0);

SetIndexStyle(5,DRAW_ARROW,0,4);

SetIndexArrow(5,Symbol_3_Kod);

SetIndexBuffer(5,HP_BuferDn);

SetIndexEmptyValue(5,0.0);

}

// 吾疣徉螓忄屐 珥圜屙? 溴忤圉栝 ?泐?

int CDev=0;

int CSt=0;

int Mass[];

int C=0;

if (IntFromStr(Dev_Step_1,C, Mass)==1)

{

Stp1=Mass[1];

Dev1=Mass[0];

}

if (IntFromStr(Dev_Step_2,C, Mass)==1)

{

Stp2=Mass[1];

Dev2=Mass[0];

}

if (IntFromStr(Dev_Step_3,C, Mass)==1)

{

Stp3=Mass[1];

Dev3=Mass[0];

}

return(0);

}

//+------------------------------------------------------------------+

//| Custor indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

if (Period1>0)

CountZZ(FP_BuferUp,FP_BuferDn,Period1,Dev1,Stp1);

if (Period2>0)

CountZZ(NP_BuferUp[0],NP_BuferDn[0],Period2,Dev2,Stp2);

if (Period3>0)

CountZZ(HP_BuferUp[0],HP_BuferDn[0],Period3,Dev3,Stp3);

return(0);

}

int CountZZ( double& ExtMapBuffer[], double& ExtMapBuffer2[], int ExtDepth, int ExtDeviation, int ExtBackstep )

{

}

...................

It is a 3 level zz hemafor.mp4, trying to add alert to it.

moreyummy
171
moreyummy  

Anyone remember where is the indicator for a Moving Average that has slope-colored?

So if the slope is down, it colored in red, if up colored in green, color isnt a matter, just to show if the MA is up or down.

Im lost in this big site....

thanks.