[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 02/09/98 19:38:17  , vous avez écrit :

<< 
 var:k(0);
 Value1= your indicator;
 for k=10 downto 0 begin
  plot1[k](value1[k],"myStuff");
 end;
 <
 
 Pierre,
 
 Can you explain how this is used. Is it used as a seperate indicator
 or plotted within the indicator to be refreshed?
>>
Plotend within the indicator to be refreshed.
maybe  for k=1 downto 0 begin....will be sufficient.

<<
 Could this be used to refresh paintbars that are updated every tick
 yet continue to paint even though the criteria for painting is no 
 longer true?
>>

Yes, of course.
You need to include 2 plots statements within the for.... loop in this case
 
var:k(0);
 Value1= your indicator- High value;
 Value2= your indicator-Low value; 

for k=10 downto 0 begin
  plot1[k](value1[k],"myStuff");
  plot2[k](value2[k],"myStuff");
 end;

Sincerely,

Pierre Orphelin
www.sirtrade.com