VAR2:=EMA(SLOPE(C,21)*20+C,55);
VAR3:=EMA(C,3);
VAR4:=(2*C+L+H)/4;
VAR5:=VAR2-VAR3;
高山线:EMA(VAR4,45)*1.15;
不留线:EMA(VAR4,55)*1.3;
德水线:EMA(VAR4,40)*0.85;
般若线:EMA(VAR4,55),COLORGREEN;
若愚线:EMA(VAR4,88)*0.7,COLORRED;
信心满满:STICKLINE(VAR5>=0,VAR3,VAR2,0,0),COLORFF0000,LINETHICK1;
小心从事:STICKLINE(VAR5<0,VAR3,VAR2,0,0),LINETHICK1,COLORYELLOW;
STICKLINE(CROSS(0,VAR5) ,C,O,8,0),COLOR000088;
STICKLINE(CROSS(0,VAR5),C,O,5,0),COLOR0000AA;
STICKLINE(CROSS(0,VAR5),C,O,3,0),COLOR0000CC;
STICKLINE(CROSS(0,VAR5),C,O,1,0),COLOR0000FF;
STICKLINE(CROSS(0,VAR5),L,H,0,0),COLOR0000FF;
DRAWTEXT(CROSS(0,VAR5),C*0.96,'抄吧'),COLORFF00FF;
DRAWICON(CROSS(0,VAR5),C*0.94,9);
STICKLINE(CROSS(VAR5,0),C,O,8,0),COLORAAAAAA;
STICKLINE(CROSS(VAR5,0),C,O,5,0),COLORCCCCCC;
STICKLINE(CROSS(VAR5,0),C,O,3,0),COLORDDDDDD;
STICKLINE(CROSS(VAR5,0),C,O,1,0),COLORFFFFFF;
STICKLINE(CROSS(VAR5,0),L,H,0,0),COLORFFFFFF;
DRAWTEXT(CROSS(VAR5,0),C*0.97,'清仓'),COLOR00FF00;
STICKLINE(C>高山线 AND C<REF(C,1),C,O,8,0),COLOR008800;
STICKLINE(C>高山线 AND C<REF(C,1),C,O,5,0),COLOR00AA00;
STICKLINE(C>高山线 AND C<REF(C,1),C,O,3,0),COLOR00CC00;
STICKLINE(C>高山线 AND C<REF(C,1),C,O,1,0),COLOR00FF00;
STICKLINE(C>高山线 AND C<REF(C,1),L,H,0,0),COLOR00FF00;
DRAWTEXT(C>高山线 AND C<REF(C,1),C*1.05,'撤'),COLORFFFFFF;
DRAWICON(C>高山线 AND C<REF(C,1),C*1.07,14);
价值中枢: (般若线+德水线)/2,COLORFFFF00,LINETHICK3;
VAR2A:=REF(LOW,1);
VAR3A:=SMA(ABS(LOW-VAR2A),3,1)/SMA(MAX(LOW-VAR2A,0),3,1)*100;
VAR4A:=EMA(VAR3A*10,3);
VAR5A:=LLV(LOW,34);
先驱抄底:=MIN(LOW<=VAR5A,L);
STICKLINE(先驱抄底,C,O,8,0),COLOR0066BB;
STICKLINE(先驱抄底,C,O,5,0),COLOR0099CC;
STICKLINE(先驱抄底,C,O,3,0),COLOR00CCEE;
STICKLINE(先驱抄底,C,O,1,0),COLOR00FFFF;
STICKLINE(先驱抄底,L,H,0,0),COLOR00FFFF;
DRAWTEXT(先驱抄底,C*0.99,'先烈'),COLOR0000FF;
DRAWICON(先驱抄底,C*0.93,12);
============================
【选股一】
VAR2A:=REF(LOW,1);
VAR3A:=SMA(ABS(LOW-VAR2A),3,1)/SMA(MAX(LOW-VAR2A,0),3,1)*100;
VAR4A:=EMA(VAR3A*10,3);
VAR5A:=LLV(LOW,34);
先烈:MIN(LOW<=VAR5A,L);
【选股二】
VAR2:=EMA(SLOPE(C,21)*20+C,55);
VAR3:=EMA(C,3);
VAR4:=(2*C+L+H)/4;
VAR5:=VAR2-VAR3;
抄吧:CROSS(0,VAR5);
|