天堂地狱指标公式!超级好指标公式[其他软件公式]
相关标签:
原理解析:
源码:
Var1:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
Var2:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
Var3:=REF(Var1,1)<-20 AND Var2;
Var4:=REF(Var1,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
Var5:=FILTER(Var3 OR Var4,3);
Var6:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
Var7:=REF(Var1,1)>ABS(-20) AND Var6;
Var8:=REF(Var1,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
Var9:=FILTER(Var7 OR Var8,3);
VarA:=REF(Var1,1)<-13 AND Var2;
VarB:=REF(Var1,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VarC:=FILTER(VarA OR VarB,3);
VarD:=REF(Var1,1)>ABS(-13) AND Var6;
VarE:=REF(Var1,1)>ABS(-13) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VarF:=FILTER(VarD OR VarE,3);
DRAWICON(Var5*Var1>0,LOW,1);
DRAWICON(Var9*Var1>0,HIGH,2);
DRAWTEXT(VarC*Var1>0,1.02*REF(CLOSE,1),'关注');
DRAWTEXT(VarF*Var1>0,0.99*REF(CLOSE,1),'风险');
Var10:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(Var10,3)+EMA(Var10,6)+EMA(Var10,12)+EMA(Var10,24))/4;
PARTLINE(A1>ref(A1,1),A1),COLORRED;
PARTLINE(A1<=ref(A1,1),A1),COLORGREEN;
A2:=EMA(A1,2);
PARTLINE(A2>ref(A2,1),A2),COLORRED;
PARTLINE(A2<=ref(A2,1),A2),COLORGREEN;
A3:=EMA(A2,2);
PARTLINE(A3>ref(A3,1),A3),COLORRED;
PARTLINE(A3<=ref(A3,1),A3),COLORGREEN;
A4:=EMA(A3,2);
PARTLINE(A4>ref(A4,1),A4),COLORRED;
PARTLINE(A4<=ref(A4,1),A4),COLORGREEN;
A5:=EMA(A4,2);
PARTLINE(A5>ref(A5,1),A5),COLORRED;
PARTLINE(A5<=ref(A5,1),A5),COLORGREEN;
A6:=EMA(A5,2);
PARTLINE(A6>ref(A6,1),A6),COLORRED;
PARTLINE(A6<=ref(A6,1),A6),COLORGREEN;
A7:=EMA(A6,2);
PARTLINE(A7>ref(A7,1),A7),COLORRED;
PARTLINE(A7<=ref(A7,1),A7),COLORGREEN;
生命线: EMA(CLOSE,55);
Var11:=LLV(LOW,5);
Var12:=HHV(HIGH,4);
Var13:=EMA((Var10-Var11)/(Var12-Var11)*100,4);
Var14:=EMA(0.667*REF(Var13,1)+0.333*Var13,2);
DRAWTEXT(CROSS(Var13,Var14) AND Var13<40,LOW,'买');
Var15:=EMA(Var10,13)-EMA(Var10,34);
Var16:=EMA(Var15,5);
Var17:=(-2)*(Var15-Var16)*3.8;
DRAWTEXT(CROSS(Var17,MA(Var17,3)) AND Var16,HIGH,'卖');
Var18:=(2*CLOSE+LOW+HIGH)/4;
天堂: EMA(Var18,45)*1.15;
地狱: EMA(Var18,40)*0.85;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容