Backtest work not correctly

Bug info:

Backtest work not correctly
pls look screen - every new deal only in new days, but indicator for start give point to start

Bot start condition 1d cross 1d. Obviously it starts one deal per day.

I don’t undertsand the problem.

but in settings i use not cross - a choose “greather than”
deal need start every time until one DEMA greather another

How many active deals per pair do you allow? Do you expect all available remaining deals to start?

Only 1.
why i need start several deals in one time?

You are using indicators as start condition. Bot will check indicator trigger once per timeframe, in your case once per day, when new value of indicator calcualted.

It this not good situation.
It will be good feature

But shouldn’t the signal stay valid during the whole candle then?

it signal doesn’t valig in next candle bot close by “bot controller” options.

Bot start deal condtion is indicator on 1d. It cannot check start condition more often, because start condition is indicator on 1d

So it’s the usual behavior at Gainium to only open deals on candle close/open? And if we only allow e. g. 1 deal per pair and another deal for the same pair is still open at that time but closes shortly after, then the bot wouldn’t open a new deal becauase the signal is only issued once?

It’s you haven’t open deals bot needs check every time condition.
Of course it’s not easy for server perfomance - but it’s normaly because condition in true state.

1 Like

What you offer is like: act like ASAP, but also check condition. This is not how it works. Its either ASAP or check condition.
If you want a feature, please create a feature request. But its not a bug in anyway.

Sorry
But i what start not asap, only if condition is true
And start not only once

If was options cross or open candle or close candel it will be feature request

At not i didn’t saw in description any information about close candle(may be bad find)

The question is when does Gainium open deals?

Only at candle open of the largest time frame’s candle of the condition in case of AND connection if all conditions were true on previous candle close. And respectively only on candle open in case of OR conditions on the condition’s time frame.

Or are deals also opened inside a current candle if the condition(s) were true on previous corresponding (highest) time frame close?

Do we have to differ between trading and backtests since the latter don’t have intermediate candle values but OHLC only?

I think deals need open were conditions true if start stay on ASAP.

Bot look at conditions and start if has true until conditions changes