Experts: Angry Bird (Scalping) - page 3

 
Joseph Kisakye # :

Hello;

What is the meaning of Glubina in Angry Bird (Scalping) EA!?

This is a transliteration: "Depth", "Window width", "Number of bars"

 
I wanted to ask if the parameter "use equity stop" true "total equity risk" does it mean closing all trades if the drawdown exceeds the specified value? value in deposit currency?
 
Terek #:
I wanted to ask if the parameter "use equity stop" true "total equity risk" does it mean closing all trades if the drawdown exceeds the specified value? value in deposit currency?
You need to read the description and you need to read the code.  Please open the code and read the variables.  If it's not clear, indicate the lines of code that are not clear.
 
Vladimir Karputov #:
You need to read the description and you need to read the code.  Please open the code and read the variables.  If it's not clear, indicate the lines of code that are not clear.

I cannot find this description, that's why I'm asking, I'm not specialist in code either, just checked description inside code and it lacks this info there, but as I understand it's in this part :

 if(UseEquityStop)
     {
      if(CurrentPairProfit<0.0 && MathAbs(CurrentPairProfit)>TotalEquityRisk*m_account.Equity()/100.0)
        {
         CloseThisSymbolAll();
         Print("Closed All due to Stop Out");
         NewOrdersPlaced=false;
         return;


so it's in account equity % , right?

 
Terek # :

I cannot find this description, that's why I'm asking, I'm not specialist in code either, just checked description inside code and it lacks this info there, but as I understand it's in this part :


so it's in account equity % , right?

Yes, funds in%

 
ok, so that's was the issue when testing with different initial balance results was different and, seems when account grows lots are kept the same initial but this equity loss keeps increasing. I've found good settings for small initial balance of 50 eur,  equity stop 5 (%) ,  it equals 2.5 eur. But I would like to keep it this way when account grows and change it manually together with lot size not in % but in currency units, I wonder is it hard and maybe I can ask you for help to achieve it? of course there is always a work around, trying to change this % if needed or using second equity stop ea, but I have such ea only for mt4, but all this is not good for backtesting, so maybe it's possible to put it in code?
Reason: