creer un seul robot

Created at 08 Oct 2012, 16:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TR

tradermatrix

Joined 24.07.2012

creer un seul robot
08 Oct 2012, 16:00


bonjour
pour créer des bénéfices je travaille avec mes 2 robots .
quand je perd sur  l'un.... je gagne sur l'autre .
Ensuite la martingale me rembourse...
Attention à la marge.
regler le stop loss et take profit  suivant le solde solde...

pour des raisons pratiques pouvez vous m aider a construire un seule robot qui fonctionnent comme mes 2 robots.

Et nous pourrons tous profiter du robot..!!

merci

 


hello
to create profits I work with my two robots.
when I lose on one .... I win over the other.
Then the martingale reimburse me ...
Attention to the margin.
adjust the stop loss and take profit following the balance remaining ...

for practical reasons can m help build a single robot that function as my 2 robots.

And we can all enjoy the robot ..!

thank you

 

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
[Robot]
public class cROBOTPAYBACKBUY : Robot
{
[Parameter("Initial Volume", DefaultValue = 10000, MinValue = 0)]
public int InitialVolume { get; set; }

[Parameter("Stop Loss", DefaultValue = 20)]
public int StopLoss { get; set; }

[Parameter("Take Profit", DefaultValue = 20)]
public int TakeProfit { get; set; }

private Position position;

protected override void OnStart()
{
ExecuteOrder(InitialVolume, TradeCommand());
}

private void ExecuteOrder(int volume, TradeType tradeType)
{
Trade.CreateMarketOrder(tradeType, Symbol, volume);
}

protected override void OnPositionOpened(Position openedPosition)
{
position = openedPosition;
Trade.ModifyPosition(openedPosition, GetAbsoluteStopLoss(openedPosition, StopLoss), GetAbsoluteTakeProfit(openedPosition, TakeProfit));
}

protected override void OnPositionClosed(Position closedPosition)
{
if (closedPosition.GrossProfit > 0)
{
ExecuteOrder(InitialVolume, TradeCommand());
}
else
{
ExecuteOrder((int) position.Volume * 2, position.TradeType);
}
}
protected override void OnError(Error error)
{
if (error.Code == ErrorCode.BadVolume)
Stop();
}

private TradeType TradeCommand()
{
return TradeType.Buy;
}


private double GetAbsoluteStopLoss(Position position, int stopLossInPips)
{
return position.TradeType == TradeType.Buy
? position.EntryPrice - Symbol.PipSize * stopLossInPips
: position.EntryPrice + Symbol.PipSize * stopLossInPips;
}

private double GetAbsoluteTakeProfit(Position position, int takeProfitInPips)
{
return position.TradeType == TradeType.Buy
? position.EntryPrice + Symbol.PipSize * takeProfitInPips
: position.EntryPrice - Symbol.PipSize * takeProfitInPips;

 

 

 

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
[Robot]
public class ROBOTPAYBACKBAISSE : Robot
{
[Parameter("Initial Volume", DefaultValue = 10000, MinValue = 0)]
public int InitialVolume { get; set; }

[Parameter("Stop Loss", DefaultValue = 20)]
public int StopLoss { get; set; }

[Parameter("Take Profit", DefaultValue = 20)]
public int TakeProfit { get; set; }

private Position position;

protected override void OnStart()
{
ExecuteOrder(InitialVolume, TradeCommand());
}

private void ExecuteOrder(int volume, TradeType tradeType)
{
Trade.CreateMarketOrder(tradeType, Symbol, volume);
}

protected override void OnPositionOpened(Position openedPosition)
{
position = openedPosition;
Trade.ModifyPosition(openedPosition, GetAbsoluteStopLoss(openedPosition, StopLoss), GetAbsoluteTakeProfit(openedPosition, TakeProfit));
}

protected override void OnPositionClosed(Position closedPosition)
{
if (closedPosition.GrossProfit > 0)
{
ExecuteOrder(InitialVolume, TradeCommand());
}
else
{
ExecuteOrder((int) position.Volume * 2, position.TradeType);
}
}
protected override void OnError(Error error)
{
if (error.Code == ErrorCode.BadVolume)
Stop();
}

private TradeType TradeCommand()
{
return TradeType.Sell;
}


private double GetAbsoluteStopLoss(Position position, int stopLossInPips)
{
return position.TradeType == TradeType.Buy
? position.EntryPrice - Symbol.PipSize * stopLossInPips
: position.EntryPrice + Symbol.PipSize * stopLossInPips;
}

private double GetAbsoluteTakeProfit(Position position, int takeProfitInPips)
{
return position.TradeType == TradeType.Buy
? position.EntryPrice + Symbol.PipSize * takeProfitInPips
: position.EntryPrice - Symbol.PipSize * takeProfitInPips;
}
}
}
   

 


}
}
}
   

 


 


