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

Tradestation code for MIDAS S/R Lines



PureBytes Links

Trading Reference Links

{since I got a nasty flu I am working at home on my PC and I wrote this
code. For those interested in the theory of Paul Levine check his website

http://www.thegroup.net/invest/

I'll code in the future the top/bottom finder code
Riccardo Ronco - London}

Input: YYYMMDD(1000801);
vars: mp(0);


value1=0;
value2=0;


if date >= YYYMMDD then begin

mp= (High + Low)/2;

value1 = value1[1] + (mp*v);
value2 = value2[1] + v;
value3 = value1/value2;

Plot1(value3,"_Midas S/R");

end;