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

Re: Previous Day High/Low/Close



PureBytes Links

Trading Reference Links

Hello Cody,

Wednesday, April 10, 2002, 8:34:52 PM, you wrote:

CB>     Hello,

CB> I am searching everywhere for an ela file that will plot the previous day's
CB> high/low/close on an intraday chart.  Can anyone lead me to the gold mine?

CB> Thanks,
CB> Cody


This will plot the highs and lows of yesterday and the day before
{*******************************************************************
Description     : ShowMe plots for New Highs and lows
of yesterday and day before

        : Shepherd 8/13/01
********************************************************************}

Inputs: Period(2);
Variables: HighY(0),  HighYY(0),LOWY(0), LowYY(0);
        
If Period = 2 AND DataCompression <= 2 Then Begin
        If Date <> Date[1] Then
                HighY = HighD(1);
If Period = 2 AND DataCompression <= 2 Then
        If Date <> Date[1] Then
                HighYY = HighD(2);


        If Period = 2 AND DataCompression <= 2 Then
        If Date <> Date[1] Then
                LowY = LowD(1);
If Period = 2 AND DataCompression <= 2 Then
        If Date <> Date[1] Then
        LowYY = LowD(2);



{If TDY = DatetoJulian(0) Then}
        Plot1( HighY , "YestedayHigh" );
                Plot2( HighYY , "High2daysago" );
                Plot3(LowY, "YesterdyLow");
                Plot4(LowYY,"Low2daysago");
End;



-- 
Best regards,
 Roger                            mailto:mailrs@xxxxxxxxxx