您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

底部顶部警戒指标源码[同花顺公式]

相关标签: 底部顶部警戒指标源码,底部顶部警戒指标公式源码,底部警戒指标源码,顶部警戒指标源码,底部顶部警戒公式源码、

 

 

底部顶部警戒指标源码:

N: = 21;
M1 := 9;
M2 := 5;
M3 := 3;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
FASTK:=SMA(RSV,M1,1);
K:SMA(FASTK,M2,1);
D:SMA(K,M3,1);
J:3*K-2*D;
PARTLINE(j,j>ref(j,1),RGB(255,0,0),j<ref(j,1),RGB(0,255,0));
BB:=COUNT(J<ref(J,1),5)=5;
B:(ref(BB,1) AND J>=ref(J,1) AND j<30)*10,LINETHICK0;
DRAWICON(B,J*0.99,1),ALIGN1;
BIAS:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100;
XG:((CROSS(K,D)AND D<16 AND BIAS<-6))*80;
j:=3*k-2*d;
PARTLINE(J,J>ref(J,1),RGB(255,50,0),J<ref(J,1),RGB(0,255,255)),LINETHICK2;
底部警戒: 20,colorgreen,LINETHICK1;
顶部警戒: 80,coloryelLOW,LINETHICK1;
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
机构建仓区:0,LINETHICK0,colorFFFF00;
Var7:=LLV(LOW,30);
Var8:=HHV(HIGH,30);
Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;
STICKLINE(Var9>90,100,105,3,2),colorred;
Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;
DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),100,'险'),Color00FF00; //文章来至程序化交易网 cxh99.com//
DRAWICON(CROSS(90,Var9),95,9);
Var3:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5,1),3,1);
趋势:=EMA(Var3,3)-10;
风险区:IF(趋势>75,趋势,50),colorblue;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1);
DN:=IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2);
PARTLINE(90,DIF>UP,RGB(0,100,0)),LINETHICK2,LAYER7;
PARTLINE(10,DIF<DN,RGB(0,100,0)),LINETHICK2,LAYER7;

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容