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

同花顺源码:是龙也得盘,自用买卖点,天天乾坤线

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

是龙也得盘:

KDJ指标
指标说明
KDJ,其综合动量观念、强弱指标及移动平均线的优点,
早年应用在期货投资方面,功能颇为显著,目前为股市中最常
被使用的指标之一。
买卖原则
1 K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买。
2 高档连续二次向下交叉确认跌势,低挡连续二次向上交叉
  确认涨势。
3 D值<20%超卖,D值>80%超买,J>100%超买,J<10%超卖。
4 KD值于50%左右徘徊或交叉时,无意义。
5 投机性太强的个股不适用。
6 可观察KD值同股价的背离,以确认高低点。


 RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

a=EMA(SMA(RSV,M,1),5);
b=SMA(a,M,1);
K:EMA(a,15);
D:EMA(b,15);
IF(K<30 AND CROSS(K,D)){
BUY;
}
IF(K>75 AND CROSS(D,K)){
SELL;
}
 



自用买卖点:

红线段买入绿色跑, 线段越长力度越大。含未来函数只做参考!作为缠论的参考!(本指标出自其他高手)
缠中说禅技术辅助买卖点。(顶尖财经 股票学院: www.58188.com)

 X5:=EXPMA(CLOSE,3);

X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,coloryellow;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,colorblue;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,colorwhite;
XX5:=XMA(五日斜率,4),LINETHICK2,coloryellow;
XX10:=XMA(十日斜率,7),LINETHICK2,colorblue;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX200
AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200  AND XX5> XX10 AND  XX10>XX202
AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=XMA(二十斜率,24);
AA3:=XX204>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX204
AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=XMA(二十斜率,26);
AA4:=XX206>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX206
AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=XMA(二十斜率,20);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=XMA(二十斜率,23);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=XMA(二十斜率,26);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=XMA(二十斜率,20);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=XMA(二十斜率,23);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=XMA(二十斜率,26);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
DRAWTEXT(AA1=1,10,'★AA1'),colorred;
DRAWTEXT(AA2=1,15,'★AA2'),colorred;
DRAWTEXT(AA3=1,20,'★AA3'),colorred;
DRAWTEXT(AA4=1,25,'★AA4'),colorred;
DRAWTEXT(AA7=1,30,'★AA7'),colorred;
DRAWTEXT(AA71=1,35,'★AA71'),colorred;
DRAWTEXT(AA72=1,40,'★AA72'),colorred;
DRAWTEXT(AA8=1,45,'★AA8'),colorred;
DRAWTEXT(AA81=1,50,'★AA81'),colorred;
DRAWTEXT(AA82=1,55,'★AA82'),colorred;
VARR3:=LLV(HIGH,240);
VARR4:=100*(CLOSE-VARR3)/VARR3;
VARR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VARR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VARR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VARR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARRA:=BARSCOUNT(CLOSE);
VARRB:=VARR8<20 AND VARR9<23 AND VARRA>35;
VARRC:=VARRB AND COUNT(VARRB,1)=1;
VARRD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARRE:=EMA(VARRD,5);
VARRF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARRD,VARRE);
VARR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VARR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VARR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VARR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VARR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VARR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VARR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VARR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VARR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VARR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VARR1A:=EMA(VARR19,100);
VARR1B:=2*(VARR19-VARR1A);
VARR1C:=POW(VARR1B,3)*0.1+POW(VARR1B,1);
VARR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VARR1E:=EMA(VARR1D*0.97,3);
VARR1F:=(HIGH+LOW+CLOSE)/3;
VARR20:=(VARR1F-MA(VARR1F,14))/(0.015*AVEDEV(VARR1F,14));
VARR21:=CROSS(VARR1E,LOW);
选股买点:VARR10;VARR10=4,0,20,1,0,colormagenta;
组合买:(VARR11+VARR13+VARR15+VARR17),STICK,colorred,LINETHICK2;
IF((VARR11+VARR13+VARR15+VARR17)=1,38,00),STICK,colormagenta,LINETHICK2;
组合卖: (VARR12+VARR14+VARR16+VARR18),STICK,colorgreen,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=1 ,38,0),STICK,colorgreen,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=2 ,48,0),STICK,colorgreen,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=3 ,58,0),STICK,colorgreen,LINETHICK2;
IF((VARR12+VARR14+VARR16+VARR18)=4 ,68,0),STICK,colorgreen,LINETHICK2;





天天乾坤线:

M3:=MA(CLOSE,3);
UPPER:=(1+9/100)*MA(CLOSE,9)*0.96;
主升浪:(m3-UPPER)/upper*100;
a2:=REF(主升浪,1);
a3:=REF(主升浪,2);
S:=(EMA(C,5)-REF(EMA(C,5),1))/REF(EMA(C,5),1)*100;
爆发线:MA(s,3)*2-3;
差值:主升浪-爆发线;
强势:-1

上一篇:同花顺源码:万佛朝宗,春笋破土,资金王者

下一篇:同花顺源码:成交力度云巅之上,股市短线终结者,胜利王者