Topics
Replies
PanagiotisCharalampous
03 Oct 2018, 11:03
Hi Roman,
Data is loaded in Indicators on their initialization. There is nothing special you need to do about it. See below
using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators; namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class NewcBot : Robot { [Parameter(DefaultValue = 0.0)] public double Parameter { get; set; } SimpleMovingAverage _sma; protected override void OnStart() { _sma = Indicators.SimpleMovingAverage(MarketSeries.Close, 14); for (int i = 14; i < _sma.Result.Count; i++) { Print("SMA: " + _sma.Result[i]); } } protected override void OnTick() { // Put your core logic here } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2018, 09:55
Hi ashiq2017paypal,
Thanks for posting in our forum. You might find the resources below helpful.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2018, 09:50
Hi John,
There is no such feature at this moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2018, 09:42
Hi William,
A solution would be to store the number of running robots in a file. Then all instances can read and update this file knowing at any time how many instances are running.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 16:51
Sasha,
For which dates do you backtest? I will try on Fondex as well. cTrader 3.3 should be available sometime in October. However, I cannot commit on that. The data of each broker is independent to cTrader releases.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 16:40
( Updated at: 21 Dec 2023, 09:20 )
Hi Sasha,
I backtested on Beta and I get the trade. See below
Do you backtest on the same dates?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 16:18
Hi Sasha,
I will need the full cBot code so that I can investigate further. Can you please share?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 16:01
In this case, the condition above does not seem to have been fulfilled
if (MarketSeries.Close.Last(1) > BB.Bottom.Last(1) && MarketSeries.High.Last(1) < BB.Main.Last(1))
That candlestick's last value is below BB Bottom.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 15:52
Hi lec0456,
It does not need to have an Output attribute to read it from a cBot.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 15:48
Hi Sasha,
Can you please point me to the condition you expect to trigger the order?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 11:21
Hi lec0456,
If you want a parameter not to be plotted then you need to remove the Output attribute.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 11:14
Ηι tekASH,
the followng methods should be helpful for you
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2018, 10:54
( Updated at: 21 Dec 2023, 09:20 )
Hi ghazisameer,
Just right click on the indicator and choose "Delete File".
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
28 Sep 2018, 10:16
Hi Paul,
Thank you for reporting this. We managed to reproduce the issue and we will fix it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
28 Sep 2018, 10:06
Hi fcomanjoncabeza,
This functionality is available only in cTrader 3.3. Do you use Spotware Beta?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Sep 2018, 17:31
Hi all,
Renko and Range charts have been released on Spotware Beta. You can find more info here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Sep 2018, 14:44
Hi salihtrkr94,
You cannot trade on Binance using cTrader. cTrader is a platform for trading CFDs.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Sep 2018, 14:34
Hi salihtrkr94,
As far as I know Quantower is not a broker but just a trading interface that integrates with cTrader. So you can use Quantower to trade with your existing cTrader accounts.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Sep 2018, 14:32
Btw did you get in touch with AutoView in case they would be interested in supporting cTrader? That would be another alternative
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2018, 12:26
Hi Sasha,
You can try an obsolete method as below
Best Regards,
Panagiotis
@PanagiotisCharalampous