SH
Shares4UsDevelopment
1 follower(s) 1 following 111 subscription(s)
Topics
04 Apr 2024, 15:24
 2
 602
 4
19 Dec 2023, 10:33
 2
 558
 0
15 Dec 2023, 08:08
 1
 581
 0
14 Dec 2023, 08:45
 1
 624
 0
14 Dec 2023, 08:34
 1
 512
 0
08 Dec 2023, 15:52
 0
 557
 0
03 Mar 2023, 17:10
 3
 1409
 4
Replies

Shares4UsDevelopment
05 Dec 2023, 08:13

Best way is to port it to cTrader i guess.


@Shares4UsDevelopment

Shares4UsDevelopment
14 Sep 2023, 20:01

RE: RE:

Hi,

Change
 Symbol.ClosePrices => Bars.ClosePrices
MACD.Result.LastValue=>MACD.MACD.LastValue

The other 2 errors do not match the source you've presented.
Please provide the complete code.

best rgds,

Ton


@Shares4UsDevelopment

Shares4UsDevelopment
25 Jan 2023, 16:50

RE:

Do they have to be in the same account? 

 


@Shares4UsDevelopment

Shares4UsDevelopment
25 Jan 2023, 16:40

RE:

Fix what??? 
there is no code given in the Question

 


@Shares4UsDevelopment

Shares4UsDevelopment
20 Jan 2023, 19:58 ( Updated at: 20 Jan 2023, 19:59 )

RE:
if(Bars[Bars.Count-2].Close > MovingAverageIndicator.Result[Bars.Count-2])
{
//do the trade
}

 


@Shares4UsDevelopment

Shares4UsDevelopment
27 Dec 2022, 11:56

Yes.

add the indicator as reference (manage references)
Then alter the cBot Code to incorporate the indicator.
the way to do so is documented in 'sample cBot Reference SMA'
 


@Shares4UsDevelopment

Shares4UsDevelopment
27 Dec 2022, 11:52

Be aware you buy at ASK prices, not BID prices (the candle & wicks are made with BID prices only!)

A difference might be that you Buy(or close Sell) at ASK prices, not BID prices
The candle & wicks you see are made with BID prices only!


@Shares4UsDevelopment

Shares4UsDevelopment
09 Dec 2022, 15:19

RE:

Please post in English (use Google translate!)

Rightclick on the chart choose background and clear the field.

 


@Shares4UsDevelopment

Shares4UsDevelopment
09 Dec 2022, 13:57

RE:

Post the idea in  Suggestions

 


@Shares4UsDevelopment

Shares4UsDevelopment
18 Nov 2022, 11:19

RE: That's a work around, so a fix is still needed

PanagiotisChar said:

Hi Shares4UsDevelopment,

Try adding the project to the solution manually.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 

Thanks, I already did that and it works but it's a work around, so a fix is still needed for Spotware i think, hence the Post.
 


@Shares4UsDevelopment

Shares4UsDevelopment
18 Oct 2022, 13:51

RE:

freemoniescapital said:

I am unable to use the Print() method within classes, and if I attempt to do so I get an error saying that an instance of a object is required. How can I fix this?

add a reference to your mainclass to the subclass and use 'MainclassReference.print("Hi");'


@Shares4UsDevelopment

Shares4UsDevelopment
01 Apr 2022, 10:47

RE:

same problem here


@Shares4UsDevelopment

Shares4UsDevelopment
01 Apr 2022, 10:45

RE:

if ((Bars[index].OpenTime.Hour == HourOpen) && (Bars[index].OpenTime..Minute == MinuteOpen) && (Bars[index].OpenTime.Second >= 0))


DateTime.Now is the current time


@Shares4UsDevelopment

Shares4UsDevelopment
23 Feb 2022, 13:11

RE:

PanagiotisCharalampous

Can't Wait. Please hurry before the company favours another platform for future development.

 


@Shares4UsDevelopment

Shares4UsDevelopment
22 Feb 2022, 12:57

RE: UserVoice

laurenceshelley said:

Since latest ctrader update programs thta used to work perfectly now crash with the error "An Item with the same key already added."

The programs now fail repeatedly.

Please advise how this can be fixed.

Surround your code with

try
{

#YOURCODE HERE#

}
catch(Exception ex){ Print(ex.message,"\t",ex.StackTrace.ToString());}

 


@Shares4UsDevelopment

Shares4UsDevelopment
22 Feb 2022, 12:44

RE:

nikolay.shirokikh said:

Hooray! It seems we are getting the multi-symbol, multi-timeframe backtesting (with caveats, but still) in the 3.7!

Great job - the platform is getting better!

So I am crossing out the first point in my list from 17th of August, 2019, as below.

What about the other points, Spotware?

 

General suggestion for critically missing features

The critically missing features are:

  1. Multi-symbol, multi-timeframe backtesting. It is just not serious without it! Mentioned by others a gazillion of times. Surely, we can implement it ourselves with FIX API. But why Automate to exist then?
  2. Program and bot autostart on reboot/crash/restart/update/accidental closure etc.
  3. A new method in cBots that would allow to control other bots, start/stop them with a configurable set of parameters and ideally also check some overall performance characteristics.
    These control cBots can be made in a separate class of bots (for safety, so only when someone wants it, they would make or use these), and it is them that could be exclusively made configurable to autostart on program/computer start.
  4. Backtesting that acquires and displays equity and balance per tick.

Less critical but still very much desirable and missing features are:

  1. Flexible timeframes. Yes, this is possible. And we do not have to have myriads of timeframes. Just pick boxes for type and ‘unit length’ and a plus/minus button to configure a desirable number of these.
  2. Auto-storing backtesting results (that can be switched on and off on demand) and the top pickable number of optimisation results. Together with the parameters. So, these can be loaded/viewed later. And these results (again) need to be per tick and not per trade. Currently, we have no idea what the actual equity flex was in between trades.
  3. Use of parallel/async methods throughout in the program (I am talking about the cTrader program itself and not just cBots) and use of OpenCL whenever possible. Currently it got better, I admit that, but from the overall performance it still looks that there were far too many shortcuts made in the base programming and it does not seem optimal at all.
  4. Folders for storing data configurable from the program. We all are annoyed to check AppData all the time.

5. Threadsave cTrader!


@Shares4UsDevelopment

Shares4UsDevelopment
22 Feb 2022, 12:39

RE:

afhacker said:

Better: Add Bars object!

 


@Shares4UsDevelopment

Shares4UsDevelopment
22 Feb 2022, 12:32

RE:

JeanPaul said:

Some type of account, like the Spread Betting, have no commission. However, cTrader has to be told this again and again.

- Accept the first change as the default from this point onward

OR

- Set the default per account type

Better make the commission properties public!


@Shares4UsDevelopment

Shares4UsDevelopment
22 Feb 2022, 12:30

RE:

cTKit said:

A cTrader user is able to drag the small count down at the bottom of the chart to shift the chart to create space after the last bar rendered.  To facilitate creating indicators that stick to the right edge of the chart I would like the automation API to provide developers with a LastVisibleDateTime property and an event that notifies us when the user has shifted the chart.

Bars[Chart.LastVisibleBarIndex).OpenTime

or

Chart.DrawStaticText();
 


@Shares4UsDevelopment

Shares4UsDevelopment
08 Feb 2022, 15:49

RE: try Chart.SetBarColor(index)="00000000";

Jobauma said:

Hi.

Can there be invisible bars with the four other types? :)

This is useful when making something customised familiar to bars.

This is not implemented in cTrader yet. :) There are workarounds.

Give feedback if it is useful.

Best regards,

Johannes Hillestad Baumann

 


@Shares4UsDevelopment