Info | [Init] Not enough bars to calculate EMAs. Required: 400, Available: 200. Bot will stop.

Created at 25 Oct 2024, 15:49
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SA

sagivb24

Joined 25.10.2024

Info | [Init] Not enough bars to calculate EMAs. Required: 400, Available: 200. Bot will stop.
25 Oct 2024, 15:49


Hi guys,

So basically we cant backtest or optimize any cbot that carries indicators with more than 200 bars…

I'm sorry if I sound rude but are you guys serious ?!

 

Regardless, I love your system, and I want to thank you your hard work!!!

 


@sagivb24
Replies

Shares4us
03 Nov 2024, 09:23 ( Updated at: 03 Nov 2024, 09:25 )

it's not friendly but it's not rude!

This issue is as old as cTrader, Note enough bars in backtesting or way too much bars in other situations.
While a Marketdata.getbars(timeframe, numberOfBars) would solve all these issues of bots needing more historicle data to analyze or less data for memory stress.

Why cTrader is deaf to these easy to solve cryouts from developers is a BIG mistery to all of us!
 


@Shares4us

Shares4us
03 Nov 2024, 09:24 ( Updated at: 03 Nov 2024, 09:25 )

RE: Info | [Init] Not enough bars to calculate EMAs. Required: 400, Available: 200. Bot will stop.

missing delete function of your own posts in this forum.


@Shares4us

PanagiotisCharalampous
04 Nov 2024, 07:16

Hi there,

The option to load more bars in backtesting will be added in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous