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

Swing High Programming



PureBytes Links

Trading Reference Links

Dear Group,

1st posting.  Hope I'm doing it correctly and question is not too
elementary.

I'm able to program a study that paints the bar that completes a swing high
power of 2.  Is there a way to paint the actual swing high bar??  My code
follows:

Input: occur(1),price(H),strength(2),Length(5);
IF H[strength] = SwingHigh(OCCUR,PRICE,STRENGTH,LENGTH) Then Begin
  Plot1(High,"PBHigh");
  Plot2(Low,"PBLow");
  IF CheckAlert Then Alert = TRUE;
End;

Thanks for your help.

James Mills