RSI alert (on close)

MQL4 Indicadores

Trabajo finalizado

Plazo de ejecución 1 hora

Tarea técnica

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);

  }

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

Han respondido

1
Desarrollador 1
Evaluación
(1853)
Proyectos
3455
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Libre
2
Desarrollador 2
Evaluación
(548)
Proyectos
1330
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
3
Desarrollador 3
Evaluación
(2077)
Proyectos
2636
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
4
Desarrollador 4
Evaluación
(721)
Proyectos
1040
39%
Arbitraje
47
49% / 23%
Caducado
84
8%
Libre
5
Desarrollador 5
Evaluación
(548)
Proyectos
825
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Trabaja
6
Desarrollador 6
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
7
Desarrollador 7
Evaluación
(14)
Proyectos
27
22%
Arbitraje
18
6% / 89%
Caducado
8
30%
Libre
8
Desarrollador 8
Evaluación
(49)
Proyectos
74
18%
Arbitraje
30
17% / 53%
Caducado
31
42%
Libre
9
Desarrollador 9
Evaluación
(13)
Proyectos
20
30%
Arbitraje
5
20% / 80%
Caducado
5
25%
Libre
Solicitudes similares
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Hello, This is pretty simple and its an indicator with On/Off button 1-Off will remove all indicator from the chart. 2-On will put them all back again with the same settings
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need

Información sobre el proyecto

Presupuesto