RSI alert (on close)

MQL4 지표

작업 종료됨

실행 시간 1 시간

명시

Hi guys, I have been looking for this indicator online, but have not found anything suitable. Perhaps someone could help me, at least tell me how much this request would likely cost.

 

I would like an indicator that provides a simple alert if the RSI of a previous candle went below a particular level (or higher than a particular level). I would like to be able to customise the levels. 

I would like the indicator to only use the previous candle close because the indicators already out there provide hundreds of spam alerts as it is based on current tick data.

 

The indicator would need to work on all timeframes.

 

Someone sent me some modified code of another indicator, but I am still getting plenty of spam alerts. Any help would be appreciated:

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

//|                                                    RSI-Alert.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_separate_window

#property indicator_minimum 0

#property indicator_maximum 100

#property indicator_buffers 3

#property indicator_color1 DodgerBlue

#property indicator_color2 LightGray

#property indicator_color3 LightGray

#property indicator_width1 1

#property indicator_width2 1

#property indicator_width3 1

#property indicator_style1 STYLE_SOLID

#property indicator_style2 STYLE_DOT

#property indicator_style3 STYLE_DOT

//---- input parameters

extern int RSIPeriod=14;

extern int ApplyTo=0;

extern bool AlertMode=true;

extern int OverBought=70;

extern int OverSold=30;

//---- buffers

double RSIBuffer[];

double RSIOBBuffer[];

double RSIOSBuffer[];

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

//| Custom indicator initialization function                         |

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

int init()

  {

   string short_name;

//---- indicator lines

   SetIndexStyle(0,DRAW_LINE);

   SetIndexBuffer(0,RSIBuffer);

   SetIndexStyle(1,DRAW_LINE);

   SetIndexBuffer(1,RSIOBBuffer);

   SetIndexStyle(2,DRAW_LINE);

   SetIndexBuffer(2,RSIOSBuffer);

//---- name for DataWindow and indicator subwindow label

   short_name="RSI-Alert("+RSIPeriod+")";

   IndicatorShortName(short_name);

   SetIndexLabel(0,short_name);

   SetIndexLabel(1,"OverBought");

   SetIndexLabel(2,"OverSold");

//----

   SetIndexDrawBegin(0,RSIPeriod);

//----

   return(0);

  }

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

//| Relative Strength Index                                          |

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

int start()

  {

   int    i,counted_bars=IndicatorCounted();

//----

   if(Bars<=RSIPeriod) return(0);

//----

   i=Bars-RSIPeriod-1;

   if(counted_bars>=RSIPeriod) i=Bars-counted_bars-1;

   while(i>=0)

   {

      RSIBuffer[i]=iRSI(NULL,0,period,PRICE_CLOSE,1);

      RSIOBBuffer[i]=OverBought;

      RSIOSBuffer[i]=OverSold;

      i--;

   }

   

   if(AlertMode)

   {

      if(RSIBuffer[1]<OverBought && RSIBuffer[0]>=OverBought)

         Alert("RSI "+RSIPeriod+ ", Sell @ Level "+OverBought+" - "+Symbol()+" M"+Period()+" @ "+DoubleToStr(Bid,Digits)+"");

      else if(RSIBuffer[1]>OverSold && RSIBuffer[0]<=OverSold)

         Alert("RSI "+RSIPeriod+ ", Buy @ Level "+OverSold+" - "+Symbol()+" M"+Period()+" @ "+DoubleToStr(Bid,Digits)+"");

   }

//----

   return(0);

  }

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

응답함

1
개발자 1
등급
(1931)
프로젝트
3552
88%
중재
73
40% / 15%
기한 초과
268
8%
무료
2
개발자 2
등급
(618)
프로젝트
1429
59%
중재
31
81% / 0%
기한 초과
10
1%
무료
3
개발자 3
등급
(2349)
프로젝트
2955
63%
중재
125
44% / 26%
기한 초과
429
15%
무료
4
개발자 4
등급
(807)
프로젝트
1127
43%
중재
47
49% / 23%
기한 초과
84
7%
무료
5
개발자 5
등급
(564)
프로젝트
845
73%
중재
15
53% / 13%
기한 초과
193
23%
무료
6
개발자 6
등급
(257)
프로젝트
341
58%
중재
7
14% / 71%
기한 초과
9
3%
무료
7
개발자 7
등급
(14)
프로젝트
27
22%
중재
18
6% / 89%
기한 초과
8
30%
무료
게재됨: 1 코드
8
개발자 8
등급
(49)
프로젝트
74
18%
중재
30
17% / 53%
기한 초과
31
42%
무료
9
개발자 9
등급
(13)
프로젝트
20
30%
중재
5
20% / 80%
기한 초과
5
25%
무료
비슷한 주문
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion

프로젝트 정보

예산