大智慧切换周期均线自动变换指标!

2011-02-21 11:21:00来源:本站整理浏览:96

大智慧L2周期变换均线自动切换,本例是135均线

此公式乃本人原创,阅读一定顶一下,不顶就是凤姐凤姐夫

IF datatype=8 then begin
MA(C,13),colorred;
MA(C,34),colorgreen;
MA(C,55),colorblue;
{MA(C,89),DOTLINE;
MA(C,133),DOTLINE;}

DRAWTEXTREL(220,20,'日线:(13,34,55) '), colorbbffff;
end

if datatype=7 then begin
MA(c,3),colorred;
MA(C,8),colorgreen;
MA(C,18),colorblue;
MA(C,220),DOTLINE;

ma(c,18)-ref(ma(c,18),1),LINETHICK0;
DRAWICON(TIME=103000,LOW,11),ALIGN1;
DRAWTEXTREL(220,20,'60周期:(3,8,18,220) '), colorbbffff;
end
if datatype=6 or datatype=5 or datatype=4 or datatype=3 then begin
MA(c,3),colorred;
MA(C,8),colorgreen;
MA(C,18),colorblue;
MA(C,233),DOTLINE;
DRAWTEXTREL(220,20,'小周期:(3,8,18,233) '), colorbbffff;
end;
if datatype=9 then begin
MA(c,5),colorred;
MA(C,13),colorgreen;
MA(C,21),colorblue;
MA(C,89),DOTLINE;
DRAWTEXTREL(120,20,'周线:(5,13,21,89) '), colorbbffff;
end;

 

股票公式栏目导航

本类热门

相关公式