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

同花顺源码:牛熊线指标+短线操盘手+财神曲线

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

牛熊线指标:

 //牛熊线

N=9*9;
A:MA(H,N),linethick3,colorgreen;
B:=MA(C,N);
D:MA(L,N),linethick3,colorgreen;
TJ1:=C>=A;
TJ2:=C<=D;
STICKLINE(1>0,D,A,1,0),colorred;




短线操盘手:


//短线操盘手

 
n:=20;
zsx1:=HHV(CLOSE,60);
zq:=BARSLAST(CLOSE=zsx1);
gg:=LLV(CLOSE,zq);
IF(gg=REF(gg,1))
zj:=(zsx1-REF(zsx1,1));
ELSE zj:=0;
 
IF(zq=0)
mttp:=gg;
ELSE mttp:REF(mttp,1)+zj;
 
pttp:zsx1;
立桩量:=FILTER(zj=0,N);
平台价:=REF(H,BARSLAST(立桩量));
//STICKLINE(C,REF(H,BARSLAST(立桩量)),REF(H,BARSLAST(立桩量)),8,0),colorgreen,LINETHICK1;
B:ZIG(3,10)*100,COLORFF00FF;
G:MA(B,2),COLORFFFF00;
持股区:DRAWGBK(B>G,STRIP(RGB(100,10,0),RGB(100,10,0),3)),COLOR600020;
持币区:DRAWGBK(B<G,STRIP(RGB(40,80,255),RGB(120,130,255),3)),COLOR404050;
N:=9;M1:=3;M2:=3;//分析家公式网
短线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,colorred,LINETHICK2;
中线:=SMA(短线,M1,1),colormagenta;
空线:=SMA(中线,M2,1),colorligreen;
BB:=IF(BARSLAST(CROSS(中线,短线))>=3 AND CROSS(短线,中线) AND 中线<30,20,0);
买:=IF(BB,-20,-40),colorred;
DRAWICON(BB>0 AND B>G,L,"BUY");
AA:=IF(BARSLAST(CROSS(短线,中线))>=4 AND CROSS(中线,短线) AND 短线>50,20,0);
//STICKLINE(AA AND B<G ,L*0.98,H,1,0),coloryellow,LINETHICK2;
DRAWICON(AA AND B<G,H*1.02,"yang");
S线:PEAK(1,5,1),coloryellow,LINETHICK1;
B线:TROUGH(3,5,0),colorred,LINETHICK1;
预期获利空间:(S线/B线)*100-100;
底部界入获利:(CLOSE/B线)*100-100;
小波峰:ZIG(3,6),colorwhite, LINETHICK1;
中波峰:ZIG(3,13),LINETHICK1;
BB:=ZIG(3,6)*100,COLORFF00FF;
GG:=MA(BB,2),COLORFFFF00;
AA:=ZIG(3,35)*100,COLORFF00FF;
DD:=MA(AA,2),COLORFFFF00;
大波峰:ZIG(3,35),LINETHICK1;
//DRAWICON(CROSS(B,G) AND B>G,B线,1);
//DRAWICON(CROSS(G,B) AND B<G,H*1.009,2);
DRAWICON(CROSS(BB,GG) AND BB>GG,L*0.998,11);
DRAWICON(CROSS(GG,BB) AND BB<GG,H*1.009,2);
STICKLINE(BB>GG AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorred;
STICKLINE(BB>GG AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(BB>GG AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(BB>GG AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorred;
STICKLINE(BB>GG AND CLOSE<OPEN,LOW,HIGH,0,0),colorred;
STICKLINE(BB<GG AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorcyan;
STICKLINE(BB<GG AND CLOSE<=OPEN,LOW,HIGH,0,0),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,OPEN,LOW,0,0),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorcyan;
STICKLINE(BB=GG AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;
STICKLINE(BB=GG AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE(BB=GG AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE(BB=GG AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;
STICKLINE(BB=GG AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
//DRAWTEXT(CROSS(B,G),B线*0.990,'↖B'),coloryellow,LINETHICK5;
//DRAWTEXT(CROSS(G,B) AND B<G,H*1.018,'↙S'),colorgreen,LINETHICK5;





财神曲线,财神爷爷送财来:

随时观察财去是否变成财来,是否变红,并积极关注后市做多的机会(顶尖财经 股票学院: http://58188.com)

EMA5:EMA(C,5),colorwhite;
EMA10:EMA(C,10),LINETHICK0,colorblack;
EMA100:EMA(C,100),LINETHICK0,colorgreen;
财神爷爷送财来:IF(EMA10>REF(EMA10,1),EMA10,DRAWNULL),LINETHICK2,colorred;
财去:IF(EMA5<REF(EMA5,1),EMA5,DRAWNULL),LINETHICK1,colorgreen;
财来:IF(EMA5>=REF(EMA5,1),EMA5,DRAWNULL),LINETHICK2,colorred;
 

上一篇:同花顺源码:奖金海洋寻底+波段+反转888

下一篇:同花顺公式下载:神手看盘主图+金牛波段