Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (85) Thread Tools Display Modes
  #111 (permalink)  
Old 04-09-2006, 03:57 AM
Member
 
Join Date: Mar 2006
Posts: 60
Nebula is on a distinguished road
BBStop and Fractal Ind. alerts

Would it be possible to get an alert for the BB stop indicator and Fractals? Also I saw someone ask for an alert for Hull Color Change, that would be great too.

Thanks in advance for the help if possible.


~Nebula
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #112 (permalink)  
Old 04-09-2006, 10:40 AM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 363
elihayun is on a distinguished road
How to add alarm to any indicator

Hi
I see a lot of people here asking to add alarm when an indicator is light up. Especially when a arrow/bullet is turn on.

Actually, it is very simple task. All you have to do is follow the following instructions.

1) Every indicator has an indicator array that keep the values of the indicator. Values can be 0 or not 0. To find out the indicator name look for the command: SetIndexBuffer
In the indicator editor it should look like this

SetIndexBuffer(0,ExtMapBuffer);
SetIndexBuffer(1,ExtMapBuffer2);

This lines tell us that we have 2 indicator buffers

2) Look when the indicator buffer change its value.
In the example above we will look to line that contains the following patter:
ExtMapBuffer[number] = where number can be a figure or a name. For example: if(res!=0.0) ExtMapBuffer[shift]=res;
if after the equal sign there is 0 do nothing.

3) Change it to make an alarm.
After finding the value setting line we will add an alarm to it.
a) add { before the setting. In the example above :
if(res!=0.0) {ExtMapBuffer[shift]=res;
b) add the Alert command after the ;. In the example above:
if(res!=0.0) { ExtMapBuffer[shift]=res;
Alert("Indicator set");
}

Do not forget to close the }


4) repeat for every buffer value setting


Compile and you have an indicator with alert

Hope it will help you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #113 (permalink)  
Old 04-09-2006, 11:36 AM
Senior Member
 
Join Date: Mar 2006
Posts: 214
toddanderson is on a distinguished road
Icwr Alert request

Can someone add an alert to the ICWR indicator so when a new
zigzag is created has an alert
Attached Files
File Type: mq4 ICWR v0[1].1 beta5.mq4 (18.9 KB, 269 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #114 (permalink)  
Old 04-09-2006, 04:24 PM
Member
 
Join Date: Mar 2006
Posts: 60
Nebula is on a distinguished road
Thank you Elihayun

I will attempt to do this with an indicator. Learning this bit of programming would be good for me rather than to rely on others, I appreciate the instruction.

~Nebula
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #115 (permalink)  
Old 04-09-2006, 05:45 PM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 363
elihayun is on a distinguished road
u are welcome

Quote:
Originally Posted by Nebula
I will attempt to do this with an indicator. Learning this bit of programming would be good for me rather than to rely on others, I appreciate the instruction.

~Nebula
u are welcome
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #116 (permalink)  
Old 04-10-2006, 08:36 AM
trader79's Avatar
Junior Member
 
Join Date: Nov 2005
Posts: 20
trader79 is on a distinguished road
Fisher with Sound Alert

Could somebody please code sound alert for Fisher indicator which I am attaching. I need sound alert or an external sound file like an MP3. I would appreciate any help.
Attached Files
File Type: mq4 Fisher_v1.mq4 (2.7 KB, 300 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #117 (permalink)  
Old 04-10-2006, 08:44 AM
Member
 
Join Date: Mar 2006
Posts: 85
yass is on a distinguished road
Braintrend2sig

Please can any one send the Braintrend2sig indicator with sound alarm!!
thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #118 (permalink)  
Old 04-10-2006, 02:46 PM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 363
elihayun is on a distinguished road
Quote:
Originally Posted by trader79
Could somebody please code sound alert for Fisher indicator which I am attaching. I need sound alert or an external sound file like an MP3. I would appreciate any help.
I change it for you. If you know how to program, use my changes as a guidlines
Attached Files
File Type: mq4 Fisher_v1.mq4 (3.1 KB, 419 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #119 (permalink)  
Old 04-10-2006, 03:13 PM
trader79's Avatar
Junior Member
 
Join Date: Nov 2005
Posts: 20
trader79 is on a distinguished road
Thumbs up

Quote:
Originally Posted by elihayun
I change it for you. If you know how to program, use my changes as a guidlines
Thanks a lot Eli.
Please check your PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #120 (permalink)  
Old 04-10-2006, 07:02 PM
trishycamp's Avatar
Junior Member
 
Join Date: Apr 2006
Posts: 7
trishycamp is on a distinguished road
alert for adx cross

HI-
Here is what I have done so far to get the adx crosses to alert when it crosses, there are no erros when I compile but it seems like it isn't alerting properly??
Here is the code:
//+------------------------------------------------------------------+
//| FirstIndicator.mq4 |
//| Copyright ゥ 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright ゥ 2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 LimeGreen
#property indicator_color2 Red
//---- input parameters
extern int a=14;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];

double b4plusdi,b4minusdi,nowplusdi,nowminusdi;

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_ARROW,EMPTY);
SetIndexArrow(0,233);
SetIndexBuffer(0, ExtMapBuffer1);

SetIndexStyle(1,DRAW_ARROW,EMPTY);
SetIndexArrow(1,234);
SetIndexBuffer(1, ExtMapBuffer2);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here
ObjectDelete("up cross");
ObjectDelete("down cross");


//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int limit;
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);

//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=1000-counted_bars;
//---- macd counted in the 1-st buffer

