当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

同花顺源码:小杨彩色MACD,KW凯文指标,温度计趋势

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、小杨彩色MACD

多方趋势:((7)*(SMA(((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1),2,1)),COLOR0000FF;

空方趋势:(EMA(MA(多方趋势,5),7)),COLORF0F000;
量比:=V/REF(MA(V,13),1);
买:O/LLV(C,13)<1.05 AND 量比>2.2 AND C>REF(C,1),colorgreen,;
温度值:(C-LLV(C,21))/(HHV(C,21)-LLV(C,21))*100,coloryellow,;
STICKLINE((多方趋势 AND 空方趋势 <=温度值),温度值,多方趋势,3,0),COLOR0000FF;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),COLOR0000FF;
STICKLINE((温度值<=空方趋势),温度值,空方趋势,3,0),colorgreen;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),colormagenta;



2、KW凯文指标

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D,colormagenta;
KD差值:K-D,NODRAW;
筹码集中价:(3*REF(KDJ.D,1)-2*REF(KDJ.K,1))*(HHV(HIGH,9)-LLV(LOW,9))/100+LLV(LOW,9),NODRAW;
筹码浮动:(CLOSE-筹码集中价)/筹码集中价*100,colorred,NODRAW;
DRAWICON(CROSS(J,K),K,1);
DRAWICON(CROSS(K,J),D,2);
明天观察价:(3*KDJ.D-2*KDJ.K)*(HHV(HIGH,N)-LLV(LOW,N))/100+LLV(LOW,N),colorred,NODRAW;
筹码浮动预警:(C-明天观察价)/明天观察价*100, NODRAW;
筹码集中天:BARSLAST(KDJ.K<KDJ.D),NODRAW;
筹码见底天:BARSLAST(KDJ.K>KDJ.D),NODRAW;
A1:=BARSLAST(REF(CROSS(K,D),1));
抄底机会:=REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
DRAWTEXT(抄底机会,K*0.6,'抄底');
A2:=BARSLAST(REF(CROSS(D,K),1));
战术撤退:=REF(CLOSE,A2+1)<CLOSE AND REF(K,A2+1)>K AND CROSS(D,K);
DRAWTEXT(战术撤退,K*1.3,'逃底');
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
VAR6:0;
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred;
准备拉升:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen;



3、温度计趋势

多方趋势:((7)*(SMA(((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(30),4,1),3,1),2,1)),COLOR0000FF;
空方趋势:(EMA(MA(多方趋势,5),7)),COLORF0F000;
量比:=V/REF(MA(V,13),1);
买:O/LLV(C,13)<1.05 AND 量比>2.2 AND C>REF(C,1),colorgreen,;
温度值:(C-LLV(C,21))/(HHV(C,21)-LLV(C,21))*100,coloryellow,;
STICKLINE((多方趋势 AND 空方趋势 <=温度值),温度值,多方趋势,3,0),COLOR0000FF;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),COLOR0000FF;
STICKLINE((温度值<=空方趋势),温度值,空方趋势,3,0),colorgreen;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),colormagenta;
//顶尖财经 股票学院: http://58188.com 


上一篇:同花顺源码:见底副图,犇牛16号副图,持股持币

下一篇:同花顺源码:骁龙5号,庄家绝对成本线,安南超强MACD