以下是通达信【金钻指标】优化后的笼中之王源码
通达信【金钻指标】优化后的笼中之王源码:
HJ_1:=REF(LOW,1);
HJ_2:=SMA(Abs(LOW-HJ_1),13,1)/Sma(MAX(LOW-HJ_1,0),13,1)*100;
HJ_3:=EMA(IF(CLOSE*1.2,HJ_2*13,HJ_2/13),13);
HJ_4:=LLV(LOW,34);
HJ_5:=HHV(HJ_3,34);
HJ_6:=IF(LLV(LOW,56),1,0);
HJ_7:=EMA(IF(LOW =HJ_4,(HJ_3+HJ_5*2)/2,0),3)/618*HJ_6;
HJ_8:=HJ_7 REF(HJ_7,1);
HJ_9:=REF(LLV(LOW,100),3);
HJ_10:=REFDATE(HJ_9,DATE);
HJ_11:=LOW=HJ_10;
HJ_12:=HJ_8ANDHJ_11;
HJ_13:=HJ_12 REF(HJ_12,1);
启动买点:HJ_13 REF(HJ_13,1),COLORRED,LINETHICK2;
除业绩后退股:=FINANCE(30) =REF(FINANCE(30),130);
D0:=除业绩后退股;
D2:=IF(NAMELIKE('S'),0,1);
D3:=IF(NAMELIKE('*'),0,1);
D4:=DYNAINFO(17)
去除股:=CAPITAL/1000000
去高价:=C
去掉:=D0ANDD2ANDD3ANDD4AND去除大盘股AND去高价ANDNOT(C =REF(C,1)*1.097ANDC=OANDH=L);
TJ:=DYNAINFO(4) 0
ANDHHV(HIGH,10)/LLV(LOW,10) 1.25
ANDREF(CLOSE,1) (LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)
ANDCLOSE OPEN
ANDCLOSE =HHV(HIGH,10);
核心K线:=V/REF(V,1) =1.91ANDC REF(C,1)ANDC
TT:=V=HHV(V,21);
BBL:=核心K线ANDTT;
BL:=FILTER(BBL,2);
K1:=SUMBARS(BL,1);
一买:=BL;
二买:=CROSS(C,REFV(C,K1-1));
(一买OR二买)ANDTJAND去掉AND(CLOSE/REF(CLOSE,1) 1ANDVOL/CAPITAL*100 1AND
(WINNER(C-C*0.01/100)-WINNER(C-C*20/100))*100 50ANDCYR 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5),MA(C,10)),MIN(MA(C,10),MA(C,20)));
B:=EVERY(OPEN CLOSE,3);
B9:="MACD.MACD"
B1:=C/REF(C,1) 1.03;
ZZ:=O =DD2ANDC =DD1ANDREF(C O,1)ANDC QQ2AND
C QQ1ANDQQ1 OANDO/QQ3 1.005ANDDQ;
B2:=SMA(MAX(CLOSE-REF(C,1),0),2,1)*C*102;
B3:=SMA(ABS(CLOSE-REF(C,1)),2,1)*C*100;
B4:=B2/B3*100
B5:=BANDB4;B6:=MA(C,5) REF(MA(C,5),1);
B7:=REF(MA(C,5),4) REF(MA(C,5),5);
B8:=(H-C)/C*100 1ANDREF((O-C)/C*100 1,1)ANDKDJ.J
大黑马出笼:C OANDB1ANDB6ANDB7ANDB8ANDREF(B5,1)ANDB9ORZZ;
通达信【金钻指标】优化后的笼中之王截图