@tradermatrix
Replies

b0risl33t
08 Oct 2012, 17:09

I think this works

 

using System;
using cAlgo.API;
using cAlgo.Indicators;

namespace cAlgo.Robots
{
    [Robot]
    public class SampleMartingaleRobot : Robot
    {
        [Parameter("Initial Volume", DefaultValue = 10000, MinValue = 0)]
        public int InitialVolume { get; set; }

        [Parameter("Stop Loss", DefaultValue = 40)]
        public int StopLoss { get; set; }

        [Parameter("Take Profit", DefaultValue = 40)]
        public int TakeProfit { get; set; }


        private Random random = new Random();
        private Position position;

        protected override void OnStart()
        {
            ExecuteOrder(InitialVolume, TradeType.Sell);
            ExecuteOrder(InitialVolume, TradeType.Buy);
        }

        private void ExecuteOrder(int volume, TradeType tradeType)
        {
            Trade.CreateMarketOrder(tradeType, Symbol, volume);
        }

        protected override void OnPositionOpened(Position openedPosition)
        {
            position = openedPosition;
            Trade.ModifyPosition(openedPosition, GetAbsoluteStopLoss(openedPosition, StopLoss), GetAbsoluteTakeProfit(openedPosition, TakeProfit));
        }

        protected override void OnPositionClosed(Position closedPosition)
        {
            if (closedPosition.GrossProfit > 0 && closedPosition.TradeType == TradeType.Sell)
            {
                ExecuteOrder(InitialVolume, TradeType.Sell);
            }
            else if (closedPosition.GrossProfit < 0 && closedPosition.TradeType == TradeType.Sell)
            {
                ExecuteOrder((int) position.Volume * 2, position.TradeType);
            }
            else if (closedPosition.GrossProfit > 0 && closedPosition.TradeType == TradeType.Buy)
            {
                ExecuteOrder(InitialVolume, TradeType.Buy);
            }
            else 
            {   
                ExecuteOrder((int) position.Volume * 2, position.TradeType);
            }
        }

        protected override void OnError(Error error)
        {
            if (error.Code == ErrorCode.BadVolume)
                Stop();
        }

        private TradeType GetRandomTradeCommand()
        {
            return random.Next(2) == 0 ? TradeType.Buy : TradeType.Sell;
        }

        private double GetAbsoluteStopLoss(Position position, int stopLossInPips)
        {
            return position.TradeType == TradeType.Buy
                ? position.EntryPrice - Symbol.PipSize * stopLossInPips
                : position.EntryPrice + Symbol.PipSize * stopLossInPips;
        }

        private double GetAbsoluteTakeProfit(Position position, int takeProfitInPips)
        {
            return position.TradeType == TradeType.Buy
                ? position.EntryPrice + Symbol.PipSize * takeProfitInPips
                : position.EntryPrice - Symbol.PipSize * takeProfitInPips;
        }
    }
}




@b0risl33t

admin
08 Oct 2012, 18:19

From what I understand from your code, one robot is selling and the other is buying, other than that the robots are identical.

