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

同花顺源码:买卖点主图,刀哥(多空分界),吸筹趋势

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

买卖点主图:

红块买点,绿块卖点。卖买随区域多少而增多

 MA5:MA(C,5);

MA24:MA(C,24);
DRAWBAND(MA5,RGB(90,0,0),MA24,RGB(0,90,0));
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));
DRAWTEXT(CROSS(MA5,MA24),L*0.97,'▲'),coloryellow;
买点:=L<REF(O,1) AND REF(L,1)<REF(L,2) AND REF(L,2)<REF(O,3);
DRAWTEXT(REF(买点,1) AND MA5>MA24 ,L*0.97,'买');
 


刀哥(多空分界):

LC := REF(CLOSE,1);

RSIA:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI1:MA(RSIA,N2);
RSIB:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
RSI2:MA(RSIB,N4);
a:65;
b:24



吸筹趋势:

吸筹吸底趋势( 顶尖财经 股票学院: http://www.58188.com )

LC:= REF(C,1); F1:=ZIG(3,15);
方向:IF((F1> REF(F1,1)),5,105),colorgreen,LINETHICK2;
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/30;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
STICKLINE(VAR9>VARA,VAR9,VARA,8,0), colormagenta;
STICKLINE(VAR9<=VARA,VAR9,VARA,8,0), colorgreen;
STICKLINE(AA,0,90,2,0),colorwhite;
STICKLINE(AA,0,70,3,0),coloryellow;
A1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
B2:=SMA(ABS(LOW-A1),13,1)/SMA(MAX(LOW-A1,0),10,1);
C3:=EMA(B2,10);
D4:=LLV(LOW,33);
E5:=EMA(IF(LOW<=D4,C3,0),3);
F6:0;
主力进场:IF(E5>REF(E5,1),E5,0),colorred,NODRAW;
STICKLINE(E5>REF(E5,1),0,E5,3,0 ),colorred;
洗盘:IF(E5<REF(E5,1),E5,0),colorgreen,NODRAW;
 
..............

上一篇:同花顺源码:波段222,提前MACD,刀哥小黑马

下一篇:同花顺源码:RXB,能量资金谱,波动副图