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

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

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

奖金海洋寻底:

JL:=EMA(VOL,13)/100;

JE:=EMA(AMOUNT,13);
JX:=((JE/JL)/100);
GL:=(((CLOSE-JX)/JX)*100);
绝对底:GL<(0-18),colorred;
大底:GL<(0-14),colorblue;
中底:GL<(0-10),coloryellow;
短底:GL<(0-6),colorwhite;
STICKLINE(绝对底,60,80,8,0),colorred;
STICKLINE(大底,40,60,8,0),colorblue;
STICKLINE(中底,20,40,8,0),coloryellow;
STICKLINE(短底,0,20,8,0),colorwhite;
高卖:80,colorred;
低吸:20,colorgreen;
VAR1:=LLV(LOW,4);
VAR2:=HHV(HIGH,4);
K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5),colorred,LINETHICK1;
D:EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;
DRAWTEXT(CROSS(K,D),K,'始');
DRAWTEXT(CROSS(D,K),D,'终');




波段:

用法:
1.DIF线上穿DRA线(金叉),指标中显示"买入=1"、红三角形和"波谷",买入;
2.买入次日股价下破MA5日均线,止损;
3.股价回踩MA5日均线不破,加仓;
4.DIF线下破DRA线(死叉),指标中显示"波峰",卖出;

 VAR1:=IF(DATE<1340830 AND DATE>900101,1,0);

VAR2:=IF(MONTH<12,1,100000);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
DIF:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2;
DEA:EMA(0.667*REF(DIF,1)+0.333*DIF,2),LINETHICK2;
QS:IF(CROSS(DIF,DEA) AND DIF<40,25,10),colorred;
买入:QS=25 AND CROSS(MA(CLOSE,5),MA(CLOSE,10)),LINETHICK02;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<22,20,'波谷1'),colorwhite;
DRAWICON(CROSS(DIF,DEA) AND DIF<22,25,1);
DRAWTEXT(CROSS(DIF,30) AND DEA<DIF,40,'初波段2'),coloryellow;
DRAWICON(CROSS(DIF,30) AND DEA<DIF,35,1);
DRAWTEXT(CROSS(DIF,65) AND DEA<DIF,55,'中波段3'),COLORFF00FF;
DRAWICON(CROSS(DIF,65) AND DEA<DIF,70,2);
DRAWTEXT(CROSS(DIF,75) AND DEA<DIF,67,'高波段4'),colorliblue;
DRAWICON(CROSS(DIF,75) AND DEA<DIF,80,2);
DRAWTEXT(CROSS(DEA,DIF) AND DEA>75,80,'波峰5'),colorgreen;
DRAWICON(CROSS(DEA,DIF) AND DEA>75,85,2);



反转888(顶尖财经 股票学院: http://58188.com):

r1=ZDMR[-1];

r888:IF(r1=HHV(r1,10),1,0);
STICKLINE(R888=1,0,1,4),coloryellow;
分白3实:0,LINETHICK1,colorwhite;
 

上一篇:同花顺源码:金叉缠论+主力拉升+穿云第三箭

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