Adviser to the whole world - page 86

 

Now I've done a refill and closed the $+5.0? Why wait - for them to slam there?

It's a simple technique. Why don't we include it in the Expert Advisor? And why not, if the margin allows it?

 
sllawa3:
I do not know why you have introduced 4 magicians!


I do not understand what you mean? I have a normal.

They have no effect. We look at them when restarting the Expert Advisor to know what we have now and which orders should be closed afterwards. The algorithm should work properly in case the EA terminates for some reason

 
sllawa3:
MultiInstrument_NEW_RENA EURUSD,M1: zero divide
I keep getting a constant error

Please check if there is something divisible by 0.
 
new-rena:

Look - there's something somewhere that's divisible by 0.
in the cross.
 
sllawa3:
in the cross.


I do not understand. Yours? And this:

int m=MG/MarketInfo (Symb, MODE_MARGINREQUIRED)*margin/Min_Lot;
Lots = m*Min_Lot;

is equal to this:

Lots = MG/MarketInfo (Symb, MODE_MARGINREQUIRED)*margin

Where is your mini lot. It is shortened. Maybe there's something wrong with the maths?

 
new-rena:


I don't get it. Is it in yours? And this:

int m=MG/MarketInfo (Symb, MODE_MARGINREQUIRED)*margin/Min_Lot;
Lots = m*Min_Lot;

is equal to this:

Lots = MG/MarketInfo (Symb, MODE_MARGINREQUIRED)*margin

Where is your mini lot. It is shortened. Maybe there's something wrong with the maths?

Not in yours ... although I see there's nothing to divide by 0 in yours either
 

No. It's not the slot that's causing the error, it's the indication...

Okay... I'll figure it out...

 
sllawa3:
No, it's not a slot error, it's an indicator error.

Are you running mine? I was telling you that the link to the mini-slot is lost... That's in passing.
 
new-rena:

Are you racing mine?
Well, yeah... it's in the examiner.
 

Look at how it works - if it's trending. It's a solid profit, and it's fast. Maybe you shouldn't have bothered with the stochastic.