Topics
Replies
Mia999
07 Jan 2022, 23:35
( Updated at: 09 Feb 2023, 11:54 )
Hi,
It would be very appreciated if you could work on an integration with FTX.
FTX is an important "Broker" for cryptocurrencies. It is cheap, honest, accessible, inclusive and straightfoward, and its reputation is well established - including in the United States. Their API seems ready and well referenced for integration with other platforms (such as cTrader).
The brokers that actually integrate with cTrader don't do very well with cryptocurrencies in my opinion. Most of them offer just a few crypto (if they offer crypto at all), and their commission / spread are often unacceptable.
Moreover (and that could be a separated topic in itself), the vast majority of them are Europe oriented: only one or two of them serve North America. My guess is that many opportunities are slipping through your fingers because of that.
Thank you, and keep up for the good work!
@Mia999
Mia999
22 Dec 2021, 10:14
RE:
firemyst said:
Well, I'lm not sure how/why you expect the indicator to work that you provided the link to. When I looked at the page, it has numerous parameters that it's expected other than "source":
[Parameter(
"Source"
, Group =
"Base Settings"
, DefaultValue =
"Close"
)]
public
DataSeries Source {
get
;
set
; }
[Parameter(
"Oversold Level"
, DefaultValue = 20, MinValue = 1, Step = 1)]
public
int
Oversold {
get
;
set
; }
[Parameter(
"Overbought Level"
, DefaultValue = 80, MinValue = 1, Step = 1)]
public
int
Overbought {
get
;
set
; }
[Parameter(
"RSI Periods"
, DefaultValue = 14, MinValue = 2)]
public
int
RSIPeriod {
get
;
set
; }
[Parameter(
"Stochastic K%"
, DefaultValue = 3, Step = 1, MinValue = 2)]
public
int
StochK {
get
;
set
; }
[Parameter(
"Stochastic D%"
, DefaultValue = 3, Step = 1, MinValue = 2)]
public
int
StochD {
get
;
set
; }
[Parameter(
"Stochastic Periods"
, DefaultValue = 14, Step = 1, MinValue = 2)]
public
int
StochPeriods {
get
;
set
; }
If you expect to use that one in your cBot, you have to have it something like the following:
Indicators.GetIndicator<StochasticRSI>(Source, Oversold, Overbought, RSIPeriod, STochK, StochD, StochPeriods);
with values obviously for all the parameters you supply.
Thanks
@Mia999
Mia999
08 Jan 2022, 06:34
So I was able to find the solution myself.
For future reference (it might help others), what I have done is: I modified references to be "public" instead of "private" where possible, both in the indicator and in the cBot. And in the cBot, I added { get; set; } to these references where possible.
So the indicator introduction now looks like this (see last section cited herein):
And the cBot introduction now looks like this (see last section cited herein):
Thanks anyway!
@Mia999