#property copyright"Mql_id:-YesMrSamuel----:Akinbowale-Samuel" #property link"https://www.mql5.com/en/users/yesmrsamuel/seller" #property description"Great_indicators_are:" #property description"FxParade," #property description"MiniChart," #property description"BinaryM" #property description"CounterPipStock," #property description"DoAid," #property description"please_check_my_profile_on_mql.com_at_YesMrSamuel" #property indicator_separate_window #property indicator_buffers 2 #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_color1 Blue #property indicator_color2 Red #property indicator_style2 STYLE_SOLID #property indicator_level1 30 #property indicator_level2 50 #property indicator_level3 70 #property indicator_levelcolor DimGray //--- input parameters extern int RSIPeriod = 14; extern int MAofRSI = 8; extern int MA_method = 1; //Mode EMA //--- buffers double RSIBuffer[]; double MAofRSIBuffer[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //--- 2 buffers used for counting. IndicatorBuffers(2); SetIndexBuffer(0,RSIBuffer); SetIndexBuffer(1,MAofRSIBuffer); //--- indicator line SetIndexDrawBegin(0,RSIPeriod); SetIndexDrawBegin(1,RSIPeriod); //--- name for DataWindow and indicator subwindow label IndicatorShortName("RSI("+RSIPeriod+")"); SetIndexLabel(0,"RSI("+RSIPeriod+")"); SetIndexLabel(1,"MA("+MAofRSI+")"); return(0); } //+------------------------------------------------------------------+ //| Relative Strength Index | //+------------------------------------------------------------------+ int start() { int i; 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=Bars-counted_bars; //--- main loops 1 and 2 for(i=0; i < limit; i++) { RSIBuffer[i]=iRSI(Symbol(),0,RSIPeriod,PRICE_CLOSE,i); } for(i=0; i < limit; i++) { MAofRSIBuffer[i]=iMAOnArray(RSIBuffer,0,MAofRSI,0,MA_method,i); } return(0); } //+------------------------------------------------------------------+
Thank you for your help , but can't understand this and i try take all this copy and put it in expert MQL and nothing happens when i make test strategy
Please excuse me I'm still a beginner -- If you have a clear example of this or you can explain this
lando464:
Thank you for your help , but can't understand this and i try take all this copy and put it in expert MQL and nothing happens when i make test strategy
Please excuse me I'm still a beginner -- If you have a clear example of this or you can explain this
Hi,
You should make an order in freelance section.
Regards
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How to Merge RSI Indicator with Moving Average in my expert
Like this :
https://ibb.co/N660DwN
https://ibb.co/pXF07ps