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

Re: Swing High ShowMe



PureBytes Links

Trading Reference Links

At 4:17 AM -0400 4/15/99, Neal Chabot wrote:
>Does anyone know how to write a ShowMe study to show the SwingHighs?
>
>This would seem to be a simple request, but is anything simple in EL?



My version is attached below and as an ELA file.

Bob Fulks


{ *******************************************************************
   
   ShowMe:       _Pivot.Points
        
   Last Edit:    8/07/98

   Coded By:     Bob Fulks     

   Styles: 
      Plot1:     Blue Point
      Plot2:     Red  Point

   Description:  Plots swing highs and lows on past high/low points.
                 Does not assure that they alternate.

********************************************************************}
Inputs:  Strength(3);

Value1 = SwingHigh(1, H, Strength, Strength+1);
Value2 = SwingLow (1, L, Strength, Strength+1);

if Value1 > 0 then Plot1[Strength](Value1, "High");
if Value2 > 0 then Plot2[Strength](Value2, "Low");



Attachment Converted: "c:\eudora\attach\PVTPNTS.ELA"