Andrekramp
3
Andrekramp  

enquiry

I like the alert/signal indicators , i have used a couple of them but what I am looking for is a accurate trailing stop indicator to use on all time frames , can anybody help me .thanx andre

dobytok
7
dobytok  

Hi all,

I would like to ask if someone can add alert to this indicator

Thank you very much

fxbs
3203
fxbs  

PIPQInd_SLTSm.mq4

nPips=65;

SendAlert=false ;

SendEmail=false;

AlertMinutesB4Close =5;

AlertEveryNMinutes =10;

ATRmultiplier= 0.45; //

Alert("PIPQind: Look for Buying opportunity soon ......

SendMail("Possible Buy setup on "+Symbol(),"PIPQin......

ahmedazizelias
386
ahmedazizelias  
fxbs:
PIPQInd_SLTSm.mq4

nPips=65;

SendAlert=false ;

SendEmail=false;

AlertMinutesB4Close =5;

AlertEveryNMinutes =10;

ATRmultiplier= 0.45; //

Alert("PIPQind: Look for Buying opportunity soon ......

SendMail("Possible Buy setup on "+Symbol(),"PIPQin......

you are always great fxbs

Please,May i ask you for the best use ?

(is it same version like this PIPQind - MQL4 Code Base , what is the difference , and which is better)..need ur help please

thank you for ur indicators and ur kind help

fxbs
3203
fxbs  

same indi - minor changes in alert section (just 4 convenience to use (4 me at least), so had to stick "m" in the end

just "digged it up"; best use - don't know yet

Vlasoff
5
Vlasoff  

Alert on break trendline in indicator window.

Please, can anyone make alert on trendline break in indicator window?

I atach some pic what i need.

tradervic
10
tradervic  

ADX Indicator in need of tweaking

Can anyone help fine tune this indicator? Its an ADX cross signal that really works pretty good but the only problem is it gives a signal at the end of every bar. It shows a buy or sell signal at each cross, but then it continues to send out the same signal after every bar. Also, you can only have one chart open at a time with the indicator attached, otherwise the signals seem to cross, cancelling one another out in the journal. Any help anyone can provide would be muc appreciated!!

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

//| ADX Crossing.mq4

//| Amir

//| Modified to give alert and send email by MrPip

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

#property copyright "Author - Amir"

#property indicator_chart_window

#property indicator_buffers 2

#property indicator_color1 Lime

#property indicator_color2 Red

//---- input parameters

extern int ADXbars=14;

extern int CountBars=350;

extern bool SoundON=true;

extern bool EmailON=true;

//---- buffers

double val1[];

double val2[];

int flagval1 = 0;

int flagval2 = 0;

double b4plusdi,nowplusdi,b4minusdi,nowminusdi;

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

//| Custom indicator initialization function |

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

int init()

{

string short_name;

//---- indicator line

IndicatorBuffers(2);

SetIndexStyle(0,DRAW_ARROW);

SetIndexArrow(0,108);

SetIndexStyle(1,DRAW_ARROW);

SetIndexArrow(1,108);

SetIndexBuffer(0,val1);

SetIndexBuffer(1,val2);

GlobalVariableSet("AlertTime"+Symbol()+Period(),CurTime());

GlobalVariableSet("SignalType"+Symbol()+Period(),OP_SELLSTOP);

// GlobalVariableSet("LastAlert"+Symbol()+Period(),0);

//----

return(0);

}

int deinit()

{

GlobalVariableDel("AlertTime"+Symbol()+Period());

GlobalVariableDel("SignalType"+Symbol()+Period());

// GlobalVariableDel("LastAlert"+Symbol()+Period());

return(0);

}

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

//| ADX Crossing |

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

int start()

{

double tmp=0;

if (CountBars>=Bars) CountBars=Bars;

if (CountBars>=1000) CountBars=950;

SetIndexDrawBegin(0,Bars-CountBars + 12);

SetIndexDrawBegin(1,Bars-CountBars + 12);

int i,shift,counted_bars=IndicatorCounted();

//---- check for possible errors

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

//---- initial zero

if(counted_bars<1)

{

for(i=1;i<=CountBars;i++) val1[CountBars-i]=0.0;

for(i=1;i<=CountBars;i++) val2[CountBars-i]=0.0;

}

for (shift = CountBars; shift>=0; shift--)

{

b4plusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift-1);

nowplusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift);

b4minusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift-1);

nowminusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift);

if (b4plusdi>b4minusdi && nowplusdi<nowminusdi)

{

if (shift == 1 && flagval1==0){ flagval1=1; flagval2=0; }

val1[shift]=Low[shift]-5*Point;

}

if (b4plusdinowminusdi)

{

if (shift == 1 && flagval2==0) { flagval2=1; flagval1=0; }

val2[shift]=High[shift]+5*Point;

}

}

if (flagval1==1 && CurTime() > GlobalVariableGet("AlertTime"+Symbol()+Period()) && GlobalVariableGet("SignalType"+Symbol()+Period())!=OP_BUY)

{

// Print("Last Alert before BUY = ",GlobalVariableGet("LastAlert"+Symbol()+Period()));

// if (GlobalVariableGet("LastAlert"+Symbol()+Period()) < 0.5)

// {

if (SoundON) Alert("BUY signal at Ask=",Ask,", Bid=",Bid,", Time=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," Symbol=",Symbol()," Period=",Period());

if (EmailON) SendMail("BUY signal alert","BUY signal at Ask="+DoubleToStr(Ask,4)+", Bid="+DoubleToStr(Bid,4)+", Date="+TimeToStr(CurTime(),TIME_DATE)+" "+TimeHour(CurTime())+":"+TimeMinute(CurTime())+" Symbol="+Symbol()+" Period="+Period());

// }

tmp = CurTime() + (Period()-MathMod(Minute(),Period()))*60;

GlobalVariableSet("AlertTime"+Symbol()+Period(),tmp);

GlobalVariableSet("SignalType"+Symbol()+Period(),OP_SELL);

// GlobalVariableSet("LastAlert"+Symbol()+Period(),1);

}

if (flagval2==1 && CurTime() > GlobalVariableGet("AlertTime"+Symbol()+Period()) && GlobalVariableGet("SignalType"+Symbol()+Period())!=OP_SELL)

{

// Print("Last Alert before SELL = ",GlobalVariableGet("LastAlert"+Symbol()+Period()));

// if (GlobalVariableGet("LastAlert"+Symbol()+Period()) > -0.5)

// {

if (SoundON) Alert("SELL signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," Symbol=",Symbol()," Period=",Period());

if (EmailON) SendMail("SELL signal alert","SELL signal at Ask="+DoubleToStr(Ask,4)+", Bid="+DoubleToStr(Bid,4)+", Date="+TimeToStr(CurTime(),TIME_DATE)+" "+TimeHour(CurTime())+":"+TimeMinute(CurTime())+" Symbol="+Symbol()+" Period="+Period());

// }

tmp = CurTime() + (Period()-MathMod(Minute(),Period()))*60;

GlobalVariableSet("AlertTime"+Symbol()+Period(),tmp);

GlobalVariableSet("SignalType"+Symbol()+Period(),OP_BUY);

// GlobalVariableSet("LastAlert"+Symbol()+Period(),-1);

}

return(0);

}

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

Sirius
587
Sirius  

Please, can anyone make an alert when the float changing (the first girder after the gap). This would be great

vicebet
10
vicebet  

Hi everyone.. I've understand that an indicator can send alert by email... izzit possible to send a sms to handphones??

I've been trading my system manually.. it is simple and if manage well can be profitable.. but it's using 1hour chart so i need to stick on the pc screen 24/5!!!!!! i cant stand anymore... but thats money to be made...

So I need anyone to make me an indicator with sms alert... And if possible an expert advisor for the purpose of backtesting...

At the same time I do not wish to expose my system... how is that possible? haha...

Linuxser
5921
Linuxser  
vicebet:
Hi everyone.. I've understand that an indicator can send alert by email... izzit possible to send a sms to handphones??

I've been trading my system manually.. it is simple and if manage well can be profitable.. but it's using 1hour chart so i need to stick on the pc screen 24/5!!!!!! i cant stand anymore... but thats money to be made...

So I need anyone to make me an indicator with sms alert... And if possible an expert advisor for the purpose of backtesting...

At the same time I do not wish to expose my system... how is that possible? haha...

If you can receive email into your cell phone it should not be a problem.

Free Email to SMS Gateways