Both robots execute trades according to this statement:

if the previously closed position generated profit execute the same trade with the initial volume, otherwise double the volume of the previous trade.

Is this what you are trying to accomplish? If not then please write a small description of your logic.

If this is indeed what you need then the only solution I can provide is that you just create two trades one buy and one sell each time:

i.e. 

        protected override void OnPositionClosed(Position closedPosition)
        {
            if (closedPosition.GrossProfit > 0)
            {
                ExecuteOrder(InitialVolume, TradeType.Buy);
                ExecuteOrder(InitialVolume, TradeType.Sell);
            }
            else
            {
                ExecuteOrder((int) position.Volume*2, position.TradeType);
            }
        }


 

 


@admin

tradermatrix
08 Oct 2012, 21:10

merci

mais cela ne fonctionne pas comme mes 2 robots.

exemple martingale classique.

[Parameter("Initial Volume", DefaultValue =10000, MinValue =0)]
publicint InitialVolume {get;set;}

[Parameter("Stop Loss", DefaultValue =20)]
publicint StopLoss {get;set;}

[Parameter("Take Profit", DefaultValue =20)]
publicint TakeProfit {get;set;}

euro monte :euro 1.3

1:sell random (1.3000)volume 10 000....stoploss 1.3020                /perte -20 euros

2:sell(1.3020) volume 20 000 stop loss 1.3040                               /perte -40 euros

3:sell(1.3040) volume 40 000 stop loss  1.3060                              /perte -80 euros

4:sell (1.3060) volume 80 000 stop loss 1.3080                              /perte -160 euros

5:sell (1.3080) volume160 000 ....euro remonte take profit 1.3060 /gain +320 euros

GAIN TOTAL: 5-(1+2+3+4)...320-(20+40+80+160)= 20 euros

tout ça pour seulement 20 euros...!!!!!!

 

 

ma stategie est la suivante:

mettre simultanément en route mes 2 robots paybackSell et paybackBuy

Parameter("Initial Volume", DefaultValue =10000, MinValue =0)]
publicint InitialVolume {get;set;}

[Parameter("Stop Loss", DefaultValue =20)]
publicint StopLoss {get;set;}

[Parameter("Take Profit", DefaultValue =20)]
publicint TakeProfit {get;set;}

euro monte :euro 1.3

paybackSell:

1:sell (1.3000)volume 10 000....stoploss 1.3020                              /perte -20 euros

2:sell(1.3020) volume 20 000 stop loss 1.3040                               /perte -40 euros

3:sell(1.3040) volume 40 000 stop loss 1.3060                               /perte -80 euros

4:sell (1.3060) volume 80 000 stop loss 1.3080                              /perte -160 euros

5:sell (1.3080) volume160 000 ....euro remonte take profit 1.3060  /gain +320 euros

GAIN TOTAL: 5-(1+2+3+4)...320-(20+40+80+160)= 20 euros

pendant ce temps.!!

payback Buy:

buy (1.3000)volume 10 000...take profit 1.3020                                    /gain +20 euros

buy (1.3020)volume 10 000...take profit 1.3040                                    /gain +20 euros

buy (1.3040)volume 10 000 ..take profit 1.3060                                    /gain +20 euros

buy (1.3060)volume 10 000 ..take profit 1.3080                                    /gain +20 euros

gain  80 euros

GAIN TOTAL PAYBACK SELL+ PAYBACK BUY:

20+80= 100 euros

100 euros...!!!!good

 

et les robots continuent de travailler

que le marché monte ou baisse (statégie toujours gagnante)

parfois quelques écarts ou resserments à corriger.

j ai tenté beaucoup de solutions pour créer un seul robot regroupé

 

merci beaucoup

 


@tradermatrix

PsykotropyK
09 Oct 2012, 14:58

A few things :


1) why do you keep talking in french while 99% of the people here don't? Except if you are not really trying to look for answers.

