Topics

Forum Topics not found

Replies

Kate
13 Jun 2013, 22:59

You can use Print() method:

protected override void OnTick()
{
    Print("Ask: {0}, Bid: {1}", Symbol.Ask, Symbol.Bid);
}


And then see Log tab in cAlgo (bellow the chart).


@Kate

Kate
11 Jun 2013, 15:03

Hi, as far as I know, native support for color parameters is not implemented. You can check workaround that I've done here: /algos/indicators/show/289


@Kate

Kate
10 Jun 2013, 23:21

I bet it's just over-optimized, you will never get such performance in future :)


@Kate

Kate
26 Mar 2013, 23:36

I use Amazon EC2 Windows Micro Instance with 612mb of memory, it's enough to run cAlgo with several robots. The main reason is that it's absolutely free for one year.

http://aws.amazon.com/free/

 


@Kate

Kate
11 Mar 2013, 22:55

What is "multicurrency platform"?


@Kate

Kate
10 Mar 2013, 18:01

RE: RE:

 

 

I gues you can use Symbol.PipSize for such conversions.


@Kate

Kate
09 Mar 2013, 22:55

RE:
using System;
using cAlgo.API;
using cAlgo.API.Indicators;

namespace cAlgo.Indicators
{
    [Indicator(IsOverlay = true)]
    public class CandleSize : Indicator
    {
        public override void Calculate(int index)
        {
        	double candleSize = Math.Abs(MarketSeries.Open[index] - MarketSeries.Close[index]);
        	double candleSizePips = Math.Round(candleSize / Symbol.PipSize, 3);
        
        	ChartObjects.DrawText(
        	    index.ToString(), candleSizePips.ToString(),  // object name and text
        	    index, MarketSeries.High[index],  // location
        	    VerticalAlignment.Top, HorizontalAlignment.Center);
        }
    }
}

I think that's it.


@Kate

Kate
09 Mar 2013, 17:47

What do you mean? There is a standard "High Minus Low" indicator, it is a "candle size".


@Kate