主机构博弈王公式源码超精准短线买卖信号指标[同花顺公式]
这是一款超精准短线买卖信号指标,通过趋势,位置,主力资金量能相结合编辑得出,对于短线抄底逃离有很好的辅助提示作用。当指标出现买入时为入场信号;出现逃离时为减仓或卖出信号。
源代码:
MA1:MA(C,M1);
MA2:MA(C,M2);
MA3:MA(C,M3);
MA4:MA(C,M4);
MA5:MA(C,M5);
MA6:MA(C,M6);
MA7:MA(C,M7);
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(CLOSE,20));
【量能饱和】:IF(SAT>1,1,SAT)*100,coloryellow,NODRAW;
STICKLINE(C>1.098*REF(CLOSE,1),C,O,0,0),coloryellow;
上火车轨:=MA3>MA4 AND MA3>REF(MA3,1) AND MA4>REF(MA4,1) AND MA3-MA4>REF((MA3-MA4),1) ;
STICKLINE(上火车轨,MA3,MA4,0,0),colorred;
AA:=BARSCOUNT(C);
//www.cxh99.com
AH:=HHV(HIGH,120);
AL:=LLV(LOW,120);
A0:=(AH-AL)/30;
STICKLINE((AA+0)/34=FLOOR((AA+0)/34),L*0.99,L*0.97,2,0),COLORF00FF0;
DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),L*0.97,'时间窗'),COLORF00FF0;
cxh1:=SUM(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(L-REF(C,1))),25);
cxh2:=H-REF(H,1);
cxh3:=REF(L,1)-L;
cxh4:=SUM(IF(cxh2>0 AND cxh2>cxh3,cxh2,0),25);
cxh5:=SUM(IF(cxh3>0 AND cxh3>cxh2,cxh3,0),25);
cxh6:=cxh4*100/cxh1;
cxh7:=cxh5*100/cxh1;
cxh8:=MA(ABS(cxh7-cxh6)/(cxh7+cxh6)*100,15);
cxh9:=(cxh8+REF(cxh8,15))/2;
A:=(cxh7>cxh6 AND cxh7>25 AND cxh6<25);
B:=ZIG(3,5)*100;
G:=MA(B,2);
D:=CROSS(B,G);
W:=CROSS(G,B);
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
cxh10:=F AND F<8;
cxh11:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
cxh12:=SMA(cxh11,3,1);
cxh13:=SMA(cxh12,3,1);
cxh14:=cxh13 AND cxh13<20;
DRAWTEXT(FILTER(D=1,5),L-0.1,'+↖B主进'),coloryellow;
DRAWTEXT(W=1,H*1.02,'_S'),COLORGREEN;//http://www.cxh99.com
STICKLINE(W=1,O,C,3,0),colorblue;
STICKLINE(D=1,O,C,3,0),coloryellow;
AAA:=CONST(HHV(HIGH,90));
A74:=MA(C,20);
A75:=(C > MA(C,5));
A76:=(MA(C,5) > MA(C,10));
A77:=(C > MA(C,10));
A78:=(MA(C,5) > MA(C,20));
A79:=(C > MA(C,20));
A710:=REF(A74,1);
A711:=(A74 > A710);
AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10)))
+ IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));
DSLX:=(C / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(V,5);
V2:=MA(V,10);
T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));
T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));
T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));
T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));
T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));
T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0));
T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));
T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));
T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容