Experts: RSI EA

 

RSI EA:

RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator.

RSI EA Open Buy

Author: Vladimir Karputov

 
Automated-Trading:

RSI EA:

Author: Vladimir Karputov


it doesn't exist anymore?

 
guivillaca:

it doesn't exist anymore?


?

 

i downloaded your expert rsi ea but when i put it on the windows of a money, it disappears, do you havean idea why it disappears ? thank you

 
yyl :

i downloaded your expert rsi ea but when i put it on the windows of a money, it disappears, do you havean idea why it disappears ? thank you


Check the "Experts" tab in the "Toolbox" window.

 

Can you Explain Trailing Options?

...and input parametters:

InpStopLoss

InpTakeProfit

InpTrailingStop

?


Thanks!

 
siljo :

Can you Explain Trailing Options?

...and input parametters:

InpStopLoss

InpTakeProfit

InpTrailingStop

?


Thanks!

When you run the Expert Advisor, you see all the parameter descriptions. What exactly is not clear?

 
when testing this EA, I get the error: "tester stopped because OnInit failed" How can I fix this?
 
impactlife :
when testing this EA, I get the error: "tester stopped because OnInit failed" How can I fix this?

You do not read messages carefully. In the ALWAYS log there is a reason for unsuccessful initialization.

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   SetMarginMode();
   if(!IsHedging())
     {
      Print("Hedging only!");
      return(INIT_FAILED);
     }
//---
   m_symbol.Name(Symbol());                  // sets symbol name
   if(!RefreshRates())
     {
      Print("Error RefreshRates. Bid=",DoubleToString(m_symbol.Bid(),Digits()),
            ", Ask=",DoubleToString(m_symbol.Ask(),Digits()));
      return(INIT_FAILED);
     }
   m_symbol.Refresh();
//---
   m_trade.SetExpertMagicNumber(m_magic);    // sets magic number

//--- tuning for 3 or 5 digits
   int digits_adjust=1;
   if(m_symbol.Digits()==3 || m_symbol.Digits()==5)
      digits_adjust=10;
   m_adjusted_point=m_symbol.Point()*digits_adjust;

   ExtStopLoss       = InpStopLoss     * m_adjusted_point;
   ExtTakeProfit     = InpTakeProfit   * m_adjusted_point;
   ExtTrailingStop   = InpTrailingStop * m_adjusted_point;
   ExtSlippage       = InpSlippage     * digits_adjust;

   m_trade.SetDeviationInPoints(ExtSlippage);
//---
   if(!m_money.Init(GetPointer(m_symbol),Period(),m_adjusted_point))
      return(INIT_FAILED);
   m_money.Percent(10); // 10% risk
//--- create handle of the indicator iRSI
   handle_iRSI=iRSI(Symbol(),Period(),RSIperiod,PRICE_CLOSE);
//--- if the handle is not created 
   if(handle_iRSI==INVALID_HANDLE)
     {
      //--- tell about the failure and output the error code 
      PrintFormat("Failed to create handle of the iRSI indicator for the symbol %s/%s, error code %d",
                  Symbol(),
                  EnumToString(Period()),
                  GetLastError());
      //--- the indicator is stopped early 
      return(INIT_FAILED);
     }
//---
   return(INIT_SUCCEEDED);
  }
 
"tester stopped because oninit failed"

Its not working o.o
 
Vinícius Zampiroli Cerqueira :
"tester stopped because oninit failed"

Its not working o.o

Read the"Diary" tab in the tester carefully - there is an extended message.