获利线:EMA(CLOSE,17),LINETHICK2,colorwhite;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
警戒线:EMA(X,13),LINETHICK2,COLORFF00FF;
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
操作线:EMA(KKC,50),LINETHICK2, colorgreen;
行情线:=EMA(A,1);
STICKLINE(行情线<警戒线,H,L,0,1),colorgreen;
STICKLINE(行情线<警戒线,C,O,2,1),colorgreen;
STICKLINE(行情线>=警戒线,H,L,0,1),colorred;
STICKLINE(行情线>=警戒线,C,O,2,1),colorred;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,1,0),coloryellow;
DRAWICON(crOSS(行情线,警戒线),LOW,1);
DRAWICON(CROSS(警戒线,行情线),HIGH,2);
DRAWTEXT(CROSS(行情线,警戒线),LOW,’←买’),coloryellow;
DRAWTEXT(CROSS(警戒线,行情线),HIGH,’←卖’),colorwhite;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)