别想忽悠俺精品副图指标公式[其他软件公式]
相关标签:成交量指标公式 、 换手率指标公式 、 分时指标公式 、 文华指标公式 、 金蜘蛛指标公式 、 麟龙指标公式 、 波段指标公式 、 趋势指标公式 、 逃顶指标公式 、 指标公式源码 、 期货指标公式 、
原理解析:
源码:
{公式名称:别想忽悠俺}
VAR111:=IF(DATE<1090501 AND DATE>900101,1,0);
DRAWGBK(CLOSE>OPEN,COLORRGB(110,10,30),COLORRGB(0,0,0),0);
DRAWGBK(CLOSE<OPEN,COLORRGB(110,10,30),COLORRGB(0,0,0),0);
DRAWTEXT(NOT(VAR111) AND ISLASTBAR,HHV(HIGH,120)*1.19,'公式到期,敬请升级。金牛电话:13395335588\nQQ346344315\n网址:http://blog.sina.com.cn/hktglj'),ALIGN2,colorFFFF;
LC:=REF(CLOSE,1);
E:=(MAX(CLOSE-LC,0))/(SMA(ABS(CLOSE-LC),5,1))*100*VAR111;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100*VAR111;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
卖了不后悔D:=SMA(CCC,3,1);
卖了不后悔:IF(CROSS(卖了不后悔D,R),1,0),STICK;
E:=(MAX(CLOSE-LC,0))/(SMA(ABS(CLOSE-LC),5,1))*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1*VAR111;
卖了不后悔D:=SMA(CCC,3,1);
DRAWTEXT(卖了不后悔,2.5,'必'),colorFFFF00;
DRAWTEXT(卖了不后悔,2,'卖'),colorFFFF;
DRAWTEXT(卖了不后悔,1.5,'无'),colorFF00FF;
DRAWTEXT(卖了不后悔,1,'疑'),colorFF;
和易:=REF(CLOSE,1);
郑:=(SMA(MAX(CLOSE-和易,0),7,1))/(SMA(ABS(CLOSE-和易),7,1))*100;
短线买入预警:STICKLINE(CROSS(20,郑),1,0,1,0),colorFFFF;
DRAWTEXT(CROSS(20,郑),2,'备\n钱'),colorFFFF;
短线买入:STICKLINE(CROSS(郑,20),1,0,2,0),colorFF;
DRAWTEXT(CROSS(郑,20),2,'买\n进'),colorFF;
江:=(SMA(MAX(CLOSE-和易,0),7,1))/(SMA(ABS(CLOSE-和易),7,1))*100;
短线卖出预警:STICKLINE(CROSS(江,80),1,0,1,0),colorFF9966;
DRAWTEXT(CROSS(江,80)*VAR111,2,'明\n天\n见\n顶'),colorFF9966;
短线卖出:STICKLINE(CROSS(80,江),1,0,1,0),colorFF00;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J1:=DIFF;
J2:=DEA;
J3:=K;
J4:=D;
VL:=REF(LOW,1);
VH:=REF(HIGH,1);
VAR1:=(SMA(ABS(HIGH-VH),13,1))/(SMA(MAX(HIGH-VH,0),13,1))*100;
VAR2:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR3:=REF(CLOSE,1);
VAR4:=MA(VAR2,13);
VAR5:=LLV(LOW,34);
VAR6:=(SMA(MAX(CLOSE-VAR3,0),6,1))/(SMA(ABS(CLOSE-VAR3),6,1))*100;
VAR7:=CROSS(93,VAR6);
VAR8:=EMA(IF(LOW<=VAR5,VAR4,0),3);
VAR9:=HIGH>LLV(LOW,0)*7*VAR111;
VAR10:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100*VAR111,7,1),5,1);
VAR11:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100*VAR111,7,1)*16.18-VAR10*10.9;
T:FILTER(IF(VAR11<=VAR10 AND VAR8>REF(VAR8,1),VAR8*8,0),20),STICK,colorFF00FF;
T0:FILTER(IF(CROSS(J4,J3) AND (SUM(J1>REF(J1,1),3))>3,CROSS(J4,J3) AND CROSS(J2,J1),0),13),STICK,color5E8262;
T1:FILTER(CROSS(J1,J2) AND VOL>REF(SUM(VOL,5),1),3),STICK,colorFFFF;
T2:FILTER(VAR7 AND CLOSE/(REF(CLOSE,1)-1)*100<>5 AND VAR9 AND VOL>REF(SUM(VOL,3),1),5),STICK,colorFFFF00;
T3:FILTER(VAR9 AND CROSS(J4,J3) AND CLOSE/(REF(CLOSE,1)-1)*100<>5,3*VAR111),STICK,colorFF00;
DRAWTEXT(T0,T0,'注意洗盘'),color5E8262;
DRAWTEXT(T,T,'洗\n盘\n结\n束'),colorFF00FF;
DRAWTEXT(T1,T1,'主力加速'),colorFFFF;
DRAWTEXT(T2,T2,'庄家逃跑'),colorFFFF00;
DRAWTEXT(T3,T3,'止\n损'),colorFF00;
涨停82:REF(CLOSE,1)/REF(CLOSE,2)<=0.93 AND BETWEEN(CLOSE/REF(CLOSE,1),1.03,0.97) AND CLOSE/REF(CLOSE,8)<=0.8 AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.04,0.96) AND BETWEEN(REF(CLOSE,3)/REF(CLOSE,4),1.04,0.96),LINETHICK0,colorFF00FF;
STICKLINE(涨停82,0,1,4,1),colorFF;
DRAWTEXT(涨停82,2,'今\n买\n明\n涨\n停'),colorFF;
选股:涨停82,LINETHICK2,colorFF00FF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A:=250;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MM:=IF(MACD<0,MACD,0);
JJ:=MM>REF(MM,1);
ZZ:=REF(JJ,1)=1;
准备:=(JJ AND ZZ)*DEA;
STICKLINE(准备=DEA,0.1,-0.1,2,1),colorFFFF;
JH:=HHV(MAX(K,MAX(D,J)),A);
DH:=HHV(MAX(DIFF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIFF50:=SH*DIFF+50;
DEA50:=SH*DEA+50;
红柱:IF(0.1*(DIFF50-DEA50)>REF(0.1*(DIFF50-DEA50),1),0.1*(DIFF50-DEA50),0),STICK,LINETHICK1,colorFF;
黃柱:IF(0.1*(DIFF50-DEA50)<REF(0.1*(DIFF50-DEA50),1),0.1*(DIFF50-DEA50),0),STICK,LINETHICK1,colorFFFF;
缩头:=(IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1,0))*VAR111;
缩脚:=(IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)<REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0))*VAR111;
杀多:=(IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1,0))*VAR111;
诱空:=(IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)<REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0))*VAR111;
阻力:=IF(CROSS(CLOSE,MA(CLOSE,20)) OR CROSS(CLOSE,MA(CLOSE,60)),2,0);
DRAWTEXT(FILTER(杀多,3) AND 杀多,0.02*(DIFF50-DEA50),'杀\n多\n洗\n盘'),colorFF00;
DRAWTEXT(FILTER(缩头,3) AND 缩头,0.02*(DIFF50-DEA50)-0.1,'卖'),colorFF00FF;
DRAWTEXT(FILTER(诱空,3) AND 诱空,0.2*(DIFF50-DEA50),'洗\n盘'),colorFF00;
DRAWTEXT(FILTER(缩脚,3) AND 缩脚,0.02*(DIFF50-DEA50)-0.7,'满\n仓\n买'),colorFF00FF;
VRA:=REF(CLOSE,1);
VRB:=(SMA(MAX(CLOSE-VRA,0),6,1))/(SMA(ABS(CLOSE-VRA),6,1))*100;
VRC:=(2*CLOSE+HIGH+LOW)/4;
VR0:=LLV(LOW,34);
VR1:=HHV(HIGH,34);
VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6);
VR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4);
VA1:=(REF(HIGH,1)+REF(LOW,1))/2;
VA2:=MA(CLOSE,20)+2*STD(CLOSE,20);
VA3:=REF(CLOSE,1);
VA4:=(SMA(MAX(CLOSE-VA3,0),7,1))/(SMA(ABS(CLOSE-VA3),7,1))*100;
VA5:=CROSS(79,VA4);
VA6:=FILTER(VA5,4);
VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VA7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X1:=CROSS(VA1,VA2) OR VA6;
X2:=CROSS(84,VRB);
STICKLINE(X1 OR X2,0.3*(DIFF50-DEA50)*0.3,0.3*(DIFF50-DEA50)*0.3,5,0),LINETHICK5,colorFF0000;
Y1:=IF((COUNT(CLOSE<REF(CLOSE,1),8))/8>0.3 AND COUNT(VA2>VA3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
Y2:=IF(CLOSE<VVD AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0);
Y3:=CROSS(VA7,10);
Y4:=IF((COUNT(CLOSE<REF(CLOSE,1),8))/8>0.3 AND COUNT(VR2>VR3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
STICKLINE(Y1 OR Y2 OR Y3 OR Y4,0.1*(DIFF50-DEA50)*0.9,0.1*(DIFF50-DEA50)*1,3,0),LINETHICK4,colorFF00FF;
DIFF8:=EMA(CLOSE,25)-EMA(CLOSE,65);
DEA8:=EMA(DIFF8,45);
MACD8:=2*(DIFF8-DEA8);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A2:=(CLOSE/REF(CLOSE,1)-1)*200*VAR111;
A4:=INDEXC/REF(INDEXC,1*VAR111)*VAR111;
DRAWTEXT(A2/A4>9.5,DIFF8*VAR111,'追'),colorFF;
出击:=(CLOSE-OPEN)/REF(CLOSE,1*VAR111);
DRAWTEXT(CROSS(出击,0.09*VAR111) OR 出击>0.09,DEA8*VAR111,'追'),colorFF;
主力迹象:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,colorFF00FF;
主力出逃:EMA(主力迹象,9),LINETHICK0,colorFFFF;
长线资金趋势MACD:2*(主力迹象-主力出逃),LINETHICK0;
HH:=HHV(MA(长线资金趋势MACD,5),13);
LL:=LLV(MA(长线资金趋势MACD,5),13);
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4.5,0),colorAA;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4,0),colorBB;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3.5,0),colorCC;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3,0),colorCC;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2.5,0),colorDD;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2,0),colorEE;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1.5,0),colorFF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1,0),colorFF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4.5,0),color90FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4,0),color9FFF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3.5,0),colorA6FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3,0),colorB5FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2.5,0),colorC4FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2,0),colorD3FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1.5,0),colorE2FF;
STICKLINE(长线资金趋势MACD>0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1,0),colorFFFF;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4.5,0),colorFF0000;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,4,0),colorFF3300;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3.5,0),colorFF5500;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,3,0),colorFF7700;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2.5,0),colorFF9900;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,2,0),colorFFBB00;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1.5,0),colorFFDD00;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD<REF(长线资金趋势MACD,1*VAR111),长线资金趋势MACD,0,1,0),colorFFFF00;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,4.5,0),colorFF00A9;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,4,0),colorFF00A1;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,3.5,0),colorFF00AA;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,3,0),colorFF00BB;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,2.5,0),colorFF00CC;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,2,0),colorFF00DD;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,1.5,0),colorFF00EE;
STICKLINE(长线资金趋势MACD<0 AND 长线资金趋势MACD>REF(长线资金趋势MACD,1),长线资金趋势MACD,0,1,0),colorFF00FF;
VAR1Q:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2Q:=(SMA(ABS(LOW-VAR1Q),13,1))/(SMA(MAX(LOW-VAR1Q,0),10,1));
VAR3Q:=EMA(VAR2Q,10)*VAR111;
VAR4Q:=LLV(LOW,33)*VAR111;
VAR5Q:=(EMA(IF(LOW<=VAR4Q,VAR3Q,0),5))*VAR111;
主力进场:=(FILTER(VAR5Q>REF(VAR5Q,1),5))*VAR111;
DRAWTEXT(FILTER(VAR5Q>REF(VAR5Q,1),5),LOW*-0.03,'↑'),colorFFFF;
DRAWTEXT(FILTER(VAR5Q>REF(VAR5Q,1),5),LOW*-0.1,'\n主\n力\n试\n盘'),color80FF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容