| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (85) | Thread Tools | Display Modes |
|
|||
|
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 |
|
||||
|
Quote:
|
|
||||
|
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 ![]() |
![]() |
| Bookmarks |
| Tags |
| alert, forex, histogram, Signal, snake, snake indicator, wlxfractals, EMA-Crossover_Signal.mq4, ArrZZx2, ZigZag alert, bobokusfibo, alert signal |
| Thread Tools | |
| Display Modes | |
|
|
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 | ||||