Amazon cloud is slow, was: Warning 901 chart incomplete. Rendering timeout reached (1500ms)

warning 901 chart incomplete. rendering timeout reached (15ooms). rendered plot()s

whats the problem ..with or without data input my amibroker is showing this message .during message plotted buy sell arrow disappears and then in few secs it comes back again ..please explain the problem ?is it setting related or RAM or afl related?

It means you may have too slow AFL code. Is Plot or Gfx in loop? Avoid Plot function in loop i.e. reduce plot function calls.

Check out this thread to learn about difference between error and warning

1 Like

thank you very much .will look into afl code for removing warning

my code is as below

_SECTION_BEGIN("breakoutsystem 81");
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
kTop   = MA(C,20)+2 * ATR(20);
KBot = MA(C,20) -2* ATR(20);


shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorCustom11, colorCustom12), 0, IIf( Buy, Low, High ) );
// price plot
Plot( C, "Close", colorDefault, styleBar );

Moderator comment: you need to use CODE TAGS as per forum rules. How to use this site

do u find any loop function?

If this code needs more than 1.5 seconds you either have some absurd number of bars (something like 10 million or more) and drawing shape on every bar (10 million shapes) or your computer has problem with graphic card.

sir , i am using amibroker on amazon virtual computer so i feel graphic card issue is not likely . Moreover amibroker on my computer is working normally from which i connect this virtual computer. how do i check bar numbers as u told ?
thanking you
dr pragnesh

1 Like

To check the number of Bars being used, you need to use the variable BarCount

Anything on the cloud, you need to specify all details. In a virtualized environment, there is no guarantee of how much CPU/GPU share you get per second so check what type of instance you are running or go for dedicated setups instead.

First you are NOT supposed to use single license on private and public (Amazon) computers. Single user license can only be installed on computers that you OWN, not lease.

Secondly, Amazon offers very poor graphics performance because Amazon services are NOT targeted for graphics and Amazon graphics is done in software virtualization layer (super slow) . You are NOT getting any "hardware" graphics in Amazon cloud. That is the source of your problems.


this was overlooked, it is a valid point to keep in mind.