同花顺三丰线副图指标
源码
m:=60;n:=3;
Var11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
三丰线:EMA(Var11,5),COLOR00ffff, linethick2;
Var12:=(三丰线-REF(三丰线,1))/REF(三丰线,1)*100;
STICKLINE(三丰线 13,0,20,5,0),coloryellow;//准备资金:
STICKLINE(REF(三丰线,1) 13 AND Var12 13,0,50,5,0),colorred;//买入股票:
STICKLINE(REF(三丰线,1) 90 AND Var12 0,100,80,5,0),COLORff88ee;//见顶清仓:
0, color999999;
100 ,color999999;
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),colorf0f000;
Var1:=(CLOSE+LOW+HIGH)/3;
Var2:=SUM(((Var1-REF(LOW,1))-(HIGH-Var1))*VOL/100000/(HIGH-LOW),0);
Var3:=EMA(Var2,1);
JCS:=Var3;
JCM:=MA(Var3,12);
JCL:=MA(Var3,26);
zljr:=(jcs-jcm)*60;
Var34:=CAPITAL/EMA(VOL,5)/30*1.1;
gz:=IF(CROSS(zljr ,var34) ,50,0);
Var81:=EMA(HHV(HIGH,500),21);
Var82:=EMA(HHV(HIGH,250),21);
Var83:=EMA(HHV(HIGH,90),21);
Var84:=EMA(LLV(LOW,500),21);
Var85:=EMA(LLV(LOW,250),21);
Var86:=EMA(LLV(LOW,90),21);
Var87:=EMA((Var84*0.96+Var85*0.96+Var86*0.96+Var81*0.558+Var82*0.558+Var83*0.558)/6,21);
Var88:=EMA((Var84*1.25+Var85*1.23+Var86*1.2+Var81*0.55+Var82*0.55+Var83*0.65)/6,21);
Var89:=EMA((Var84*1.3+Var85*1.3+Var86*1.3+Var81*0.68+Var82*0.68+Var83*0.68)/6,21);
Var8A:=EMA((Var87*3+Var88*2+Var89)/6*1.738,21);
Var8B:=REF(LOW,1);
Var8C:=SMA(ABS(LOW-Var8B),3,1)/SMA(MAX(LOW-Var8B,0),3,1)*100;
Var8D:=EMA(IF(CLOSE*1.35 =Var8A,Var8C*10,Var8C/10),3);
Var8E:=LLV(LOW,30);
Var8F:=HHV(Var8D,30);
Var810:=IF(MA(CLOSE,58),1,0);
ck:= EMA(IF(LOW =Var8E,(Var8D+Var8F*2)/2,0),3)/618*Var810;
底部:=IF(ck 50,50,ck);
STICKLINE(底部 0,0,底部,4,1),COLORff00ff; //底部吸筹: