Topics
Replies
TonNcie
03 Jun 2019, 15:38
RE:
Panagiotis Charalampous said:
Hi El Antonio,
No it shouldn't. Leverage is only related to the amount of margin required to open a position. If the volume of the position is the same then the result of backtesting will stay the same.
Best Regards,
Panagiotis
OK .
@TonNcie
TonNcie
26 Mar 2019, 16:20
( Updated at: 21 Dec 2023, 09:21 )
RE:
Hi Panagiotis
26/03/2019 09:36:24.580 | Minute 3/26/2019 9:30:00 AM Minute15 3/26/2019 9:30:00 AM 2753 8585 145.310173787739
26/03/2019 09:36:24.580 | Minute 3/26/2019 9:15:00 AM Minute15 3/26/2019 9:15:00 AM 2738 8584 145.317484328844
26/03/2019 09:36:24.580 | Minute 3/26/2019 9:00:00 AM Minute15 3/26/2019 9:00:00 AM 2723 8583 145.298410661536
26/03/2019 09:36:24.580 | Minute 3/26/2019 8:45:00 AM Minute15 3/26/2019 8:45:00 AM 2708 8582 145.302612184613
The index parameter is taken from the 15m timeframe (see print log. minute & minute 15 both have the same opentime.)
The problem is that
public override void Calculate(int index)
is not firing on the minute timeframe as the printout and the chart show. it only fires in the m15 frame
Best Regards,
@TonNcie
TonNcie
26 Mar 2019, 11:56
RE:
ChartMouseEventArgs
Provides data for the mouse related routed events.
Name Description
AltKey Defines whether the Alt key is pressed during the mouse event.
BarIndex Gets the exact bar index of the mouse event.
Chart Gets the chart.
ChartArea Gets the chart area.
CtrlKey
MouseX Gets the X-axis value of the mouse event.
MouseY Gets the Y-axis value of the mouse event.
ShiftKey Defines whether the Shift key is pressed during the mouse event.
TimeValue Gets the time value on the X-axis where the mouse event occurs.
YValue Gets the Y-axis value of the mouse event.
@TonNcie
TonNcie
19 Mar 2019, 13:06
RE:
using System; 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 Renner : Robot { private IMySeries MySeries; MyOwnIndicator _signalIndicator; protected override void OnStart() { MySeries = new IMySeries(Symbol); _signalIndicator = Indicators.GetIndicator<MyOwnIndicator>(MySeries); } protected override void OnTick() { double jo = MySeries.High[1]; MySeries.High[1] = jo; } } public class IMySeries : MarketSeries { public DataSeries Open { get; set; } public DataSeries High { get; set; } public DataSeries Low { get; set; } public DataSeries Close { get; set; } public DataSeries TickVolume { get; set; } public DataSeries Median { get; set; } public DataSeries Typical { get; set; } public DataSeries Weighted { get; set; } public DataSeries WeightedClose { get; set; } public TimeSeries OpenTime { get; set; } public TimeFrame TimeFrame { get; set; } public string SymbolCode { get; set; } private Symbol symbol; public IMySeries(Symbol symbol) { this.symbol = symbol; } } }
@TonNcie
TonNcie
05 Mar 2019, 21:22
Well the 'i love' was a bit quick.
What a disappointment. No backtestingsupport and no optimizesupport for multi-symbol.
In the first post i saw of about 6 years ago it was clear this is an important issue for the ctrader development community.
So could you atleast give a timeframe when it will be available or a good reason why this is not being made available?
Best to all of you
ElAntonio
@TonNcie
TonNcie
04 Feb 2019, 08:53
RE:
that would have my vote. put it up in suggestions. https://ctrader.com/forum/suggestions
@TonNcie
TonNcie
26 Jun 2019, 10:51
user definable bricksize on Renko (also from cbot)
user definable bricksize on Renko (also from cbot)
@TonNcie