主力93指标 公式 源码[同花顺公式]
指标公式源码分析及使用说明参考:
源码:
V1:=EMA(EMA(CLOSE,9),9);
控盘:=(V1-REF(V1,1))/REF(V1,1)*1000;
STICKLINE(控盘<0,控盘,0,4,0),LINETHICK1,colorAliceBlue;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),colorAliceBlue,NODRAW;
开始控盘:IF(A10,5,0),colorGold;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,3,0),colorred;
有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),colorred,NODRAW;
V2:=100*WINNER(CLOSE*0.95);//www.cxh99.com
STICKLINE(V2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,3,0),colormagenta;
高度控盘:IF(V2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),colormagenta,NODRAW;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,3,0),COLORGREEN;//http://www.cxh99.com
出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),colorgreen,NODRAW;
V3:=AMOUNT/VOL/7;V4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
V8:=SMA(ABS(LOW-V7),13,1)/SMA(MAX(LOW-V7,0),10,1);
V9:=EMA(V8,10);
V10:=LLV(LOW,33);
V11:=EMA(IF(LOW<=V10,V9,0),3);
STICKLINE(V11>REF(V11,1),0,V11,3,0 ),colorred;
洗盘:IF(V11<REF(V11,1),V11,0),colorcyan,NODRAW;
STICKLINE(V11<REF(V11,1),0,V11,3,0),colorcyan;
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),colorred;
CXH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CXH2:=SMA(ABS(LOW-CXH1),13,1)/SMA(MAX(LOW-CXH1,0),10,1);
CXH3:=EMA(CXH2,10);
CXH4:=LLV(LOW,33);
CXH5:=EMA(IF(LOW<=CXH4,CXH3,0),3);
主力进场:IF(CXH5>REF(CXH5,1),CXH5,0),colorred,NODRAW;
STICKLINE(CXH5>REF(CXH5,1),0,CXH5,3,0 ),colorred;
CXH21:=SMA(ABS(HIGH-CXH1),13,1)/SMA(MIN(HIGH-CXH1,0),10,1);
CXH31:=EMA(CXH21,10);
CXH41:=HHV(HIGH,33);
CXH51:=EMA(IF(HIGH>=CXH41,CXH31,0),3);
主力拉高:IF(CXH51<REF(CXH51,1),CXH51,0),coloryellow,NODRAW;
STICKLINE(CXH51<REF(CXH51,1),0,CXH51,3,0 ),coloryellow;
出货:IF(CXH51>REF(CXH51,1),CXH51,0),colorgreen,NODRAW;
STICKLINE(CXH51>REF(CXH51,1),0,CXH51,3,0 ),COLORGREEN;//http://www.cxh99.com
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容