Topics
03 Feb 2016, 23:21
 5604
 17
19 Nov 2015, 09:18
 3463
 2
16 Jul 2015, 23:25
 2665
 4
26 Feb 2015, 21:20
 3302
 3
11 Sep 2014, 22:30
 0
 3257
 2
30 Aug 2014, 16:51
 2241
 1
22 Aug 2014, 18:05
 7547
 31
20 Aug 2014, 12:30
 3349
 3
14 Jul 2014, 12:48
 3154
 7
16 Jun 2014, 00:39
 2701
 2
22 May 2014, 16:17
 4377
 10
29 Mar 2014, 15:41
 3847
 4
27 Jan 2014, 08:20
 3649
 6
09 Jan 2014, 00:35
 5126
 15
22 Nov 2013, 00:51
 3519
 6
Replies

rkokerti
25 Aug 2014, 17:22

I'm sorry, but not you are the developer of cAlgo?

Who can tell me, what is the best solution for Indicator optimization?


@rkokerti

rkokerti
25 Aug 2014, 12:35

Two other question. What is less memory / CPU consumig?

1,

    if(criterias)
    {
        XY[index] =  MarketSeries.Close[index];
    }
    else
    {
        XY[index] = double.NaN;    
    }

or

    RefreshData()
    if(criterias)
    {
        XY[index] = MarketSeries.Close[index];
    }

2,

    if(criterias)
    {
        XY[index] =  MarketSeries.Close[index];
    }
    else
    {
        XY[index] = double.NaN;    
    }

or

    if(criterias)
    {
        ChartObjects.DrawText("XY"+index.ToString(),"XY",index,MarketSeries.Close[index],VerticalAlignment.Center,HorizontalAlignment.Center,Colors.Yellow);
    }
    else
    {
        ChartObjects.RemoveObject("XY"+index.ToString());
    }

Thanks in advance!


@rkokerti

rkokerti
25 Aug 2014, 12:01 ( Updated at: 21 Dec 2023, 09:20 )

I tested (ver.1.24.102 / ver. 1.23.22) with the absolute same setup (24 instances, same indicators).

You can see the result below. I think, the new version will solve my CPU issue.

Thanks for your help!

 


@rkokerti

rkokerti
20 Aug 2014, 15:14

Thanks for your quick response!


@rkokerti

rkokerti
14 Jul 2014, 15:31

I think cAlgo is a great software. I know how much work to develop this type of system. I had similar job previously. 

And I know it can be avoided in this type of operation. 

I don't understand why to sacrifice the reputation for this issue!


@rkokerti

rkokerti
14 Jul 2014, 15:04

Contact my Broker? 

Again! Why cAlgo allows to create this position? What use is Limit Order in this case? This is not the first time I experienced this

This operation is cause financial loss for me! Please set cAlgo to NOT allow this operation in the future!


@rkokerti

rkokerti
03 Jun 2014, 21:56

Thanks to your help! It works well!


@rkokerti

rkokerti
03 Jun 2014, 12:59

Is there any news about this?


@rkokerti

rkokerti
30 May 2014, 00:19

Thanks Modarkat!

I tested and it works well! Thanks for your quick response!


@rkokerti

rkokerti
29 May 2014, 15:55

Dear Developers,

As you previously said "Even if trading is not possible platform can receive new prices which could produce new bar." OK I accept that, I do not understand why, but it's not important... 

Therefore, I need to open the half of the positions by manually. In this case very difficult to set the proper SL/TP levels and set the position sizing.

So, please help me to handle this problem with a sample code.

Thanks in advance!

 


@rkokerti

rkokerti
21 May 2014, 00:58

I tried to solve this issue, with " System.Threading.Thread.Sleep(300000);" but unfortunately it's not working for me. 

Can anyone help me?


@rkokerti

rkokerti
12 Apr 2014, 13:25

Hi,

You will lose your money without SL! Be careful!

Balance is nice, but you need to concentrate the Equity as well.

If Equity increases together with Balance, well, that's a good strategy.

Regards


@rkokerti

rkokerti
08 Apr 2014, 17:46

Hi Forex19!

I have a workaround, maybe it helps you...

    [Parameter(DefaultValue = " ")]
    public string BSA { get; set; }
        if(BSA == "B")
        {
            // put BUY logic here
        }
        
        if(BSA == "S")
        {
            // put SELL logic here
        }
        
        if(BSA == "A")
        {
            // put AUTO logic here
        }

Ok, it is not a drill down field, but you just write the corresponding value into the parameter field and it is works.

 


@rkokerti

rkokerti
04 Apr 2014, 14:02

Thanks to your answer. I try it.


@rkokerti

rkokerti
04 Apr 2014, 13:25

You mean if operation failed, I need to use OnTick method to repeat the functionality of OnBar?

Thanks in advance!


@rkokerti

rkokerti
04 Apr 2014, 11:56

Dear Support,

Can you please respond to the above mentioned issue? This code is OK or Not?

Thanks in advance!


@rkokerti

rkokerti
02 Apr 2014, 22:10

Thanks for your answer Elogos! 

I would have liked read the opinion of developers as well, but I think I will follow your train of thought.

Thanks again!


@rkokerti

rkokerti
02 Apr 2014, 15:16

Thanks to your answer.

What is your advice, how can I extend logic of my cBot to handle trading errors?


@rkokerti

rkokerti
01 Apr 2014, 00:46

Unfortunately this issue is still exists...


@rkokerti

rkokerti
09 Feb 2014, 17:05

Now it's OK


@rkokerti