for(int i=limit; i>=0; i--)
{
b4plusdi=iADX(NULL,0,a,PRICE_CLOSE,MODE_PLUSDI,i-1);
nowplusdi=iADX(NULL,0,a,PRICE_CLOSE,MODE_PLUSDI,i) ;

b4minusdi=iADX(NULL,0,a,PRICE_CLOSE,MODE_MINUSDI,i-1);
nowminusdi=iADX(NULL,0,a,PRICE_CLOSE,MODE_MINUSDI, i);

if(b4plusdi>b4minusdi &&
nowplusdi<nowminusdi)
// {
ExtMapBuffer1[i]=Low[i]-5*Point; Alert ("Indicator set");
}
// }
if(b4plusdi<b4minusdi &&
nowplusdi>nowminusdi)
// {
{ExtMapBuffer2[i]=High[i]+5*Point; Alert("Indicator set");
}
// }
}
//----
return(0);


I would appreciate any help with this as I am not a programmer. Trisha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
alert, forex, histogram, Signal, snake, snake indicator, wlxfractals, EMA-Crossover_Signal.mq4, ArrZZx2, ZigZag alert, bobokusfibo, alert signal

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/87-indicators-alert-signal.html
Posted By For Type Date
Stochastic w/ Signals This thread Refback 09-08-2008 08:32 PM
??????MetaTrader????????????? - MetaTrader???Wiki This thread Refback 08-18-2008 10:19 AM
Stochastic w/ Signals This thread Refback 08-15-2008 07:32 AM
Stochastic w/ Signals This thread Refback 08-15-2008 06:31 AM
MetaTrader初心者専用スレ This thread Refback 08-03-2008 11:39 AM
【隔離スレ】MetaTrader初心者専用3【ゆとり専用】 This thread Refback 07-26-2008 05:13 PM
Bright Ideas :: View topic - Today's Trend (CLOSED) Post #1216 Refback 07-15-2008 11:08 AM
【隔離スレ】MetaTrader初心者専用3【ゆとり専用】 This thread Refback 07-05-2008 06:43 PM
【隔離スレ】MetaTrader初心者専用3【ゆとり専用】 This thread Refback 07-05-2008 02:05 PM
MetaTrader初心者専用スレ This thread Refback 06-29-2008 01:54 AM
ヤ 粢蔘頷 裨蒟 碣褞 ヤ裲 (Forex) ヤ褞瑾, 竟褞褪 裨蒻 瑙琿頸韭. ネ粢頽韋 蒡粢頸褄 珞褊韃. - マ 裼瑣裨鞣 瑣裙 +50$ 鈞 蒟 This thread Refback 06-23-2008 04:49 PM
タマホミメ: 竟蒻瑣 midpoint MetaTrader 4 This thread Refback 06-14-2008 08:56 AM
、筅テ、チ、ホMeta Trader」エ、ヌス酘・、・ヌ・、・ネ・ TOP・レ。シ・クニ簣ニ This thread Refback 06-03-2008 11:07 AM
Bollinger Indicator Request Post #721 Refback 05-28-2008 03:52 AM
Bollinger Indicator Request Post #721 Refback 05-20-2008 04:29 AM
Help with RSI<> Bollinger bands Alert Post #1439 Refback 05-01-2008 12:36 PM
・ニ・ッ・ヒ・ォ・ | 1ヒア゚、ォ、鯲ワサリ、ケクカサイノ This thread Refback 04-29-2008 09:53 PM
Help with RSI<> Bollinger bands Alert Post #1439 Refback 04-17-2008 03:24 AM
MA Cross 3MACross Alert WarnSig - MQL4 莉」 ∝渕蝨ー Post #1273 Refback 04-14-2008 09:42 AM
Help with RSI<> Bollinger bands Alert Post #1439 Refback 04-13-2008 08:31 PM
Help with RSI<> Bollinger bands Alert Post #1439 Refback 04-13-2008 08:12 PM
Help with RSI<> Bollinger bands Alert Post #1439 Refback 04-13-2008 07:56 PM
MA Cross 3MACross Alert WarnSig - MQL4 Code Base Post #1273 Refback 04-13-2008 01:17 PM
MA Cross 3MACross Alert WarnSig - MQL4 Code Base Post #1273 Refback 04-13-2008 05:40 AM
゚ン ヌヨレ フムモ 贄モヌ睨 ハ菠 - 聿ハマヌハ ヌ矼ハマヌ趁 ヌ瞽ムネ This thread Pingback 04-04-2008 01:49 PM
Advanced Get Oscillator - MQL4 莉」 ∝渕蝨ー Post #1238 Refback 04-01-2008 02:46 PM
MBA - MQL4 莉」 ∝渕蝨ー Post #1130 Refback 03-31-2008 08:23 AM
Polite Request This thread Refback 03-27-2008 11:08 AM
Polite Request This thread Refback 03-27-2008 10:58 AM
ツ 鈞琅 鉋籵褄 angell 胛 This thread Refback 03-26-2008 07:42 PM
Advanced Get Oscillator - MQL4 Code Base Post #1238 Refback 03-26-2008 05:58 PM
MBA - MQL4 Code Base Post #1130 Refback 03-26-2008 01:32 PM
MBA - MQL4 Code Base Post #1130 Refback 03-26-2008 01:31 PM
MA Cross 3MACross Alert WarnSig - MQL4 Code Base Post #1273 Refback 03-26-2008 01:25 PM
Advanced Get Oscillator - MQL4 Code Base Post #1238 Refback 03-26-2008 01:25 PM
Advanced Get Oscillator - MQL4 Code Base Post #1238 Refback 03-25-2008 09:39 AM
OzFx Forex System View topic - Looking for Simple 5,3,4 stoch EA