You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Indicators are updated on this post:
https://www.mql5.com/en/forum/173139
name of the file is bt_m30.zipyeah same indie still no alert and set to 2 - the alert did come up once yesterday... have tried different mt4's no joy.........
I think - not same indicators.
I edited the post with the versions which I am using (re-posted from elite section).
Just replace yours with mine (delete mql4 codes and ex4 files), and replace it with new mql4 (2 files), and restart Metatrader.
It works for me.
Alerts are coming on dots or arrows on closed bar (dot or arrow is on the previous bar).
working now i removed ssa indie.... whoops
thanks nd.
brain all alert
hi all,
has anyone got the alert working for when a dot appears?
the problem is that the alert doesnt generate until candle close on renko.
ive taken out the volume...
if ( AlertMode == 2 && shift==0)
{
if (buy_signal_buf[2] == EMPTY_VALUE && buy_signal_buf[1]>0 && buy_signal_buf[1] != EMPTY_VALUE && !UpTrendAlert)
{
Message = "BrainTrend1: "+Symbol()+" M"+Period()+": Signal for BUY";
if ( AlertMode == 2 ) Alert (Message);
UpTrendAlert=true; DownTrendAlert=false;
}
else
if (sell_signal_buf[2] == EMPTY_VALUE && sell_signal_buf[1]>0 && sell_signal_buf[1] != EMPTY_VALUE && !DownTrendAlert)
{
Message = "BrainTrend1: "+Symbol()+" M"+Period()+": Signal for SELL";
if ( AlertMode == 2 ) Alert (Message);
DownTrendAlert=true; UpTrendAlert=false;
}
}
still doesnt alert on current....
this alert doesnt generate to file correctly
//Process Sharp Drops & Rises
if (close_diff > atr_current_normalised){
if (stoch_current < stoch_min && flag1 != 1 ) //pair drops down quickly
{ value3 = High[shift] + atr_before_normalised/4;
flag1 = 1;
val1 = value3;
r = value3;
sell_signal_buf[shift]=value3;
sell_stop_line_buf[shift]=value3;
sell_stop_dot_buf[shift]=value3;
Message = "BrainTrend1: "+Symbol()+" M"+Period()+": FAST Signal for SELL";
if(shift==0 && AlertMode == 2) Alert (Message);
}
else
{
sell_signal_buf[shift]=EMPTY_VALUE;
sell_stop_line_buf[shift]=EMPTY_VALUE;
sell_stop_dot_buf[shift]=EMPTY_VALUE;
}
if (stoch_current > stoch_max && flag1 != 2 ) //pair goes up quickly
{ value3 = Low[shift] - atr_before_normalised/4;
flag1 = 2;
val2 = value3;
r = value3;
buy_signal_buf[shift]=value3;
buy_stop_line_buf[shift]=value3;
buy_stop_dot_buf[shift]=value3;
Message = "BrainTrend1: "+Symbol()+" M"+Period()+": FAST Signal for BUY";
if(shift==0 && AlertMode == 2) Alert (Message);
ive also tried an alert on
//------This piece of code calculates BrainTrend1 params and draws them as histogram
flag2=0;
if ( close_diff > atr_current_normalised )
{ if (stoch_current < stoch_min)
flag2 = 1;
else if (stoch_current > stoch_max)
flag2 = 2;
}
if (stoch_current atr_current_normalised)// (stoch_current < stoch_min && flag2 == 1) || (stoch_current < stoch_min && flag2 == 0) )
{ //if ( close_diff > atr_current_normalised )
//{
down_buf[shift] = High[shift];
up_buf[shift] = Low[shift];
//}
}
else
if (stoch_current > stoch_max && close_diff > atr_current_normalised)// (stoch_current > stoch_max && flag2 == 2) || (stoch_current > stoch_max && flag2 == 0) )
{ up_buf[shift] = High[shift];
down_buf[shift] = Low[shift];
}
else
{
down_buf[shift] = EMPTY_VALUE;
up_buf[shift] = EMPTY_VALUE;
}
but still writes the wrong values.
any ideas on how to get the alert when the dot forms correctly?
its odd as the warning alert functions correctly in MT4 but does not write to file correctly...
Hi francisfinley,
I am not a coder so I have no idea.
But my BrainTrading indicators are alerting all the time ... too much sometimes and on close bar (in fully correct way).
So, I do not know why this issue was arised sorry ...
I am trading it every day.
if I missed alert (as I do not like sound alert in Metatrader or any ringing so I am usually switching the sound off) - I go to expert tab to check (to see the alert which I missed:
Alerts are coming on the closed bar and this BrainTrading should be traded on the closed bar too so that's correct.
Hi francisfinley,
I am not a coder so I have no idea.
But my BrainTrading indicators are alerting all the time ... too much sometimes and on close bar (in fully correct way).
So, I do not know why this issue was arised sorry ...
I am trading it every day.
if I missed alert (as I do not like sound alert in Metatrader or any ringing so I am usually switching the sound off) - I go to expert tab to check (to see the alert which I missed:
Alerts are coming on the closed bar and this BrainTrading should be traded on the closed bar too so that's correct.yes alerts are correct. its the faster alerts / warnings that are not writing correctly in brain and hma... trying to find someone who has had this problem in the past...
thanks nd