3) your strategy can only work with a very high equity. Let's imagine your robot end up giving 12 consecutive win on robot 1 (R1), followed by a 13th as a loss. Robot 2 (R2) will have 12 consecutive losses before its win. If I neglate the fees & bid ask your output will be (following your 20pip S/L & 10k trades) :

12th trade : R1 PnL --> 20*12 = 240 euros /// R2 PnL --> -20*2^12 + 20 = -81.900 euros /// TOTAL = -81.660 euros

13th trade : R1 PnL --> 20*12-20 = 220 euros /// R2 PnL --> 20 /// TOTAL = + 240 euros

If you want to know what equity you should have :

Equity = -[v * S/L * 2 ^ cL] + v * SL * (cL + 1)]  with v = volume ; SL : stop loss in value (ie 20pip EUR/USD = 0.002), cL = estimated max consecutive losses.

As you can see it's an exponential curve. Regarding that your trade opening decision is random it is not very hard to estimate your chances to reach 10 or more consecutive loss on one robot as very close from 1. On a simple excel spreadsheets, using a random number generator as your robot output (50% chances win, 50% chances loss), and doing around 131k random consecutive shots, I easily reach series of 15/16 consecutive loss on one of the robot and it can go even higher. With 15 consecutives, you would end up making 300€ for a need of 660.000€ equity more or less.


Martingale is a very dangerous tool if your entry decision is not filtered.

 

 


@PsykotropyK

admin
09 Oct 2012, 16:44

Hello tradermatrix,


You are correct the previous code logic does not match your strategy with the two robots.

Try changing this method:

 

        protected override void OnPositionClosed(Position closedPosition)
        {
            if (closedPosition.GrossProfit > 0)
            {
                ExecuteOrder(InitialVolume, closedPosition.TradeType);                
            }
            else
            {
                ExecuteOrder((int)closedPosition.Volume * 2, closedPosition.TradeType);
            }
        }


 


@admin

tradermatrix
09 Oct 2012, 17:43

for PsykotropyK

 

oh! excuse me have you angry with my French but I do not write very well the English.

yes martingale should be used with caution.
but according to the size of its portfolio can change the take profit and stop loss 10 or 20 or 30 or 40 ... etc..
to avert the risk of exceeding the margin.

you can also change the volume: 10000 or 1000 etc ...
brookers offer of margins: 100 or 200 or 500 ....

what I tried to explain that c is a martingale classical random., and the gain is small and sometimes long to come.

The market is random, it rises or descends ...

with two martingales (not random) a buy and sell, the gain is faster ... the market rises or falls.
I would therefore just my 2 robots combine into one robot and improve strategy.

thank you very much.


 


@tradermatrix

PsykotropyK
09 Oct 2012, 22:05

Non ça va j'ai pas de problème avec le français, mais ça serait simplement plus facile pour toi pour avoir des réponses.

 

Anyway, there is an over flaw in your strategy if I'm right. You don't take into account in your examples the cost of your trades (comission + spread). The more you have consecutive losses, the more this part take importance. Lets say your broker cost you 2 pip per operation and 4 consecutive before a gain :

R1 : +20 R2 : -20 Broker : -4

R1 : +20 R2 : -40 Broker : -6

R1 : +20 R2 : -80 Broker : -10

R1 : +20 R2 : -160 Broker ; -18

R1 : -20 R2 : +320 broker : -34


Total : +8

If you add one consecutive loss, you start loosing money. Anyway, I wish you good luck.


@PsykotropyK

tradermatrix
10 Oct 2012, 00:56

commissions are very low 30 euros to 65 euros (1,000,000 euros)
the spead is 0.00000mini to max 0.00007
this is insignificant.
but must pay whatever toujour strategy .....

good ...!
thanks to all, I found the solution ..!
I tested the robot a few hours and if all goes well I will post tomorrow ..


See you soon my friends traders


@tradermatrix

tradermatrix
10 Oct 2012, 20:11

hello

Here is an example of capital gains for a few hours of operation of the robot

[Parameter("Initial Volume", DefaultValue = 10000, MinValue = 0)]
        public int InitialVolume { get; set; }

        [Parameter("Stop Loss", DefaultValue = 20)]
        public int StopLoss { get; set; }

        [Parameter("Take Profit", DefaultValue = 20)]
        public int TakeProfit { get; set; }

 

 

 


10/10/2012 - 10/10/2012
 
Compte :   2012 Octobre 10, 15:42
Devise : EUR
Opérations
ID Heure d'entrée Symbole Volume Type Prix d'entrée T/P S/L Prix de Clôture Heure de Clôture Commissions Swap EUR
  10/10/2012 07:27 EURUSD 10k Acheter 1.28761 1.28961 1.28561 1.28565 10/10/2012 09:36 -0.60 0.00 -15.24
  10/10/2012 07:27 EURUSD 10k Vendre 1.28759 1.28559 1.28959 1.28559 10/10/2012 09:36 -0.60 0.00 15.55
            - -          
  10/10/2012 09:36 EURUSD 10k Vendre 1.28553 1.28353 1.28753 1.28752 10/10/2012 11:23 -0.60 0.00 -15.45
  10/10/2012 09:36 EURUSD 20k Acheter 1.28564 1.28764 1.28364 1.28764 10/10/2012 11:24 -1.20 0.00 31.06
  10/10/2012 11:23 EURUSD 20k Vendre 1.28750 1.28550 1.28950 1.28949 10/10/2012 12:15 -1.20 0.00 -30.86
  10/10/2012 11:24 EURUSD 10k Acheter 1.28771 1.28971 1.28571 1.28973 10/10/2012 12:15 -0.60 0.00 15.66
  10/10/2012 12:15 EURUSD 10k Acheter 1.28980 1.29180 1.28780 1.28778 10/10/2012 13:38 -0.60 0.00 -15.68
  10/10/2012 12:15 EURUSD 40k Vendre 1.28947 1.28747 1.29147 1.28740 10/10/2012 13:40 -2.40 0.00 64.31
  10/10/2012 13:40 EURUSD 10k Vendre 1.28735 1.28535 1.28935 1.28933 10/10/2012 14:02 -0.60 0.00 -15.35
  10/10/2012 13:38 EURUSD 20k Acheter 1.28782 1.28982 1.28582 1.28988 10/10/2012 14:03 -1.20 0.00 31.94
  10/10/2012 14:02 EURUSD 20k Vendre 1.28931 1.28731 1.29131 1.29129 10/10/2012 14:28 -1.20 0.00 -30.66
  10/10/2012 14:28 EURUSD 40k Vendre 1.29125 1.28925 1.29325 1.28924 10/10/2012 15:36 -2.40 0.00 62.36
  -13.20 0.00 10 097.64
P&L réalisé : 84.44
Positions
ID Heure Symbole Volume Type Entrée T/P S/L Pips Swap Commissions EUR
  10/10/2012 14:03 EURUSD 10k Buy 1.28992 1.29192 1.28792 -7.2 0.00 -0.30 -5.58
  10/10/2012 15:36 EURUSD 10k Sell 1.28921 1.28721 1.29121 -0.3 0.00 -0.30 -0.23
  0.00 -0.60

-5.82

P&L non réalisé : -6.42
Ordres
ID Heure Symbole Volume Type Entrée Expiration Prix
 
Rapport
                                                                                            Marge : 100.00                                        
                                            P&L non réalisé : -6.42                                                   
                                             P&L réalisé : 84.44

 

                        .

 

 

 


@tradermatrix

