Experts: RSI EA - page 5

 
Vladimir Shumikhin:
I get this error for some reason 2019.07.22 20:02:30.477 RSI EA (EOSUSD.bfx,M5) CExpertBase::Init: attempt of re-initialisation



CExpertBase::Init: attempt of re-initialisation comes out if initialisation is performed with incorrect parameters, for example, the block for adding filter1 is described, but you specify to add filter0. at least I encountered the error on the example below.



//--- Creating filter MA
   CSignalMA *filter2=new CSignalMA;
   if(filter2==NULL)
     {
      //--- failed
      printf(__FUNCTION__+": error creating filter2");
      ExtExpert.Deinit();
      return(INIT_FAILED);
     }
   signal.AddFilter(filter0);
//--- Set filter parameters
   filter2.PeriodMA(Signal_MA_PeriodMA);
   filter2.Shift(Signal_MA_Shift);
   filter2.Method(Signal_MA_Method);
   filter2.Applied(Signal_MA_Applied);
   filter2.Weight(Signal_MA_Weight);

error in the code - the AddFilter property should add filter 2, not 0 signal.AddFilter(filter2);

 

I saw this EA will enter trade when it reach/break in an overbought/oversold zone. Could it change the setting to breakout overbought/oversold zone then only enter trade?

 
songchiu0915 :

I saw this EA will enter trade when it reach/break in an overbought/oversold zone. Could it change the setting to breakout overbought/oversold zone then only enter trade?

I have RSI Arrow Out of Zone indicator

How the indicator works

The 'RSI Arrow Out of Zone' indicator draws two indicator buffers using the DRAW_ARROW drawing style. The ' Oversold ' Buffer is drawn when the indicator EXITS the oversold zone, and the ' Overbought ' Buffer is drawn when the indicator EXITS the overbought zone. The zones are set by the parameters ' RSI: Value Level Down ' and ' RSI: Value Level Up '.

If it suits you, then there is a series of Expert Advisors based on this indicator:

RSI Arrow Out of Zone
RSI Arrow Out of Zone
  • www.mql5.com
Индикатор на базе iRSI (Relative Strength Index, RSI) - ищет моменты ВЫХОДА из зон перепроданности и перекупленности
 
how do i change the currency pair its trading, currently its only doing EURUSD?
 
fachi03 # :
how do i change the currency pair its trading, currently its only doing EURUSD?

The Expert Advisor works with the currency pair of the chart you attached it to.

[Deleted]  

AYUDA


Hello, I hope you can help me. You have many EAs that work with rsi but none of them work. It is supposed that if I use the period 20 and overbought 50, it must execute a sale. if in oversold if you place 10 when you break that limit you must buy your EA it doesn't work that way no EA works for me in crash and boom they don't work in backtesting it works wonderfully and respects the parameters but in the real account real graph stops work I want you to help me please I don't know much about programming and I need your help my brother I also want to say for example that if I place rsi period 20 sell 50 he does not sell in that area but when he makes a strong spike that falls to the area 47 or 45, he just opened a sale, why? The only thing I want is for the EA to sell IF IT REACHES the 50 zone and if it hits the 10 zone, buy that's all

Files:
AYUDA.PNG  61 kb
ayuda_2.PNG  53 kb
 
Alexander Rosero #Hello, I hope you can help me. You have many EAs that work with rsi but none of them work. It is supposed that if I use the period 20 and overbought 50, it must execute a sale. if in oversold if you place 10 when you break that limit you must buy your EA it doesn't work that way no EA works for me in crash and boom they don't work in backtesting it works wonderfully and respects the parameters but in the real account real graph stops work I want you to help me please I don't know much about programming and I need your help my brother I also want to say for example that if I place rsi period 20 sell 50 he does not sell in that area but when he makes a strong spike that falls to the area 47 or 45, he just opened a sale, why? The only thing I want is for the EA to sell IF IT REACHES the 50 zone and if it hits the 10 zone, buy that's all

Most EAs will fail with Boom & Crash, because they have either a Spike or a Drop which are very large and will "break" any stop-loss or take-profit.

It is part of how Boom & Crash are designed to deliberately cause slippage. They require very different strategies and most EAs are not able to work with them.

You need to design and code an EA that is specific to the way Boom & Crash works and behaves.