源码

K1:=EMA(C,3);
K2:=EMA(C,5);
K3:=EMA(C,8);
K4:=EMA(C,13);
K5:=EMA(C,15);
K6:=EMA(C,30);
K7:=EMA(C,35);
K8:=EMA(C,40);
K9:=EMA(C,45);
K10:=EMA(C,50);
K11:=EMA(C,60);
PARTLINE(k1>ref(k1,3),k1),Color0000FF;
PARTLINE(k1<ref(k1,3),k1),Color00FF00;
PARTLINE(k2>ref(k2,3),k2),Color0000FF;
PARTLINE(k2<ref(k2,3),k2),Color00FF00;
PARTLINE(k3>ref(k3,3),k3),Color0000FF;
PARTLINE(k3<ref(k3,3),k3),Color00FF00;
PARTLINE(k4>ref(k4,3),k4),Color0000FF;
PARTLINE(k4<ref(k4,3),k4),Color00FF00;
PARTLINE(k5>ref(k5,3),k5),Color0000FF;
PARTLINE(k5<ref(k5,3),k5),Color00FF00;
PARTLINE(k6>ref(k6,3),k6),Color0000FF;
PARTLINE(k6<ref(k6,3),k6),Color00FF00;
PARTLINE(k7>ref(k7,3),k7),Color0000FF;
PARTLINE(k7<ref(k7,3),k7),Color00FF00;
PARTLINE(k8>ref(k8,3),k8),Color0000FF;
PARTLINE(k8<ref(k8,3),k8),Color00FF00;
PARTLINE(k9>ref(k9,3),k9),Color0000FF;
PARTLINE(k9<ref(k9,3),k9),Color00FF00;
PARTLINE(k10>ref(k10,3),k10),Color0000FF;
PARTLINE(k10<ref(k10,3),k10),Color00FF00;
PARTLINE(k11>ref(k11,3),k11),Color0000FF;
PARTLINE(k11<ref(k11,3),k11),Color00FF00;
{HH:=HHV(H,0);LL:=LLV(l,0);
DRAWLINE(h=hh,hh,BARPOS=SYSPARAM(1),hh,1),coloryellow;
DRAWLINE(l=ll,ll,BARPOS=SYSPARAM(1),ll,1),color00ee00;
DRAWLINE(h=hh,(hh-ll)*0.809,BARPOS=SYSPARAM(1),(hh-ll)*0.809,1);
DRAWLINE(h=hh,(hh-ll)*0.618,BARPOS=SYSPARAM(1),(hh-ll)*0.618,1);
DRAWLINE(h=hh,(hh-ll)*0.500,BARPOS=SYSPARAM(1),(hh-ll)*0.500,1);
DRAWLINE(h=hh,(hh-ll)*0.382,BARPOS=SYSPARAM(1),(hh-ll)*0.382,1);
DRAWLINE(h=hh,(hh-ll)*0.191,BARPOS=SYSPARAM(1),(hh-ll)*0.191,1);
DRAWTEXT(c>0  and BARPOS=SYSPARAM(1),HH,’最高价:’+NUMTOSTR(hh,2)),coloryellow;
DRAWTEXT(c>0  and BARPOS=SYSPARAM(1),(hh-ll)*0.809,’最高价:’+NUMTOSTR((hh-ll)*0.809,2)),coloryellow;
{AA:=DAY<>REF(DAY,1) OR BARPOS=1;
A:=BARSLAST(AA)+1;
B:=SUM(C*V,a)/SUM(V,a);
EVERY(C>b,OPENMINUTES(TIME)=5);


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。