绝地反击公式源码[通达信公式]
相关标签:魔方绝地反击指标源码 、 通达信kd指标公式源码 、 绝地反击选股指标公式 、 绝地反击付图指标源码 、 通达信最火的指标源码 、 通达信龙虎榜指标源码 、 通达信量比指标源码 、 通达信sar指标源码 、 通达信ddx指标源码 、 通达信期货指标源码 、 通达信布林线指标源码 、 通达信指标源码集锦 、 通达信蝴蝶指标源码 、 通达信boll指标源码 、 通达信创新高指标源码 、
A:=(3*ADVANCE+QHJSJ+OPEN+VOLINSTK)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
S2:=SMA(ADVANCE,3,1);
S6:=SMA(ADVANCE,5,1);
DK:=2*(S2-S6);
主力成本:EMA(X,13),COLORMAGENTA,LINETHICK0;
短期底部:LLV(HIGH,30),COLORFFCC00,LINETHICK2;
NOTEXT1:IF(MA(ADVANCE,3),MA(ADVANCE,3),DRAWNULL),COLORYELLOW,LINETHICK2;
NOTEXT2:IF(MA(ADVANCE,9),MA(ADVANCE,9),DRAWNULL),COLORMAGENTA,LINETHICK2;
NOTEXT3:IF(MA(ADVANCE,23.5),MA(ADVANCE,23.5),DRAWNULL),COLORBROWN,LINETHICK2;
TDXSTEP141:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(ADVANCE,5);
MA10:=MA(ADVANCE,10);
MA30:=MA(ADVANCE,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
红牛:FB,NODRAW,COLORRED;
TDXSTEP142:STICKLINE(红牛,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLORRED;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
牛起步:CROSS(V1,V2),NODRAW,COLORMAGENTA;
TDXSTEP143:STICKLINE(牛起步,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLORMAGENTA;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5);
AK:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*50,13);
AB:=CROSS(AK1,AK);
D牛窝:AB=1,NODRAW,COLORFF8080;
TDXSTEP144:STICKLINE(D牛窝,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLORFF8080;
AA1:=AMOUNT/DECLINE;
BB1:=QHJSJ<AA1*0.9;
CC1:=(ADVANCE-REF(ADVANCE,1))/REF(ADVANCE,1)*100>1.2;
DD1:=QHJSJ<MA(ADVANCE,5)*0.921;
EE1:=DECLINE<MA(DECLINE,5)*1.5;
铁树开花:=BB1 AND CC1 AND DD1 AND EE1;
VAR3AA:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR4AA:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND VAR3AA>0,91,0);
大胆搏:FILTER(VAR4AA>90,45),NODRAW,COLOR400080;
TDXSTEP145:STICKLINE(大胆搏,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLOR400080;
加仓:FILTER(VAR4AA>90,35),NODRAW,COLORYELLOW;
TDXSTEP146:STICKLINE(加仓,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLORYELLOW;
A1AA:=9;
A2AA:=REF(CLOSE,A1AA+1)<CLOSE;
小心变盘:FILTER(A2AA>(-0.5),84),NODRAW,COLOR40FF00;
TDXSTEP147:STICKLINE(小心变盘,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLOR40FF00;
VAR6:=REF(ADVANCE,1);
VAR7:=SMA(MAX(ADVANCE-VAR6,0),6,1)/SMA(ABS(ADVANCE-VAR6),6,1)*100;
逃顶:CROSS(82,VAR7),NODRAW,COLORB76FFF;
TDXSTEP148:STICKLINE(逃顶,MIN(OPEN,ADVANCE),MAX(OPEN,ADVANCE),4,0),COLORB76FFF;若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
S2:=SMA(CLOSE,3,1);
S6:=SMA(CLOSE,5,1);
DK:=2*(S2-S6);
主力成本:EMA(X,13),COLORMAGENTA,LINETHICK0;
短期底部:LLV(HIGH,30),COLORFFCC00,LINETHICK2;
NOTEXT1:IF(MA(CLOSE,3),MA(CLOSE,3),DRAWNULL),COLORYELLOW,LINETHICK2;
NOTEXT2:IF(MA(CLOSE,9),MA(CLOSE,9),DRAWNULL),COLORMAGENTA,LINETHICK2;
NOTEXT3:IF(MA(CLOSE,23.5),MA(CLOSE,23.5),DRAWNULL),COLORBROWN,LINETHICK2;
TDXSTEP141:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
红牛:FB,NODRAW,COLORRED;
TDXSTEP142:STICKLINE(红牛,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORRED;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
牛起步:CROSS(V1,V2),NODRAW,COLORMAGENTA;
TDXSTEP143:STICKLINE(牛起步,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORMAGENTA;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5);
AK:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*50,13);
AB:=CROSS(AK1,AK);
D牛窝:AB=1,NODRAW,COLORFF8080;
TDXSTEP144:STICKLINE(D牛窝,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORFF8080;
AA1:=AMOUNT/VOL;
BB1:=LOW<AA1*0.9;
CC1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
DD1:=LOW<MA(CLOSE,5)*0.921;
EE1:=VOL<MA(VOL,5)*1.5;
铁树开花:=BB1 AND CC1 AND DD1 AND EE1;
VAR3AA:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR4AA:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND VAR3AA>0,91,0);
大胆搏:FILTER(VAR4AA>90,45),NODRAW,COLOR400080;
TDXSTEP145:STICKLINE(大胆搏,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLOR400080;
加仓:FILTER(VAR4AA>90,35),NODRAW,COLORYELLOW;
TDXSTEP146:STICKLINE(加仓,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORYELLOW;
A1AA:=9;
A2AA:=REF(CLOSE,A1AA+1)<CLOSE;
小心变盘:FILTER(A2AA>(-0.5),84),NODRAW,COLOR40FF00;
TDXSTEP147:STICKLINE(小心变盘,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLOR40FF00;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
逃顶:CROSS(82,VAR7),NODRAW,COLORB76FFF;
TDXSTEP148:STICKLINE(逃顶,MIN(OPEN,CLOSE),MAX(OPEN,CLOSE),4,0),COLORB76FFF;{-----------------------------------}
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容