tradermatrix
10 Oct 2012, 20:17

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot]
    public class TRADERMATRIXPAYBACK : Robot
    {
        [Parameter("Initial Volume", DefaultValue = 10000, MinValue = 0)]
        public int InitialVolume { get; set; }

        [Parameter("Stop Loss", DefaultValue = 20)]
        public int StopLoss { get; set; }

        [Parameter("Take Profit", DefaultValue = 20)]
        public int TakeProfit { get; set; }

        private Position position;
      

        protected override void OnStart()
        {
            ExecuteOrder(InitialVolume, TradeType.Sell);
            ExecuteOrder(InitialVolume, TradeType.Buy);
        }

        private void ExecuteOrder(int volume, TradeType tradeType)
        {
            Trade.CreateMarketOrder(tradeType, Symbol, volume);
        }

        protected override void OnPositionOpened(Position openedPosition)
        {
            position = openedPosition;
            Trade.ModifyPosition(openedPosition, GetAbsoluteStopLoss(openedPosition, StopLoss), GetAbsoluteTakeProfit(openedPosition, TakeProfit));
        }

        protected override void OnPositionClosed(Position closedPosition)
         {
            if (closedPosition.GrossProfit > 0)
            {
                ExecuteOrder(InitialVolume, closedPosition.TradeType);               
            }
            else
            {
                ExecuteOrder((int)closedPosition.Volume * 2, closedPosition.TradeType);
            }
        }
        protected override void OnError(Error error)
        {
            if (error.Code == ErrorCode.BadVolume)
                Stop();
        }

        private double GetAbsoluteStopLoss(Position position, int stopLossInPips)
        {
            return position.TradeType == TradeType.Buy
                ? position.EntryPrice - Symbol.PipSize * stopLossInPips
                : position.EntryPrice + Symbol.PipSize * stopLossInPips;
        }

        private double GetAbsoluteTakeProfit(Position position, int takeProfitInPips)
        {
            return position.TradeType == TradeType.Buy
                ? position.EntryPrice + Symbol.PipSize * takeProfitInPips
                : position.EntryPrice - Symbol.PipSize * takeProfitInPips;
        }
    }
}

 


@tradermatrix

admin
11 Oct 2012, 10:07

Hello Tradematrix,

 

Thank you for sharing your code with the community. You may want to post it in the Robots section (see top menu Algorithms -> Add new algorithm).

 


@admin

tradermatrix
11 Oct 2012, 11:29

hello
yes I've recorded last night and is now online.
for a complete examination of 24 hreures better understand the flow and earnings, here are the details of the account.

2012 Octobre 11, 08:01
Devise : EUR
Opérations
ID Heure d'entrée Symbole Volume Type Prix d'entrée T/P S/L Prix de Clôture Heure de Clôture Commissions Swap EUR
  10/10/2012 07:27 EURUSD 10k Acheter 1.28761 1.28961 1.28561 1.28565 10/10/2012 09:36 -0.60 0.00 -15.24
  10/10/2012 07:27 EURUSD 10k Vendre 1.28759 1.28559 1.28959 1.28559 10/10/2012 09:36 -0.60 0.00 15.55
            - -          
  10/10/2012 09:36 EURUSD 10k Vendre 1.28553 1.28353 1.28753 1.28752 10/10/2012 11:23 -0.60 0.00 -15.45
  10/10/2012 09:36 EURUSD 20k Acheter 1.28564 1.28764 1.28364 1.28764 10/10/2012 11:24 -1.20 0.00 31.06
  10/10/2012 11:23 EURUSD 20k Vendre 1.28750 1.28550 1.28950 1.28949 10/10/2012 12:15 -1.20 0.00 -30.86
  10/10/2012 11:24 EURUSD 10k Acheter 1.28771 1.28971 1.28571 1.28973 10/10/2012 12:15 -0.60 0.00 15.66
  10/10/2012 12:15 EURUSD 10k Acheter 1.28980 1.29180 1.28780 1.28778 10/10/2012 13:38 -0.60 0.00 -15.68
  10/10/2012 12:15 EURUSD 40k Vendre 1.28947 1.28747 1.29147 1.28740 10/10/2012 13:40 -2.40 0.00 64.31
  10/10/2012 13:40 EURUSD 10k Vendre 1.28735 1.28535 1.28935 1.28933 10/10/2012 14:02 -0.60 0.00 -15.35
  10/10/2012 13:38 EURUSD 20k Acheter 1.28782 1.28982 1.28582 1.28988 10/10/2012 14:03 -1.20 0.00 31.94
  10/10/2012 14:02 EURUSD 20k Vendre 1.28931 1.28731 1.29131 1.29129 10/10/2012 14:28 -1.20 0.00 -30.66
  10/10/2012 14:28 EURUSD 40k Vendre 1.29125 1.28925 1.29325 1.28924 10/10/2012 15:36 -2.40 0.00 62.36
  10/10/2012 14:03 EURUSD 10k Acheter 1.28992 1.29192 1.28792 1.28794 10/10/2012 20:55 -0.60 0.00 -15.37
  10/10/2012 15:36 EURUSD 10k Vendre 1.28921 1.28721 1.29121 1.28708 10/10/2012 21:04 -0.60 0.00 16.54
  10/10/2012 20:55 EURUSD 20k Acheter 1.28792 1.28992 1.28592 1.28596 10/10/2012 21:51 -1.20 0.00 -30.48
  10/10/2012 21:04 EURUSD 10k Vendre 1.28704 1.28504 1.28904 1.28498 10/10/2012 21:53 -0.60 0.00 16.03
  10/10/2012 21:51 EURUSD 40k Acheter 1.28589 1.28789 1.28389 1.28390 11/10/2012 00:44 -2.40 0.00 -61.99
  10/10/2012 21:53 EURUSD 10k Vendre 1.28498 1.28298 1.28698 1.28296 11/10/2012 01:30 -0.60 0.00 15.74
  11/10/2012 01:30 EURUSD 10k Vendre 1.28288 1.28088 1.28488 1.28488 11/10/2012 02:28 -0.60 0.00 -15.56
  11/10/2012 00:44 EURUSD 80k Acheter 1.28389 1.28589 1.28189 1.28604 11/10/2012 03:07 -4.80 0.00 133.74
  11/10/2012 02:28 EURUSD 20k Vendre 1.28481 1.28281 1.28681 1.28674 11/10/2012 03:07 -1.20 0.00 -29.99
  11/10/2012 03:07 EURUSD 40k Vendre 1.28678 1.28478 1.28878 1.28478 11/10/2012 06:03 -2.40 0.00 62.27
  11/10/2012 06:03 EURUSD 10k Vendre 1.28466 1.28266 1.28666 1.28665 11/10/2012 06:36 -0.60 0.00 -15.46
  11/10/2012 06:36 EURUSD 20k Vendre 1.28661 1.28461 1.28861 1.28460 11/10/2012 07:10 -1.20 0.00 31.29
  11/10/2012 07:10 EURUSD 10k Vendre 1.28457 1.28257 1.28657 1.28653 11/10/2012 07:17 -0.60 0.00 -15.23
  -30.60 0.00 10 189.17
P&L réalisé : 158.57
Positions
ID Heure Symbole Volume Type Entrée T/P S/L Pips Swap Commissions EUR
  11/10/2012 03:07 EURUSD 10k Buy 1.28629 1.28829 1.28429 2.4 0.00 -0.30 1.87
  11/10/2012 07:17 EURUSD 20k Sell 1.28656 1.28456 1.28856 -0.3 0.00 -0.60 -0.47
  0.00 -0.90 1.40
P&L non réalisé : 0.50
Ordres
ID Heure Symbole Volume Type Entrée Expiration Prix
 
Rapport
                                            Equité :                                                                                  
                                              P&L non réalisé : 0.50                                                   
                                          P&L réalisé : 158.57  

       and the robot continues to work .... good luck


                                  

 

@tradermatrix

PsykotropyK
11 Oct 2012, 14:26

Nice job for finalizing the robot.

 

Did you run a backtest on it? If so can you put the results?


@PsykotropyK