gorin
gorin's avatar

Info

Username:gorin
Name:gorin
Member since: 16 Jul 2013

About

None

Signature

None

Last Algorithm Comments

@KST oscillator:  16 Sep 2013, 14:06


There you go MrTrader.
I have to say, you were very polite in your request...

@KST oscillator:  28 Aug 2013, 12:18


The blue line is just the 9 day EMA of the KST you can add it on the chart, but you can include it in the code as well.

Add the following to the code:

...

[Output("Ema", Color = Colors.Blue)]
public IndicatorDataSeries Ema { get; set; }

private ExponentialMovingAverage ema;

...

  protected override void Initialize()
  {

   ...

 ema = Indicators.ExponentialMovingAverage(Result, 9);

}

public override void Calculate(int index)
{
            Result[index] = ...
            Ema[index] = ema.Result[index];
}

 

@Alembex:  24 Jul 2013, 12:47


Hi trying to understand the logic of this, all the search I do online I keep getting something in French. Can anyone share a link which describes this logic in English?

Last Forum Posts

@Save picture:  12 May 2014, 10:03


forgoodnesssake said:

Thank-you for the help.

I did not know if I should start a new thread with my question or post in here.

I would like to have a spread indicator on my chart (I used to use spreadwidener on MT4) and found "Draw spread", when I add it to the chart it is not displayed properly as you can see in the top left corner.

The numbers are covered by the word spread.

When I open the custom indicator box, nothing is clickable, there is no way to change the colour of the font or to adjust the font so that it is readable. Any ideas?

Spotware said:

You can take a ChartShot: 

http://help.spotware.com/charts/chartshots

Draw spread indicator has been updated

@Anonymous Pipes for Local Interprocess Communication:  31 Oct 2013, 12:19


jhtrader said:

Hi,

Can you send things like arrays or variable integers, doubles etc this way between robots?

Can you please add an example of a robot sending information such as a array or if thats not possible perhaps just text or integer  to another robot.

Also at the moment I want to communicate with a SQL database would I use pipes for communicating between the SQL server and the Robot?

/forum/cbot-support/1781?page=1#2

@cAlgo:  09 Sep 2013, 16:13


Balena said:

I'm using cAlgo with an offshore broker... but are there any brokers in USA that use cAlgo?

thanks

/forum/calgo-support/1069

@TimeFrame question:  05 Sep 2013, 17:37


Hi bp,

Thanks for your reply. 
I understand what you are saying and your code, I also thought about it and tried it in the code but it still does not produce results under certain time-frames...
I think as far as the definition of the indicator is concerned it shouldn't be based on daily time-frame. The definition of MACD also says 12-day Ema - 26-day ema... but the calculation is not on daily time-frame only. 
I will test more cases with such indicators and post here again.

@TimeFrame question:  05 Sep 2013, 14:41


Hello,

On the newly added feature for multi time-frames, if I have an indicator which is the daily moving average of a formula that uses H-L-C, I understand that the H-L-C needs to be of the daily series but do I also need to translate the index each time?
Specifically, I am trying to create the Chaikin Oscillator see definition at wikipedia.  
http://en.wikipedia.org/wiki/Accumulation/distribution_index

So, this is what I came up with according to my understanding. See uploaded algo here:
/algos/indicators/show/329

But, it does not display nothing for certain time-frames.
Any help is greatly appreciated.

@cAlgo robots running 24 hrs:  05 Sep 2013, 11:59


hichem said:

I'm running cAlgo 24h/7d on my laptop for 3 months now.

I made the robot send me an email every 30 minuts to notifiy it is still working. I sometimes use TeamViewer to login to my laptop from elsewhere.

No problems. and 0$ spent.

You don't get the updates? cAlgo needs to restart when there are updates. 

@Donchian Channel Error:  29 Aug 2013, 15:24


Actually, 

The selected period does not include the day on which the band is plotted (otherwise the band would never be crossed). For example, the 20-Day Donchian Channels for today are the highest high and lowest low for the preceding 20 trading days.

[http://www.incrediblecharts.com/indicators/donchian_channels.php

@Historic Data:  25 Jul 2013, 17:43


longshot said:

True, but in MT4 I can load historic data of my own going back as far as I want and use it to run backtests.  In cAlgo/cTrader I cannot.

It seems strange to me that this software is so well designed facilitate creation of complex and powerful robots, yet a deliberate decision's been made to prevent them being effectively tested.  I don't want to be hostage to the amount of data a broker provides, I want as a trader and EA developer to control my own backtest data.  In fact, this is a key sticking point for me in the adoption of this platform - I can't justify putting long hours in developing Robots (and converting my existing MT4 EAs) when I can't backtest them to my satisfaction.

Spotware, I want to switch from MT4 to cTrader, I really do - but this issue is a deal breaker.

Hi, I am new to this and could be mistaken but it seems MT4 allows you to choose any start date in their strategy tester but the report never shows any trades prior to 07/2010. 

@help with new time settings:  24 Jul 2013, 12:46


Sorry use this one instead:

// -------------------------------------------------------------------------------
//
//    This is a Template used as a guideline to build your own Robot. 
//    Please use the “Feedback” tab to provide us with your suggestions about cAlgo’s API.
//
// -------------------------------------------------------------------------------

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

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.EasternStandardTime)]
    public class NewRobot : Robot
    {
        private DateTime startTime;
        private DateTime activeTime;
        private DateTime stopTime;

        protected override void OnStart()
        {

            startTime = Server.Time.Date;
            activeTime = startTime.AddHours(9);
            stopTime = startTime.AddHours(45);
            
            Print("Server.Time = {0}", Server.Time);
            Print("startTime = {0}", startTime);
            Print("activeTime = {0}", activeTime);
            Print("stopTime = {0}", stopTime);
        }
        
        protected override void OnTick()
        {
            if (Server.Time < activeTime)
                return;
                
            Print("Robot started at Server.Time = {0}", Server.Time);
        }
    }
}    



@help with new time settings:  24 Jul 2013, 12:44


Hi Balena,

Run this code and change TimZones settings to see the output of server time each time:

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class NewRobot : Robot
    {
        private DateTime startTime;
        private DateTime activeTime;
        private DateTime stopTime;

        protected override void OnStart()
        {

            startTime = Server.Time.Date;
            activeTime = startTime.AddHours(9);
            stopTime = startTime.AddHours(45);
            
            Print(startTime);
            Print(activeTime);
            Print(stopTime);
        }
        
        protected override void OnTick()
        {
            if (Server.Time < activeTime)
                return;
                
            Print(Server.Time);
        }
    }
}    

I hope the above helps.

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
MACD_RSI
  7
  2.5
  105659
by gorin
free  31 Oct 2013
This indicator is a combination of the MACD Crossover and the Relative Strength Index. The MACD is scaled up so that the two indicators overlap.
Draw Spread
  10
  5
  16934
by gorin
free  12 May 2014
Spread is the difference between the bid and the ask price of the symbol. This indicator draws Spread on the chart in pips.
Chaikin Oscillator
  2
  0
  2885
by gorin
free  05 Sep 2013
Based on the definition of Accumulation/Distribution Index Chaikin oscillator is formed by subtracting a 10-day exponential moving average from a 3-day exponential moving average of the accumulation/distribution index. The formula for Accumulation/Distribution Index is: Note: This implementation may not be entirely correct. Any comments are appreciated.
KST oscillator
  8
  5
  3654
by gorin
free  16 Sep 2013
The know sure thing (KST) oscillator is a complex, smoothed price velocity indicator developed by Martin J. Pring. A rate of change (ROC) indicator is the foundation of KST indicator. KST indicator is useful to identify major stock market cycle junctures because its formula is weighed to be more greatly influenced by the longer and more dominant time spans, in order to better reflect the primary swings of stock market cycle.[3] The concept behind the oscillator is that price trends are determined by the interaction of many different time cycles and that important trend reversals take place when a number of price trends are simultaneously changing direction. Entry rules KST Indicator When KST crosses below its 9 day exponential average, short at the next day opening price. Exit rules KST indicator When KST crosses above its 9 day exponential average, close short position at the next day opening price.[4] [http://en.wikipedia.org/wiki/KST_oscillator] Works best with W1 and M1 Timeframes.
Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.