Expert Advisors: SelfLearningExperts - page 2

 
Automated-Trading:

SelfLearningExperts:

Author: Dmitry

Can it be used for futures trading? As far as I understand, there should be no big difference. But when I try to start the tester, I get the following message

"Sell/Buy position not open, close stoploss or take profit".

The settings are as follows

ReadHistory=false

SaveHistory=false

Lots=1

Nidelt=20

Nstop=2

dstop=250

forg=1.05000000

Probab=0.80000000

NN=10

delta=1

ReplaceStops=false

Trailing=0

What could he not like?


 
Is it possible to run the training on the real, so that it does not open trades?
 
I ran it through the tester but the history is not saved, the Files folder is empty. The functions of reading and saving history are enabled, I don't understand what can be the problem.
 
__zeus__:
I ran it through the tester but the history is not saved, the Files folder is empty. The functions of reading and saving history are enabled, I don't understand what could be the problem.
Take a screenshot and show me where this folder is located?
 

Is there no error in this unit?

// Check for opening a real position
            for(int is=1;is<=Nstop;is++){
               // === Sell === 
               double prob;  
               prob=Store_PowerUp[Ncomb][ip][is]/(Store_PowerUp[Ncomb][ip][is]+Store_PowerDn[Ncomb][ip][is]+0.0001);                
                  if(prob>Probab && Store_TradesCount[Ncomb][ip][is]>10 && TimeToUpdate(LastBuyOpen))  {//4
                     Trade_TakeProfit=StopInPointsParameter[is]; 
                     Trade_StopLoss=StopInPointsParameter[is];  
                     Trade_BuyOpenSignal=true; 
                     CheckSetSellCloseSignal(prob,Trade_SellCloseSignal);
                  }
               CheckSetSellCloseSignal2(ip,is,prob,Trade_SellCloseSignal);  
               // === Buy ===
               prob=Store_PowerDn[Ncomb][ip][is]/(Store_PowerUp[Ncomb][ip][is]+Store_PowerDn[Ncomb][ip][is] + 0.0001); 
                  if(prob>Probab && Store_TradesCount[Ncomb][ip][is]>10 && TimeToUpdate(LastSellOpen)){//4
                     Trade_TakeProfit=StopInPointsParameter[is]; 
                     Trade_StopLoss=StopInPointsParameter[is]; 
                     Trade_SellOpenSignal=1; 
                     CheckSetBuyCloseSignal(prob,Trade_BuyCloseSignal);
                  }
               CheckSetBuyCloseSignal2(ip,is,prob,Trade_SellCloseSignal);
            }
 
Igor Nistor:

Is there no error in this unit?


In the end, there is no error. In one case, a variable is passed by reference and a value is assigned to it there. In the other case, where the wrong variable is passed to the function, nothing is done to it, and the correct variable is assigned in the function.

 
Dmitry Fedoseev:


As a result, there is no error. In one case, the variable is passed by reference and a value is assigned to it there. In the other case, where the wrong variable is passed to the function, nothing is done to it, and the function assigns the correct variable.


Thank you!
 
doesn't trade at all, and there are no errors.. the EA is for those who like to search why it doesn't trade )
 
Maxim Dmitrievsky:
does not trade at all, and there are no errors... the Expert Advisor is for those who like to search why it does not trade )

You need to perform very tricky manipulations with some parameters. Yes, it is complicated, but some people can easily cope with it.
 
Dmitry Fedoseev:

You have to do some very tricky manipulations with some parameters. It is tricky, yes, but some people can easily cope with it.


It trades even with standard parameters.
Could you share some advice on how to put the Expert Advisor into operation - testing mode(ticks/real ticks), initial selection of parameters (optimisation) - start-step-stop.

It is when trying to select, after a few hours goes into a long search on the spot, and the time to the end of optimisations increases hundreds of times.

Thanks.