Unprofitable trades 0!!!!!! - page 4

 
Mathemat >> :

Yeah, and I'm having glitches: the avatars are different...

Another joke, then.


In the army. A warrant officer does a roll call:

-Ivanov

-Sidorov

-Petrov

-Brothers ???

-No twins.

 
Mathemat >> :

Yeah, and I'm having glitches: the avatars are different...

Different are different, only the hands and laptop seem to be the same.

 
TheXpert >> :

Different is different, only the hands and laptop seem to be the same.

There you go! Three pipsqueaks there, two typists there - that's a trend!

 
granit77 >> :

There you go! There's three pipsqueaks, there's two machinists - it's a trend!

It's all the glitches' fault.......

 

Friends, can you advise a dummy how to set up automatic generation of new positions, within the balance of free funds, with filled in at once TP fields? I want to see how much you can earn if all positions are opened only with a small TP. If only we could teach the program to analyse the entire market, for the selection of the most active pairs to be opened.

And why have I closed these two positions in minus?

 
flatpr >> :

>> and why did I close these two positions down?

Eurochief has a bigger spread, so it should have fallen 4-6 pips for sal to be +.

 

Here is what I got from yesterday's trade -

9417598 2008.11.27 15:47 buy 0.70 gbpusd 1.5457 0.0000 0.0000 2008.11.27 15:50 1.5460 0.00 0.00 0.0021.00
777
buy
9416496 2008.11.27 15:32 buy 0.60 gbpusd 1.5441 0.0000 0.0000 2008.11.27 15:34 1.5446 0.00 0.00 0.0030.00
777
buy
9416126 2008.11.27 15:26 buy 0.60 gbpusd 1.5432 0.0000 0.0000 2008.11.27 15:27 1.5436 0.00 0.00 0.0024.00
777
buy
9409220 2008.11.27 13:03 sell 0.50 gbpusd 1.5493 0.0000 0.0000 2008.11.27 14:16 1.5439 0.00 0.00 0.00270.00
777
sell
9393375 2008.11.27 07:48 buy 0.50 gbpusd 1.5380 0.0000 0.0000 2008.11.27 08:27 1.5408 0.00 0.00 0.00140.00
9348670
buy
9393444 2008.11.27 07:54 buy 0.10 gbpusd 1.5378 0.0000 0.0000 2008.11.27 08:27 1.5408 0.00 0.00 0.0030.00
9348670
buy
9391805 2008.11.27 06:13 buy 0.50 gbpusd 1.5361 1.4859 0.0000 2008.11.27 06:16 1.5362 0.00 0.00 0.005.00
9348670
buy
9390683 2008.11.27 05:24 sell 0.50 gbpusd 1.5386 1.5436 0.0000 2008.11.27 05:30 1.5385 0.00 0.00 0.005.00
9348670
sell
9390136 2008.11.27 04:37 sell 0.50 gbpusd 1.5387 0.0000 0.0000 2008.11.27 04:38 1.5385 0.00 0.00 0.0010.00
9348670
sell
9390086 2008.11.27 04:34 balance Deposit 1 000.00
0.00 0.00 0.00 535.00

 
flatpr >> :

and why did i close these two positions negative?

Vot you have the first SELL position closed with a difference of 2 points between opening and closing and a profit of 0.16, and which were minus by only 1 point.

>> :

how to set up automatic generation of new positions, within the balance of available funds

What exactly do you want to do? Maybe you want to use 100% of your deposit, for that just make an auto-lot percentage, which will expose not 0.01, but 0.05. Just do not forget that the market may go sideways for a while and you won't have enough money to support these trades. So...

( это в начале где параметры пишешь)
string _Parameters_b_Lots = "Параметры модуля расчёта лота"; 
int LotsWayChoice = 1;     // Способ выбора рабочего лота: 
                                  //  0-фиксированный, 
                                  //  1-процент от депозита, 
                                  //  2-фракционно-пропорциональный, 
                                  //  3-фракционно-фиксированный, 
extern int LotsPercent    = 40;    // Процент от депозита (Оптимизация проведена для 1000$)
int LotsDeltaDepo  = 20;   // Коэффициент приращения депозита 
int LotsDepoForOne = 20;   // Размер депозита для одного минилота 
int LotsMax        = 10000; // Максимальное количество лотов 
( это после int start()  в самом конце после return(0))
double GetSizeLot() 
  { 
   double dLot; 
   if( LotsWayChoice == 0) 
     dLot = lotsi; 
// фиксированный процент от депозита 
   if( LotsWayChoice == 1) 
     { 
       dLot = MathCeil(AccountFreeMargin() / 10000* LotsPercent)/10; 
     } 
// фракционно-пропорциональный 
   if( LotsWayChoice == 2) 
     { 
       int k = LotsDepoForOne; 
       //----
       for(double i = 2; i <= LotsMax; i++) 
         { 
           k = k + i* LotsDeltaDepo; 
           //----
           if( k > AccountFreeMargin()) 
             { 
               dLot = ( i - 1) / 10; 
               break; 
             } 
         } 
     } 
// фракционно-фиксированный 
   if( LotsWayChoice == 3) 
     { 
       dLot = MathCeil((AccountFreeMargin() - LotsDepoForOne) / LotsDeltaDepo)/10; 
     } 
//----
   if( dLot < 0.1)  
       dLot = 0.1; 
//----
   if( dLot > LotsMax) 
       dLot = LotsMax;   
   return( dLot);  
  } 

That's what my EA is running on.

 
satop >> :

something about an avatar...

I got my avatar from some ancient cliparts in the JOB)))) folder.

 
KimIV >> :

I'm not the one who told you not to say it's a fit-up! You asked me not to say that it was a fit-up! And in your defence you made a strong argument that it was optimization. I thought you knew more than I do, so I decided to ask you in an uncharacteristic manner. I used hard rock, jazz and a little bit of Russian folk...

Now about what I know.

Optimisation is a process. Optimisation is the result of optimisation. Can you add something to it? :-)

Well, what if the optimization was done on one period, and testing on other dates shows the same result? You've already said about drawdown. How may I decrease it, if my main open signals are coming from stochastic

if(iStochastic(NULL,0, K, P, S,MODE_SMA,0,MODE_MAIN,0)<20  &&  iStochastic(NULL,0, K, P, S,MODE_SMA,0,MODE_SIGNAL,0)<20  &&  iStochastic(NULL,0, K, P, S,MODE_SMA,0,MODE_MAIN,0)>iStochastic(NULL,0, K, P, S,MODE_SMA,0,MODE_SIGNAL,0))

and on the close they come from the target.

 if (profit>=target)

The only thing I can regulate, is the size of lot, it's the percentage of my deposit.

if( LotsWayChoice  ==  1)  
       {  
        dLot  =  MathCeil(AccountFreeMargin()  /  10000* LotsPercent)/10;  
       }
Reason: