Topics
Replies
algoforce
17 Feb 2016, 15:12
Topic can be renamed
It was a misunderstanding of the api reference or out of date reference. - /api/reference/timeseries/getindexbyexacttime
I believe the correct way to use current bar from other timeframes with following code
[Parameter()] public TimeFrame FractalTimeFrame { get; set; } public MarketSeries _M1; protected override void OnStart() { _M1 = this.MarketData.GetSeries(Symbol.Code, FractalTimeFrame); } protected override void onBar(){ //step 1 var _Index = _M1.Close.Count - 1; DateTime _current = _M1.OpenTime[_Index]; }
All other examples in forum did not work for me. It would be helpful for a Multi timeframe Price Action robot ( use candle patterns, no indicators) in reference area of Multi Symbol, Multi GetSeries( TimeFrame).
var indexSeries2 = indexSeries2.OpenTime.GetIndexByTime(MarketSeries.OpenTime.LastValue);
@algoforce
algoforce
16 Feb 2016, 18:04
gaps in historical data
I am unable to get correct value when _M1 = MarketData.GetSeries(AnyTimeFrame); ,
When I Print, the _M1.OpenTime[0]; results in printout from last week data ( Feb 8th), today Feb 16.
DateTime currentDate = MarketSeries.OpenTime.LastValue.Date; var bartime1 = _M1.OpenTime[0]; var bartime2 = m1Series.OpenTime[0];
time 2/8/2016 6:06:00 AM, time 2/8/2016 6:06:00 AM , time 2/16/2016 12:00:00 AM
@algoforce
algoforce
25 Oct 2014, 20:41
RE:
Rod_Sands said:
Is an application available (or can be written) to Mirror MT4 trades (Master) to cAlgo (Slave) on the desktop? ie the MT4 trades sent to cAlgo/cTrader (maybe Windows Messaging or file Write/Reads)via both applications running concurrently on the same Desktop.
Such functionality would certainly have the potential to kickstart increased use of cTrader/cAlgo for live trading. Currently cTrader does not have, for myself, the functionality to facilitate live trading, hence my setups still have to be made in MT4, until the products mature.
There is a free trade copier in the cBots to copy from MT4 and send them to your ctrader calgo account.
@algoforce
algoforce
20 Sep 2014, 13:52
Please vote http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/6463181-commercial-cbots-section
Hi,
cAlgo and cTrader are becoming increasingly popular among traders, and more brokers are introducing it as well as an alternative to MT4. How about a special section on your top menu as an outlet for programmers and companies who want to promote their new creations to the public. You can call it "Commercial cBots" or similar to that so everyone visiting your site knows where to find it easily. I'm sure that it would be appreciated by visitors as well as by companies releasing their new robots.
Best regards,
@algoforce
algoforce
02 Dec 2013, 07:32
fg
results live are rather slow with our robot on calgo. We started with H1 charts while mt4 runs on m30. Beginning of Jan a release will trade on m30 and more.
I'm pleased to see the csv imports for backtesting with m1 data. Thank you cTDN
@algoforce
algoforce
08 Nov 2013, 20:17
I'm running a VM - only 1 of 4 cores with 2gb ram - 2 broker platforms with 25+ instances running on each platform. Your PC isn't the issue.
Are you using onBar /Tick for data collection? check your cpu usage when you deploy your bots!
@algoforce
algoforce
03 Nov 2013, 14:00
( Updated at: 21 Dec 2023, 09:20 )
RE:
heinw said:
Seems like it had something to do with the spread configuration setting. Backtesting results are back to normal now.
Trade Label ZY3m opened at 116.646 while the candle High is marked on the chart at 116.482 , a spread difference of 16 pips. How to fix?
@algoforce
algoforce
03 Nov 2013, 05:03
RE:
ver. 1.0.78
it is normal that these words(account/sybol) do not appear in the dropdown menu???
use this article to Code from Visual Studio ( for better intellisense). It will open up a wide range of possibilities.
- http://carbonfx.io/2013/08/using-visual-studio-with-calgo/
@algoforce
algoforce
01 Nov 2013, 18:53
RE:
virtuesoft said:
Is this robot based on a martingale strategy?
The equity curve is perfectly straight with the odd large spike down. This is a classic martingale characteristic.
Yes - http://www.myfxbook.com/members/RedRhino/ea-redrhinofx/704982
@algoforce
algoforce
01 Nov 2013, 13:52
Re
Can you try with commission or higher spreads to compensate a little for slippage, yes?
@algoforce
algoforce
01 Nov 2013, 03:21
Data varies
supafly said:
Correction for the last message. The reason why the results vary is that for some bizarre reason, most of the trades executed on both computers using fxpro calgo are the same but some are different. Some trades are skipped on one calgo while they are executed on the other calgo and vice versa.
What solution can spotware provide for this issue?
Since you are using Market.Series, the data within these series will vary between brokers. Strategies that trade onBar or rely heavily on OHLC often result in behavior as you mention.
The easiest comparison between brokers is to link your demo accounts to myfxbook, start fresh on all systems(custom start date), and let the statistics build up. You can easily spot out a Missing signal or better yet compare the systems statistically.
Do you get a similar Backtest as Forward Test on at Same Broker/data feed? If not, I would start comparing +/- pips on entry and exit through some coding and tally up your slippage on your live test
@algoforce
algoforce
16 Aug 2013, 14:39
RE: RE:
voulgeor said:
there a time frame for those changes ?
our robot has to check data on larger timeframes before trading so is very important .
is there a temporary work around?
we want to move our customers from a different broker and mt4 to your platform but those limitations are a serious deal breaker.
I cant believe that someone thought that multimeframe and multicurrency check was not important when designed the platform.
thanks
Scyware.com has api for quick work around .
However Spotware did say
"This is correct and I completely agree with this. We had historical reasons for this, and now we understand that we wust rework this. Next thing we do in cAlgo is implementing access to data of multiple timeframe and multiple symbols."
@algoforce
algoforce
10 Aug 2013, 22:25
Here is a open source trade copier for MT4.
https://code.google.com/p/mt4-trade-copy/
Now we can control 1 Master MT4 account through .NET and have the ability to manage multi mt4 instances through this mt4 trade copier.
@algoforce
algoforce
10 Aug 2013, 22:03
Share with the Algo Community
If you find a profitable strategy any where online, bring it here and we can make it for calgo platform.
The sample bots given away on this site are of the most basic demonstration of how simple c# is to code in. Here is an interesting comparison of mql to c# - http://www.myfxbook.com/members/nightscalper/night-scalper-signals/651908 - enjoy the article.
@algoforce
algoforce
08 Aug 2013, 13:34
Well Done. This is very nice. I'm looking forward to using this from now on. When I use it, I will contribute to suggestions.
@algoforce
algoforce
26 Jul 2013, 10:39
if (Account.Balance - Account.Equity <= 20) // can we bee more accurate and use the actual minimum volume margin requirement ( volume)
@algoforce
algoforce
26 Jul 2013, 09:36
double width = top - bottom;
Print("Function#1: Width of Bands", width );
In the Log, I do not get the width printed. It is missing.
in MQL i would use
Print(" My Band", DoubleToStr(width,5) );
to convert the double to string for printing.
What do I use for calgo?
I would like to print the band width ( double ) to my log onBar
@algoforce
algoforce
07 Mar 2016, 12:14
RE:
I provide signals and I do not see any mentioning of -30% commission to spotware. Is this still true? If so, you need to clearly state this when the provider offers the signals.
Spotware said:
@algoforce