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
등급
(1853)
프로젝트
3455
88%
중재
73
40% / 15%
기한 초과
265
8%
무료
2
개발자 2
등급
(548)
프로젝트
1330
59%
중재
28
82% / 0%
기한 초과
10
1%
무료
3
개발자 3
등급
(2077)
프로젝트
2636
61%
중재
113
45% / 26%
기한 초과
418
16%
작업중
4
개발자 4
등급
(721)
프로젝트
1040
39%
중재
47
49% / 23%
기한 초과
84
8%
무료
5
개발자 5
등급
(548)
프로젝트
825
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%
무료
8
개발자 8
등급
(49)
프로젝트
74
18%
중재
30
17% / 53%
기한 초과
31
42%
무료
9
개발자 9
등급
(13)
프로젝트
20
30%
중재
5
20% / 80%
기한 초과
5
25%
무료
비슷한 주문
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

프로젝트 정보

예산