Topics
Replies
genappsforex
19 Aug 2020, 14:15
RE:
Please give an example, can't find it in the docs.
@genappsforex
genappsforex
28 Jun 2020, 13:44
Print("Close", " ", Bars.ClosePrices.Last(1));
Will give you the price of the last closed bar.
So if it's 9:30 and your timeframe is 1 hour then it will give the closing price of the bar that ended just before 09:00
@genappsforex
genappsforex
26 Jun 2020, 17:48
RE:
How could i've overseen that !
Thanks.
btw a GetIndexByTime method would be nice there.
@genappsforex
genappsforex
26 Jun 2020, 16:35
RE:
@PanagiotisCharalampous
I looked at that but could not see a way to align the tick to the chart (not date/time in a tick) Sorry so my question should be altered to:
Is there a way (other than backtesting and saving to disk) to get historical Ask/Bid prices (that were valid on the time of the tick causing the calculate event to fire) in the calculate event on of an indicator?
@genappsforex
genappsforex
26 Jun 2020, 16:08
RE: RE:
This requires some manual steps and to not loose any data (i. e. missing some ticks/bars) this can only be done during weekends!
Maybe use threading, that way you will not miss ticks and then you can run it anytime
@genappsforex
genappsforex
18 May 2020, 16:48
RE: RE: RE:
PanagiotisCharalampous said:
ctid956028 said:
I wrote 2 different types of learning bots (single thread & threaded).
Also tried ML but the problems with core & framework killed that development line.
Maybe brainstorm a little about it?
Hi there,
What do you want to us to brainstorm about?
Best Regards,
Panagiotis
remark was for Christian
@genappsforex
genappsforex
17 May 2020, 13:49
RE:
I think the update and cache methods of the registry are not designed for this kind of use;
Have you tried just ordinairy share fileaccess with readonly open. If you use it like this it'll stay in cache probably the whole time so not much speedloss there.
@genappsforex
genappsforex
17 May 2020, 13:37
RE: RE: RE: cbot backtesting
you should run it through a forex cbot analyzer and try to lower the drawdown.
The analyzer 'll give you an idea on what indicator values you should not step in.
More info? contact us.
@genappsforex
genappsforex
15 May 2020, 20:38
RE: cbot backtesting
Huge DrawDown, if you want to get writ of that the results will drop severely I guess. Maybe get earlier in the game with an EMA instead of SMA??
@genappsforex
genappsforex
15 May 2020, 20:33
RE:
What is requested (time,volume,TradeType)?
What did you get(time,volume,TradeType)?
Using Magic??? really forget MT4!
@genappsforex
genappsforex
13 Apr 2020, 10:18
RE:
PanagiotisCharalampous said:
Hi PureForm,
This is by design. Since in backtesting you can choose from where to start you can load as many bars as you want. If your indicator needs more bars, just start the backtesting from an earlier date so that the bars are loaded.
Best Regards,
Panagiotis
Why is this by Design, What is the issue here?
Is it server load than the argument is voided.
As people will have to start their backtest earlier still the same amount of data will be loaded from the server, so no wins there for Spotware or the brokers.
If there is an other issue please explain. Because I know all developers and traders agree on the fact that Backtesting should simulate live as much as possible.
So making weird constructs with two dates in backtesting is not a real option.
Please take this up with the development guys. IMHO it should be changed ASAP.
@genappsforex
genappsforex
24 Feb 2020, 15:18
RE:
PanagiotisCharalampous said:
Hi genappsforex,
All positions have a TakeProfit and StopLoss property which are in absolute prices. What other closing price do you need?
Best Regards,
Panagiotis
Often we do not work with absolute prices but with distances between either entryprice or currentprice
Now we use Extentions for that but it would be nicer if it was native
@genappsforex
genappsforex
13 Feb 2020, 17:01
Might wanna help
Hi Andy,
Might wanna help you writing the cBot for free ;-) if the strategy results are OK
Do you have an FXBLUE like account running that strategy?
Best rgds,
GenappsForex@gmail.com
@genappsforex
genappsforex
12 Feb 2020, 14:57
try this
private MovingAverage f5;
private MovingAverage s5;
protected override void OnStart()
{
Bars MSMin5 = MarketData.GetBars(TimeFrame.Minute5);
f5 = Indicators.MovingAverage(MSMin5.ClosePrices, 5, MovingAverageType.Exponential);
S5 = Indicators.MovingAverage(MSMin5.ClosePrices, 50, MovingAverageType.Exponential);
.......
I hope there is more logic in your bot than this ;-)
@genappsforex
genappsforex
19 Dec 2019, 09:07
What's the problem except using an MT4 proxy thus clogging up everything and not writing the code as one should!
Suggested Fix:
1. Extract the logic
2. Rewrite the stuff fitted to cTrader without all that MT4 rubbish
And last but not least If you do not understand the logic, don't use the bot
@genappsforex
genappsforex
19 Dec 2019, 08:57
RE:
Then also all references to the chartdraw objects should be ignored ofcourse.
@genappsforex
genappsforex
19 Aug 2020, 14:20
RE:
EntryTime and also for CloseTime
@genappsforex