[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : Plotting errors?



PureBytes Links

Trading Reference Links

Dans un courrier daté du 03/09/98 06:06:21  , vous avez écrit :

<< |
 |  for k=10 downto 0 begin
 |    plot1[k](value1[k],"myStuff");
 |    plot2[k](value2[k],"myStuff");
 |   end;
 |
 |  Sincerely,
 |
 |  Pierre Orphelin
 |  www.sirtrade.com
 
 
 Pierre,
 
 Is there a reason your example uses "k=10 downto 0" instead of "k=1 downto
 0"?
 
 What is the value of going more than the previous bar back?
 
 And does this really correct a paint bar that was painted during Update
 Every Tick, but then the condition became invalid by the completion of a
 bar?
 
 Thank you, >>

This solution has not been tested, only typed directly from the infamous
 aol mailer.

Either the for "k=1 downto 0" will be sufficient to enforce repainting, or you
will need to increase k if it does not work for you (at the cost of computer
time).
I have note tested TS5 realtime, but from the ofline version, it seems that
refreshing the screen behaves diferently.

Sincerely,

Pierre Orphelin