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

同花顺源码:支撑压力AB线,成交资金,红色箭头抄底

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

支撑压力AB线:

红灰两色线和在一起为买入,双线分开为卖出。趋势A.B指标,趋势A上穿B为多,趋势A下穿B为空,粉线为支撑压力线,趋势AB线在粉线下则为压力,在粉线之上则为支撑。

 A:=((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)));

B:=MA(3*SMA(A,33,1)-2*SMA(SMA(A,43,1),5,1),2);
T:=IF(B>REF(B,1),B,B+2*(B-REF(B,1)));
快趋A:EMA(T,2),colorred,linethick3;
快趋B:EMA(B,2),colorgray,linethick2;
压力: HHV(快趋A,60),colorgreen;
底部: LLV(快趋A,60),coloryellow;
支撑压力:EMA (压力+底部,50)/2,COLORff00ff;




成交资金:

显示:0,colorblack;
流通:FINANCE(7)/100000000,colorcyan,NODRAW;
市值:(CAPITAL/100*C)/100000000,NODRAW,colormagenta;
AA:=V/((H-L)*2-ABS(C-O));
买量:=IF(C>O,AA*(H-L),IF(C<O,AA*((H-O)+(C-L)),V/2));
卖量:=IF(C>O,0-AA*((H-C)+(O-L)),IF(C<O,0-AA*(H-L),0-V/2));
倍量:VOL>=REF(V,1)*1.9 AND (IF(C<O,C>REF(C,1),1)),coloryellow,NODRAW;
流量:=(买量+卖量)/10000,colorred,NODRAW;
力度:((买量+卖量)/20/1.15)/1000,colorwhite,NODRAW;
五日流入:=SUM(流量,5),LINETHICK2,colorgreen,NODRAW;
控盘:IF((WINNER(C)*100)>((WINNER(C*1.1)-WINNER(C*0.9))*100),
(WINNER(C)*100)-((WINNER(C*1.1)-WINNER(C*0.9))*100),0),colorligreen,NODRAW;
浮筹:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,COLORFF5599,NODRAW;
//{量价异动}
趋势:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
ZZ:=趋势>REF(趋势,1);
K1:=VOL/1000000;
K2:=CLOSE;
V1:=EMA(K1,5);
V2:=EMA(K2,5);
量异动:=K1>REF(V1,1)*1.6 AND ZZ;
价异动:=K2>REF(V2,1)*1.06;
M1:=SUM(价异动,2)>0;
M2:=SUM(量异动,2)>0 AND REF(趋势,1)<89;
量价共振:=FILTER(M1 AND M2,3)*1;
DIF30:=EMA(C,12/4)-EMA(C,26/4);
DEA30:=EMA(DIF30,9/4);
DIF60:=EMA(C,12/2)-EMA(C,26/2);
DEA60:=EMA(DIF60,9/2);
DIF日:=EMA(C,12)-EMA(C,26);
DEA日:=EMA(DIF日,9);
DIF周:=EMA(C,12*5)-EMA(C,26*5);
DEA周:=(EMA(DIF周,9*5));
·30分:DIF30>DEA30,colorred,NODRAW;
·60分:DIF60>DEA60,colormagenta,NODRAW;
日线:DIF日>DEA日,colorlired,NODRAW;
STICKLINE(流量>0,0,五日流入,6.5,0),colorred;
STICKLINE(流量<=0,0,五日流入,6.5,0),colorligreen;
STICKLINE(五日流入<0 AND 流量>0,0,五日流入,6.5,1),colormagenta;
STICKLINE(五日流入<0 AND 流量<=0,0,五日流入,6.5,1),COLORFF9900;
STICKLINE(量价共振,0,五日流入,7,1),colorcyan;
STICKLINE(倍量,0,五日流入*0.5,6.5,0),coloryellow;




红色箭头抄底:

红色箭头抄底用法:红色箭头为抄底买入,还是比较准确的。用来抄阶段性底部。( 顶尖财经 股票学院: http://www.58188.com )

 N:=27;

M1:=9;
M2:=5;
M3:=3;
A:=6;
B:=49;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR3:=SMA(VAR2,M1,1);
K:SMA(VAR3,M2,1);
D:SMA(K,M3,1);
J:3*K-2*D;
VARA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
VARB:=SMA(VARA,9,1);
VARC:=SMA(VARB,5,1);
LC:=REF(CLOSE,1);
山:=SMA(MAX(CLOSE-LC,0),A,1)/SMA(ABS(CLOSE-LC),A,1)*100;
花:=CROSS(山,14);
底1:=IF(CROSS(VARB,VARC) AND VARB<13,20,0);
底:IF((底1 OR 花),30,0),LINETHICK2,colorred;
 

上一篇:同花顺源码:小杨起爆线,荡剑式,金斗优势

下一篇:同花顺源码:超强主力副图,持仓量筹码,多空买卖点雷达