红色实心k线是涨停线,绿色实心k线是跌停线,绿色实心k线是轻仓买入,黄色实心k线是重仓买入,白色空心k线是建仓或者清仓线,在高位顶部一定轻仓。
k线说明主力操盘意图,不用看均线系统就可以,均线也是k线运行画出来的,所以k线必均线更重要。
变色k线主要是做短线用,效果十分的好。突出了右侧交易的重要性,买涨不买跌。
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
SMA2:=MA(B2,3) ;
停损下限:IF(LLV(MA(B2,7),3) B2,LLV(MA(B2,7),3),B2),coloryellow;
FILLRGN(b2,sma2,b2 sma2,RGB(255,0,0),b2 SMA2,RGB(0,255,0));
snakeA:HHV(MA(B2,1),13),coloryellow;
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=MA(Var1,7);
Var3:=Var2-MA(Var1,7/2)
Var4:=Var2-MA(Var1,7/2)
Var5:=BARSLAST(Var3);
Var6:=0-BARSLAST(Var4);
Var7:=IF(Var3 =0,Var5,Var6);
STICKLINE(snakea b2 AND b2 SMA2,snakea,b2,1,1),colorwhite;
STICKLINE(snakea SMA2 AND b2 SMA2,SNAKEA,SMA2,1,1),colorwhite;
涨停:=IF(REF(C,1)*1.1-C 0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3 =(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k=SMA(RSV,3,1);
D=SMA(K,3,1);
MD:=2*(K-D);
DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DEA : =EMA(DIFF,9),colorliblue;
MACD:=2*(DIFF-DEA);
主力重仓买:(MACD =0 AND MACD =REF(MACD,1)) AND (MD 0 AND MD =REF(MD,1)),nodraw,coloryellow;
主力轻仓买:(MACD =0 AND MACD =REF(MACD,1)) AND (MD 0 AND MD =REF(MD,1)),nodraw,colorgreen;
减仓或清仓:(MACD =0 AND MACD =REF(MACD,1)) AND (MD 0 AND MD =REF(MD,1)),nodraw,colorwhite;
STICKLINE(主力重仓买 ,OPEN,CLOSE,4,0),coloryellow;
STICKLINE(主力轻仓买 ,OPEN,CLOSE,4,0),colorgreen;
STICKLINE(减仓或清仓 ,OPEN,CLOSE,8,1),colorwhite,linethick2;