Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12
Michael Yu  

How come the ea open 0.50 lot size when I had 0.10 for lot in the setting?  Is that a bug?


bug

Nino Guevara Ruwano  
Michael Yu #:

How come the ea open 0.50 lot size when I had 0.10 for lot in the setting?  Is that a bug?



That's because I use the "TradeSizeOptimized" function.

The TradeSizeOptimized function aims to make optimal use of trading funds, where after a large profit is achieved, the EA will adjust the lot size so that traders can get a profit that is in accordance with the available funds.

//+------------------------------------------------------------------+
//| Calculate optimal lot size                                       |
//+------------------------------------------------------------------+
double TradeSizeOptimized(void)
  {
   double price=0.0;
   double margin=0.0;
//--- Calculate the lot size
   if(!SymbolInfoDouble(_Symbol,SYMBOL_ASK,price))
      return(0.0);
   if(!OrderCalcMargin(ORDER_TYPE_BUY,_Symbol,1.0,price,margin))
      return(0.0);
   if(margin<=0.0)
      return(0.0);

   double lot=NormalizeDouble(AccountInfoDouble(ACCOUNT_FREEMARGIN)*MaximumRisk/margin,2);
//--- calculate the length of the series of consecutive losing trades
   if(DecreaseFactor>0)
     {
      //--- request the entire trading history
      HistorySelect(0,TimeCurrent());
      //--
      int    orders=HistoryDealsTotal();  // the total number of deals
      int    losses=0;                    // the number of loss deals in the series

      for(int i=orders-1;i>=0;i--)
        {
         ulong ticket=HistoryDealGetTicket(i);
         if(ticket==0)
           {
            Print("HistoryDealGetTicket failed, no trade history");
            break;
           }
         //--- checking the deal symbol
         if(HistoryDealGetString(ticket,DEAL_SYMBOL)!=_Symbol)
            continue;
         //--- checking the profit
         double profit=HistoryDealGetDouble(ticket,DEAL_PROFIT);
         if(profit>0.0)
            break;
         if(profit<0.0)
            losses++;
        }
      //---
      if(losses>1)
         lot=NormalizeDouble(lot-lot*losses/DecreaseFactor,1);
     }
//--- normalizing and checking the allowed values of the trade volume
   double stepvol=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP);
   lot=stepvol*NormalizeDouble(lot/stepvol,0);

   double minvol=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN);
   if(lot<minvol)
      lot=minvol;

   double maxvol=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX);
   if(lot>maxvol)
      lot=maxvol;
//--- return the value of the trade volume
   return(lot);
  }
AIMAN HAZIQ BIN ZULKJFLI  
EA entry based on what?
Why can't backtest
Do you have any mql5 record for this EA?
Nino Guevara Ruwano  
AIMAN HAZIQ BIN ZULKJFLI #:
EA entry based on what?
Why can't backtest
Do you have any mql5 record for this EA?

Please do a backtest. There is no backtest blocking on this EA.

This NGV1 uses Bollinger as its indicator, I used it last year, and there is no signal for the account.

Currently I use a robot with 3 indicators (Bollinger, MA, RSI), whose signals I publish under the name "Niguru Auto Gold S".

Nino Guevara Ruwano  
Volla1 #:
How long before the EA opens first trade?

Are you asking about time frame?

davialien  

Hi hello.


Does the bot

Niguru Gold V1 continue to work?


How much is the minimum amount for it to work?

Nino Guevara Ruwano  
davialien #:

Hi hello.


Does the bot

Niguru Gold V1 continue to work?


How much is the minimum amount for it to work?

I just upload version 2
Minimum amount is USD 100 for 0.01 lots.

davialien  

Nino Guevara Ruwano #:

I just upload version 2
Minimum amount is USD 100 for 0.01 lots.


Hello Nino, I dont see the new version. It's in the market?

Nino Guevara Ruwano  
davialien #:

Hello Nino, I dont see the new version. It's in the market?

yup
still using this nama V1, because there is no option to rename the EA here, but I already upload the new one.
old name for updated EA

davialien  
Nino Guevara Ruwano #:

yup
still using this nama V1, because there is no option to rename the EA here, but I already upload the new one.
old name for updated EA

Ok thanks, but I put the bot on and don't do nothing. why?

Nino Guevara Ruwano  
davialien #:

Ok thanks, but I put the bot on and don't do nothing. why?


OK, apparently because I installed several filters, this EA doesn't do OP every day. Sorry bro :-)

davialien  
Nino Guevara Ruwano #:


OK, apparently because I installed several filters, this EA doesn't do OP every day. Sorry bro :-)


Thanks. And, what time of the day works?

Nino Guevara Ruwano  
davialien #:


Thanks. And, what time of the day works?


There is no time filter.

augusdel  

¿Podrías enseñar que valores poner como TP, SL y Trend Option por favor?

Gracias .. :)

Nino Guevara Ruwano  
Stephanie Nicole Chavez #:
set files?

You can use default parameter.

Tu Nguyen  

Hi Nino

I turned on the EA for about 2 days but no trades were made.

Can you answer it for me?

Nino Guevara Ruwano  
Tu Nguyen #:

Hi Nino

I turned on the EA for about 2 days but no trades were made.

Can you answer it for me?

EA does not open every day, sometimes there are a few days EA does not do OP. This is because this EA uses several indicators as well as a filter for signals.

Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
12