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

DMTF code



PureBytes Links

Trading Reference Links

To all, 

	Per multiple requests I'm resending the DMTF.ela file with text 
version.   The attached file is the same ela file I sent yesterday.

Kelly




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

	Indicator   : DMTF
	
	Last Edit   : 03/29/99

	Provided By : Kelly Korynta

	Description : A partial reconstruction from the Robert Krausz article 
"Dynamic Multiple Time Frames" in S&C magazine (Nov 96).     

******************************************************************************
***************************************************}
Inputs:  Weeksago(1),envper(2);


Value1=(HighW(WEEKSAGO)+LowW(WEEKSAGO)+CloseW(WEEKSAGO))/3;
Value2=Value1*(envper/100);
Value3=Value2+Value1;
Value4=Value1-Value2;
Value5=(((HighW(1)+LowW(1)+CloseW(1)))+((HighW(2)+LowW(2)+CloseW(2)))+((HighW(
3)+LowW(3)+CloseW(3)))+((HighW(4)+LowW(4)+CloseW(4)))+((HighW(5)+LowW(5)+Close
W(5))))/15;

If currentbar>35 then begin;
If DayOfWeek(currentdate)<=6 then plot1(value1,"Balance");
Plot2(Value5,"DBP");
Plot3 [AbsValue(-4)](Average(Value5,5),"Avg");
end;



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