Topics
Replies
Spotware
13 May 2014, 09:04
Please read the following article:
http://help.spotware.com/calgo/indicators/create-edit.
It describes how to build Custom Indicators in cAlgo.
@Spotware
Spotware
13 May 2014, 09:02
Unfortunately we cannot reproduce this issue. We kindly ask you to send us the source code of your cBot. We will use it for debugging purposes only.
Also, is there a way to detect whether the robot is running is live-mode or in back-tester mode ?
You can use IsBacktesting property to check that cBot is running in backtesting.
@Spotware
Spotware
12 May 2014, 10:26
Unfortunately we cannot reproduce this issue. If you send code of your cBot to engage@spotware.com it will simplify our search. We will use your cBot only for debugging purposes.
@Spotware
Spotware
12 May 2014, 10:16
Standard Deviation is an absolute value, neither % nor pip's. You can check the formula: http://en.wikipedia.org/wiki/Standard_deviation#Discrete_random_variable.
Unfortunately we don't have such list, but all our built-in indicators are calculated by well known formulas and you can find all needed information by simple internet search.
@Spotware
Spotware
12 May 2014, 09:37
OnBar event happens when new bar is opened. At that moment MarketSeries collection already contains tick from new bar. It means that last bar is not formed and in general cases open = high = low = close and TickVolume equals 1. If you want to access last formed bar you need take previous one.
You need to change your code:
protected override void OnBar() { var close = MarketSeries.Close.Last(1); var high = MarketSeries.High.Last(1); var low = MarketSeries.Low.Last(1); var tickVolume = MarketSeries.TickVolume.Last(1); ... }
@Spotware
Spotware
09 May 2014, 10:00
RE:
Green7 said:
After upgrading from CAlgo 1.9 to 1.21 I have problem with my robot.
I have CAlgo robot inherited from class from dll.
In this case after compilation I can't see robot code in CAlgo :
"Source code is not available". Why ?
And how to solve this problem ?
(In the old version CAlgo this issue does not occur)
Regards
Thank you for reporting the issue. We will fix it as soon as possible.
For now you can try this workaround:
- locate your cBot source code file in Documents\cAlgo\Sources\Robots\
- open it in notepad
- add //:Robot anywhere except the begging
- save your source code file
@Spotware
Spotware
08 May 2014, 09:03
RE: RE:
breakermind said:
Hi,
how can i get All open positions (with random label or without)
var positions = Positions.FindAll("myLabel");is there any possibility to use FindAll() whitout label etc.
Regards
If you want to get all positions you don't need to invoke FindAll method:
var positions = Positions;
@Spotware
Spotware
07 May 2014, 11:34
You can take a ChartShot:
http://help.spotware.com/charts/chartshots
@Spotware
Spotware
02 May 2014, 14:08
We plan to improve ChartObjects.DrawText functionality in the future. Additionally you can post your ideas to vote.spotware.com.
@Spotware
Spotware
02 May 2014, 10:47
You can find Open API Reference by following link:
https://sandbox-connect.spotware.com/draftref/
If you have any questions please contact connect@spotware.com
@Spotware
Spotware
14 May 2014, 09:10
Please press Ctrl+Alt+Shift+T. It will send us troubleshooting information.
@Spotware