通达信异动擒妖选股指标 源码 贴图
2024-10-22 11:49:00来源:本站整理浏览:606
通达信异动擒妖选股指标 源码 贴图
D1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
D2:=IF(CLOSE>OPEN,CLOSE,OPEN);
D3:=IF(CLOSE>OPEN,OPEN,CLOSE);
D4:=LLV(D2,4);
D5:=HHV(D3,4);
D6:=D2>=D4 AND D3<=D4 AND D2>=D5 AND D3<=D5;
D7:=REF(D2,1)>=D4 AND REF(D3,1)<=D4 AND REF(D2,1)>=D5 AND REF(D3,1)<=D5;
D8:=REF(D2,2)>=D4 AND REF(D3,2)<=D4 AND REF(D2,2)>=D5 AND REF(D3,2)<=D5;
D9:=REF(D2,3)>=D4 AND REF(D3,3)<=D4 AND REF(D2,3)>=D5 AND REF(D3,3)<=D5;
D10:=D6 AND D7 AND D8 AND D9;{公式网WWW.GPXIAZAI.COM}
D11:=REF(D5,BARSLAST(D10));
D12:=D11=REF(D11,1);
D13:=BARSLAST(NOT(D12));
D14:=REF(D11,D13+2);
D15:=(REF(OPEN,5)+REF(CLOSE,5))/2;
D16:=(HIGH+LOW+CLOSE+OPEN)/4;
D17:=MAX(D15,MAX(D16,HHV(HIGH,5)));
D18:=MIN(D15,MIN(D16,LLV(LOW,5)));
D19:=D17=D15;
D20:=D19;
ZB:=NOT(CODELIKE('4'));
GS:=NOT(CODELIKE('688'));
DC:=IF(NAMELIKE('S'),0,1);
DCZ:=IF(NAMELIKE('*'),0,1);
DCZ8:=NOT(CODELIKE('8'));
DC8:=ZB AND DC AND GS AND DCZ AND DCZ8;
D21:=REF(D17,BARSLAST(D20));
D22:=D21=REF(D21,1);
D23:=BARSLAST(NOT(D22));
D24:=REF(D21,D23+2);
D25:=HHV(HIGH,120);
D26:=LLV(LOW,120);
D27:=(D25-D26)/2*189/100+D26/1.0618;
D28:=D27*0.8;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
T1:=C>REF(C, 1)AND V> REF(V, 1);
T2:=C< REF(C, 1)AND V< REF(V, 1);
XG1:=REF(T1, 1)AND T2;
异动:=D18>=D26 AND D17>D11 AND D17>D14 AND D17>D24 AND D17>D28 AND D17>D21 AND CLOSE>MA(CLOSE,60) AND C>3;
异动擒妖:REF(异动< 1,1) AND 异动 AND XG AND T1 AND DC8;
D2:=IF(CLOSE>OPEN,CLOSE,OPEN);
D3:=IF(CLOSE>OPEN,OPEN,CLOSE);
D4:=LLV(D2,4);
D5:=HHV(D3,4);
D6:=D2>=D4 AND D3<=D4 AND D2>=D5 AND D3<=D5;
D7:=REF(D2,1)>=D4 AND REF(D3,1)<=D4 AND REF(D2,1)>=D5 AND REF(D3,1)<=D5;
D8:=REF(D2,2)>=D4 AND REF(D3,2)<=D4 AND REF(D2,2)>=D5 AND REF(D3,2)<=D5;
D9:=REF(D2,3)>=D4 AND REF(D3,3)<=D4 AND REF(D2,3)>=D5 AND REF(D3,3)<=D5;
D10:=D6 AND D7 AND D8 AND D9;{公式网WWW.GPXIAZAI.COM}
D11:=REF(D5,BARSLAST(D10));
D12:=D11=REF(D11,1);
D13:=BARSLAST(NOT(D12));
D14:=REF(D11,D13+2);
D15:=(REF(OPEN,5)+REF(CLOSE,5))/2;
D16:=(HIGH+LOW+CLOSE+OPEN)/4;
D17:=MAX(D15,MAX(D16,HHV(HIGH,5)));
D18:=MIN(D15,MIN(D16,LLV(LOW,5)));
D19:=D17=D15;
D20:=D19;
ZB:=NOT(CODELIKE('4'));
GS:=NOT(CODELIKE('688'));
DC:=IF(NAMELIKE('S'),0,1);
DCZ:=IF(NAMELIKE('*'),0,1);
DCZ8:=NOT(CODELIKE('8'));
DC8:=ZB AND DC AND GS AND DCZ AND DCZ8;
D21:=REF(D17,BARSLAST(D20));
D22:=D21=REF(D21,1);
D23:=BARSLAST(NOT(D22));
D24:=REF(D21,D23+2);
D25:=HHV(HIGH,120);
D26:=LLV(LOW,120);
D27:=(D25-D26)/2*189/100+D26/1.0618;
D28:=D27*0.8;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
T1:=C>REF(C, 1)AND V> REF(V, 1);
T2:=C< REF(C, 1)AND V< REF(V, 1);
XG1:=REF(T1, 1)AND T2;
异动:=D18>=D26 AND D17>D11 AND D17>D14 AND D17>D24 AND D17>D28 AND D17>D21 AND CLOSE>MA(CLOSE,60) AND C>3;
异动擒妖:REF(异动< 1,1) AND 异动 AND XG AND T1 AND DC8;
- 上一篇公式:通达信多头二次翻红副图指标 源码 贴图
- 下一篇公式:通达信量能攻势副图指标 判断个股和大盘的量能和形态 源码 贴图