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

Re : Plotting errors?



PureBytes Links

Trading Reference Links

Message text written by INTERNET:Orphelin@xxxxxxx
><<
 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;
<
***************************************************************************
Pierre,

Please indulge someone who is somewhat EL impaired.

I have been trying to figure out how to include your refresh code into
a PB example. Take, for example, the canned TS KeyReversalDn.

If PercentR(10)[1] >= 80
and H>H[1] and C<C[1] then begin
        Plot1(High,"PBHigh");
        Plot2(Low,"PBLow");
End;

Would you please rewrite this example including your refresh code?
TIA, Ian.