Replies

kyro747
30 Nov 2013, 09:41

RE: RE:

Will it be possible to load 1m data in blocks rather than have to run it off one file as it is unlikely you have all the data in 1 file? E.g. I have it in 1 year files.


@kyro747

kyro747
12 Sep 2013, 16:33

Thanks guys


@kyro747

kyro747
12 Aug 2013, 16:43

Thankyou


@kyro747

kyro747
02 Jun 2013, 12:50

Thankyou


@kyro747

kyro747
30 May 2013, 04:44

Also as a side note:

Is it possible to have the same robot running on multiple currencies at same time? As a test I have tried running on 4 and it keeps stopping 2 of them and only running 2....


@kyro747

kyro747
29 May 2013, 17:50

Thankyou for the reply.

 

I mean that if (Buyexit) is true then I want to exit all long trades, but not exit any short trades.

"Where Label may be an input parameter or constant field."

Can you please give me an example of how to do this so I can reference individual trades or just long or short trades?

 

I have tried using the multiple positions example code with no success yet.


@kyro747

kyro747
29 May 2013, 10:46

Apologies, code should read:

 

 

foreach (var position in Account.Positions) 
            {    
            
                  if (_position.TradeType == TradeType.Buy)
                  {
                
                        if (Buyexit )
                        
                            {
                                  
                                  Print("Profit Exit");
                                  Trade.Close(position);
                                  
                            }
                     
                  }
               
                  if (_position.TradeType == TradeType.Sell)
                  {
           
                          if (Sellexit)
                              
                              {
                                  
                                  Print("Profit Exit");
                                  Trade.Close(position);
                                  
                              }
          
                  }
                             
           }


@kyro747

kyro747
20 May 2013, 13:11

RE: RE:
hichem said:
kyro747 said:

Hi guys,

 

Is it possible to creat a cRobot that is protected so it can run but the code not be seen by the broker/others?

 

Thanks

For now the .algo file is just a zip file containing an assembly file.

Contact me in private for a solution to totally protect your Robot code.

Thanks hicheck, I cannot find a private message option?


@kyro747

kyro747
20 May 2013, 13:08

RE:
cAlgo_Fanatic said:

The .algo file is not protected. If you run it on your pc, nobody can access it but if you send it to someone else it is possible that they can view the code. In the future we will implement encryption for .algo files.

Thankyou both for your replies


@kyro747

kyro747
19 May 2013, 15:25

Hi guys,

 

Is it possible to creat a cRobot that is protected so it can run but the code not be seen by the broker/others?

 

Thanks


@kyro747