红进、绿出、白注意。
只从技术角度提示买卖,遇政策个股消息等影响会有出入,供参考。
A:=AMOUNT/V/100;VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
操盘线:=EMA(((VARA/10)+EMA(A,10)),3);行情线:=EMA(A,3);
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
趋势线:EMA(((SLOPE(C,22)*20)+C),55),coloryellow,LINETHICK2;
红升:IF(重心>=趋势线,趋势线,DRAWNULL),colorred,LINETHICK2;
蓝降:IF(重心<趋势线,趋势线,DRAWNULL),colorblue,LINETHICK2; STICKLINE(行情线<操盘线,H,L,0,1),colorgreen; STICKLINE(行情线<操盘线,C,O,2,1),colorgreen;
STICKLINE(行情线>=操盘线,H,L,0,1),colorred; STICKLINE(行情线>=操盘线,C,O,2,1),colorred;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA-DB,0),L*0.98,'★B'),colorgray; JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; DRAWTEXT(CROSS(84,JH),H*1.02,'☆S'),colormagenta; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(涨停,O,C,2,0),colorred; 跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(跌停,O,C,2,1),colorgreen;
{主趋势线:EMA(EMA(C,10),10),colorblue,LINETHICK3;
B:=主趋势线<REF(主趋势线,1);
IF(B-1,主趋势线,DRAWNULL)colorred,LINETHICK3;}
主趋势线:EMA(EMA(C,10),10),colorred,LINETHICK3;
B:=主趋势线>REF(主趋势线,1);
IF(B-1,主趋势线,DRAWNULL)colorblue,LINETHICK3;
{操盘线:EMA(EMA(C,5),5),colorred,LINETHICK2;
Y:=操盘线>REF(操盘线,1);
IF(Y-1,操盘线,DRAWNULL)colorgreen,LINETHICK2;}
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE(AA,H,L,0,0),colorred;
STICKLINE(AA,O,C,3,1),colorred;
STICKLINE(AA AND DD,O,C,3,0),colorred;
STICKLINE(BB,H,L,0,0),colorgreen;
STICKLINE(BB,O,C,3,1),colorgreen;
STICKLINE(BB AND DD,O,C,3,0),colorgreen;
STICKLINE(BB AND CC,H,L,0,1),colorwhite;
STICKLINE(BB AND CC,O,C,3,1),colorwhite;
STICKLINE(BB AND CC AND DD,O,C,3,0),colorwhite;
STICKLINE(AA AND CC1,H,L,0,0),colorwhite;
STICKLINE(AA AND CC1,O,C,3,1),colorwhite;
STICKLINE(AA AND CC1 AND DD,O,C,3,0),colorwhite;
AAA:=CONST(HHV(C,90));