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

Re: CL_Programing Question



PureBytes Links

Trading Reference Links

Here are a couple of functions that calculate the TrueHigh
and TrueLow for the day at each change of date.  Use these
and you will have most of your answer.

Clyde

{ *******************************************************************

        Study:          TrueLowD
        
        Last Edit:      11/15/97

        Provided By:    Clyde Lee/FuturesMagic (c) Copyright 1997

        Note:           Calculate DAILY true low regardless of
                        time period less than daily.

********************************************************************}

If Date<>Date[1] then begin

        if CloseD(1) < LowD(0) then 
                TrueLowD = CloseD(1) 
        else
                TrueLowD = LowD(0);
End;



NM wrote:
> 
> can anyone help me with some EL code.
> I am trying to plot the TrueRange or the AvgTruerange  but instead of using
> daily data I want to plot it on Intraday data
> and it should plot the daily trueRange or the Monthly TrueRange.
> Thanks in advance
> 
> Mark
> 
> - Subscription Information link -
> http://www.markbrown.com/list.htm

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clyde Lee   Chairman/CEO       (Home of SwingMachine)
SYTECH Corporation             email:   <clydelee@xxxxxxx> 
7910 Westglen, Suite 105       Work:    (713) 783-9540
Houston,  TX  77063            Fax:     (713) 783-1092    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
To subscribe / unsubscribe from SwingMachine list
http://www.egroups.com/list/swingmachine/

After joining list the freeware SwingMachine program 
(DOS Version) is available in the  VAULT  at:
http://www.egroups.com/list/swingmachine/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -