Market: no trading operations - page 6

 
Maksim Neimerik:

So what were you talking about there...?

We were talking about how you can't pass the validator check without the help of the hall.

Has something changed?

Just don't create any more stupid topics, okay?

 
Evgeny Belyaev:

We talked about how you can't pass the validator check without the help of the hall.

Has something changed?

Just don't create any more stupid topics, okay?

Oh, are you offended?! You just don't read topics you think are stupid, okay?

 
Maksim Neimerik:

Oh, are you offended?! You just don't read topics you think are stupid, okay?

Yeah, I'm crying my eyes out. I was offended by a local fool. How'd it go at least tell us all.

 
Evgeny Belyaev:

Yeah, I'm crying my eyes out. I've been hurt by a local fool. At least tell me how it went for everyone.

I wrote above how...

 
Maksim Neimerik:

I wrote above how...

Why are you editing everything?

Uncle Gianni told you how to do it:

Forum on trading, automated trading systems and testing trading strategies

Market: No trading operations

Evgeny Belyaev, 2020.01.27 16:35

If the lot is less than the minimum allowable, then equal the lot to the minimum allowable.

No thanks necessary.

 
Evgeny Belyaev:

Why are you editing everything?

Uncle Zhenya told me how to do it:

No thank yous.

did you even understand what you wrote?

i.e. if a person does not have enough money to trade (say Equity = 0), then the lot is minimal and we send an order to the trade server?

he'll get banned ;)

read it carefully ...

;)

 
Maksim Neimerik:

Build a normal function with a lot return, not a true/false check

double LotSize(...)
 {
 MMLots=MathFloor((OrderLots()*coeff)/lotStep)*lotStep; // Пример
 ...
 //- вернем результат
  if(MMLots<MinLot) MMLots=MinLot;
  if(MMLots>MaxLot) MMLots=MaxLot;
  return(NormalizeDouble(MMLots,LotDigit(symb)));
 }
 
Renat Akhtyamov:

did you even understand what you wrote?

So if a person doesn't have enough money, the lot is minimal?

Read carefully.

;)

Are you reading diagonally?

Forum on trading, automated trading systems and testing trading strategies

Market: No trading operations

Evgeny Belyaev, 2020.01.27 16:35

If the lot is less than the minimum allowable one, then we will equate it to the minimum allowable one. Correspondingly, if it is larger, then EA will trade larger lot.

No tester \tester checks are needed.

And do not forget all other checks. Margin, normalization...

Vitaliy pointed out your error long time ago, but instead of finding the error you're just ranting.

If you take the simple EA on position opening, it may slap an order on every tick. You do not need any other trading logic. Check all of your check functions. If it passes the check, all is ok, if it fails, check each line of code. You should understand that the validator can set any lot in the settings as 0 or negative, in this case, if there is enough margin, the bot should perform trades during testing.

PS It is advisable to check on the MQ server, as the validator checks on that server.

Do you have more questions for me?

Where is your grail when we will see the signal?

 
Renat Akhtyamov:

did you even understand what you wrote?

So if a person does not have enough money to trade (let's say Equity = 0), then the lot is minimal and we send an order to the trading server?

he gets banned ;)

carefully read

;)

need more verification

if(AccountFreeMarginCheck(symb,type,ll)<=0) {
 // нет денег
 ...
 
Vitaly Muzichenko:

We need more verification.

he has already implemented it, but in his own way

And when testing in the Market, this is also checked, I don't argue.

Reason: