过河潜伏T主图之共振选股指标公式

N1:=3;N2:=5;N3:=8;N4:=13;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
Lwr1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
A1:=LWR1>LWR2;
Z1:=LWR1<LWR2;
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
DDU:=SMA(K,N1,1);
A2:=K>DDU;
Z2:=K<DDU;
LC:=REF(CLOSE,1);
rsi1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(Abs(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
A3:=RSI1>RSI2;
Z3:=RSI1<RSI2;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
A4:=DIFF>DEA;
Z4:=DIFF<DEA;
bbi:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
A5:=C>BBI;
Z5:=C<BBI;
mtm:=CLOSE-REF(CLOSE,1);
mms:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
A6:=MMS>MMM;
Z6:=MMS<MMM;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=vol/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘:=(V9+V8);
卖盘:=(V6+V7);
买卖差:=买盘-卖盘;
ddx:=买卖差;
DX:=MA(买卖差,5)*20;
DDX1:=SMA(DX,3,1);
DDX2:=SMA(DDX1,3,1);
DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
A7:=DDX1>DDX2;
Z7:=DDX1<DDX2;
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(买盘1-(-卖盘1))/量*换手;
DLX1:=SUM(DLX,6);
DLX2:=MA(DLX1,5);
A8:=DLX1>DLX2;
Z8:=DLX1<DLX2;
VARR1:=(2*CLOSE+HIGH+LOW)/4;
VARR2:=EMA(EMA(EMA(VARR1,4),4),4);
JE:=(VARR2-REF(VARR2,1))/REF(VARR2,1)*100;
DD:=MA(JE,3);
KK:=MA(JE,1);
A9:=KK>DD;
Z9:=KK<DD;
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LDK :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0&&HD>LDK,HD,0),14);
DMM:=SUM(IF(LDK>0&&LDK>HD,LDK,0),14);
pdi:=DMP*100/MTR;
mdi:=DMM*100/MTR;
A10:=PDI>MDI;
Z10:=PDI<MDI;
T:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10);
T1:=T AND REF(T,1)=0;
TT:=Z1 AND Z2 AND Z3 AND Z4 AND Z5 AND Z6 AND Z7 AND Z8 AND Z9 AND Z10;
TT1:=TT AND REF(TT,1)=0;
十指红柱:=IF(T1,10.4,DRAWNULL);
K1K:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2K:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1K/(K1K+K2K);
KT:=VOL-DT;
买量:=SUM(DT,1);
卖量:=SUM(KT,1);
DDXX:=EMA(买量-卖量,5)*VOL/CAPITAL*100;
DDXX1:=SMA(DDXX,3,1);
DDXX2:=SMA(DDXX1,3,1);
DDXX3:=EMA(DDXX2,5);
大单净量:=DDXX>0 AND MA(V,5)>MA(MA(V,5),5) AND crOSS(DDXX1,DDXX2);
DIFFX:=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEAX:=EMA(DIFFX,9);
macd:=2*(DIFFX-DEAX);
绿柱消失买入:=STICKLINE(DIFFX<0,0,DIFFX,2,0);
红柱消失卖出:=STICKLINE(DIFFX>=0,0,DIFFX,2,0);
顺势红柱:=IF(DIFFX>DEAX,DIFFX,DRAWNULL);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MaoBV:=MA(OBV,30);
KM:=OBV>MAOBV;
TTA1:=顺势红柱 AND 十指红柱 AND KM;
TTA2:=顺势红柱 AND 大单净量 AND 十指红柱 AND KM;
X_1S:=POW(10,6)+241230-DATE;
X_2S:=IF(X_1S>0,1,0);
X_3S:=IF(X_1S>0,1,0);
X_4S:=HHV(CLOSE,10);
起爆线:=EMA(X_4S,30),COLORMAGENTA,LINETHICK2;
X_5S:=EMA(X_4S,120);
X_6S:=MA(CLOSE*VOL,20);
X_7S:=MA(CLOSE*VOL,60);
X_8S:=1000*(X_6S-REF(X_6S,1))/REF(X_6S,1)*2;
X_9S:=1000*(X_7S-REF(X_7S,1))/REF(X_7S,1)*2;
X_10S:=(X_8S-X_9S)*VOL*CLOSE/MA(REF(VOL*CLOSE,1),5);
X_11S:=LLV(LOW,200);
X_12S:=EMA((CLOSE-X_11S)/X_11S,30)*100+200;
X_13S:=FILTER(CLOSE>=REF(CLOSE,1)*1.05 AND X_10S>=X_12S/2 AND CLOSE>=OPEN AND (CROSS(CLOSE,起爆线) OR (CLOSE>起爆线 AND REF(LOW,1)<起爆线)),20);
MM1:=TTA1 OR TTA2;
共振:MM1 AND X_13S;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图