以下是白线上方持有,红线为生命线

白线上方持有,红线为生命线

源码

七天线:MA(C,7),colorgray;

工作线:(EMA(C,14)),POINTDOT,LINETHICK4,coloryellow;

生命线:(MA(C,25)),LINETHICK2,colormagenta;

{不惑线:(MA(C,40)),colorcyan; }

姊妹线:(EMA(C,56)),POINTDOT,colorwhite;

A3:=EMA((((SLOPE(C,21)) * 20) + C),68);

A4:=EMA(C,10);

A5:=REF(C,2);

A6:=((SMA((MAX((C – A5),0)),6,1)) / (SMA(ABS((C – A5)),6,1))) * 100;

A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);

A8:=LLV(L,21);

A9:=HHV(H,21);

A10:=EMA((((CLOSE – A8) / (A9 – A8)) * 100),5);

A11:=EMA((((CLOSE – A8) / (A9 – A8)) * 50),13);

A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);

A13:=LLV(L,55);

A14:=HHV(H,34);

A15:=EMA((((C – A13) / (A14 – A13)) * 100),3);

A16:=(A11 + A15) / 2;

A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);

A18:=EMA(A16,5);

A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);

A20:=CROSS(A10,A11);

A21:=(CROSS(A10,A19)) AND (A19 < 30);

A22:=A21 * 0.6;

A23:=((C + L) + H) / 3;

A24:=EMA(A23,6);

A25:=EMA(A24,5);

A26:=CROSS(A24,A25);

DRAWICON(A26,(LOW / 1.015),1),LINETHICK2,colormagenta;

{DRAWTEXT(CROSS(A4,A3),L*0.9,’线上阴线买停板’),LINETHICK4,coloryellow; }

STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),colorred;

STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),colorred;

STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),colorred;

STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),colorred;

STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),colorgreen;

STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),colorgreen;

STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),colorgreen;

STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),colorgreen;

 

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