通达信“金猴出世”副图指标
{换手率}
换手率:=100*VOL/(FINANCE(7)/100);
暴涨H1:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75){,COLORYELLOW};
暴涨H2:=EMA(CLOSE,8){,COLORWHITE};
暴涨VAR1:=暴涨H2-暴涨H1;
暴涨线红:=暴涨VAR1>=0;
暴涨线绿:=暴涨VAR1<0;
五十涨幅:=HHV(HIGH,50)-LLV(LOW,50);
开始暴涨反转:=暴涨VAR1>=0 AND REF(暴涨VAR1<0,1) AND COUNT(暴涨VAR1>=0,6)<=1{ AND (HHV(HIGH,50)-LLV(LOW,50))/LLV(LOW,50)<=0.25};
RSVQD:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
KQD:=SMA(RSVQD,3,1);
DQD:=SMA(KQD,3,1);
JQD:=((3 * KQD) - (2 * DQD));
VARBQD:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VARCQD:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VARDQD:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAREQD:=(((VARBQD + (2 * VARCQD)) + (3 * VARDQD)) / 6);
VARFQD:=MA(VAREQD,3);
钱袋:=(CROSS(JQD,0) AND (VARFQD <= (0 - 7)));
TJ1:=EMA((C-L),20)/EMA((H-L),20)*100;
TJ2:=(L-ABS(MIN(C,O)))/L<=1;
TJ3:=ABS((L-MA(C,5)))/L*100>10;
TJ4:=TJ1 AND TJ2 AND TJ3;
暴跌买:=TJ4 AND TJ1>REF(TJ1,1);
MMM:=4;NNN:=7;
低开长阳:=OPEN<CLOSE AND OPEN/REF(C,1) <= 1-MMM/100 AND CLOSE/OPEN>=1+NNN/100;
KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DTB:=SMA(KTB,3,1);
JTB:=3*KTB-2*DTB;
准确出击:=CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND JTB<55;
PDTC:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CCIDTC:=((PDTC - MA(PDTC,14))*(100))/((1.5)*(AVEDEV(PDTC,14)));
RSI1DTC:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
黄底:=(CCIDTC < (-100));
蓝底:=(RSI1DTC < 25);
VAR1MMQZ:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
红底:=VAR1MMQZ<-9 AND VAR1MMQZ> REF(VAR1MMQZ,1);
底:=黄底 OR 蓝底 OR 红底;
上证YUWEI:=MA("999999$CLOSE",1)-MA("999999$CLOSE",6);
上证线上:=上证YUWEI>0;
上证线下:=上证YUWEI<0;
上证线下绿柱:=上证YUWEI<0 AND 上证YUWEI<REF(上证YUWEI,1);
上证线下红柱:=上证YUWEI<0 AND 上证YUWEI>REF(上证YUWEI,1);
上证资金买:=CROSS(上证YUWEI,0);
极品底:=(MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04;
{平台突破}
MA8:=MA(CLOSE,8);
MA50:=MA(CLOSE,50);
PL1:=(((CLOSE - MA50) / MA50)<0.008);
PL2:=(((CLOSE - MA8) / MA8)<0.058);
偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);
平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
{加速跑道}
跑道AA:=MA(C,2);
跑道BB:=MA(C,9);
跑道AF:=CROSS(跑道AA,跑道BB);
跑道AF1:=CROSS(跑道BB,跑道AA);
上穿天数:=BARSLAST(跑道AF);
变动幅度:=HHV(H,20)/LLV(L,20);
周期涨幅:=(HHV(C,上穿天数+8)-LLV(C,上穿天数+8))/LLV(C,上穿天数+8);
加速跑道:=周期涨幅<=0.15 AND 上穿天数>=6 AND COUNT(跑道AF1,上穿天数)<=0 AND COUNT(底,20)>=1 AND 变动幅度<1.19;
{弱买}
多空平衡线:= EMA(EMA(EMA(HIGH,5),5),4);
弱势反弹线:= 多空平衡线*0.88;
弱买:=C<=弱势反弹线;
{要上涨}
BN:=5;
BVAR1:=4*SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
BVAR2:=8,COLORGREEN,LINETHICK0;
要上涨:=CROSS(BVAR1,BVAR2);
杀庄:=BVAR1<=8;
{量价突破}
MAVOL:=HHV(REF(VOL,1),5);
MDAY:=BARSLAST(MAVOL);
量价突破:=VOL>MAVOL AND CLOSE>REF(CLOSE,MDAY+1);
{加速变动}
王跑道AA:=MA(L,3);
王跑道BB:=MA(L,26);
王跑道AF:=CROSS(王跑道AA,王跑道BB);
王跑道AF1:=CROSS(王跑道BB,王跑道AA);
王上下穿数:=COUNT(王跑道AF1,20)+COUNT(王跑道AF,20);
CC:=EMA(王上下穿数,10)*6;
CC差:=ABS(CC-REF(CC,2));
加速变动:=量价突破 AND CC<=1;
{资金通用}
A:=V*100/CAPITAL;
主力:=MA(A,4);
游资:=MA(A,8);
大户:=MA(A,16);
散户:=MA(A,32);
{资金额亿}
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6);
线上:=YUWEI>0;
线下:=YUWEI<0;
线下绿柱:=YUWEI<0 AND YUWEI<REF(YUWEI,1);
线下红柱:=YUWEI<0 AND YUWEI>REF(YUWEI,1);
资金买:=CROSS(YUWEI,0);
{资金十日流入}
十日流入:=COUNT(线下,10)=0;
{资金逆市进入}
资金逆市进入值:=COUNT(线上,8)-COUNT(上证线上,8);
资金逆市进入:=资金逆市进入值>=4;
{总黑马}
黑马1:=主力>=散户 AND REF(主力<散户,1) AND COUNT (线下,10)<=2 AND (CLOSE-REF(CLOSE,3))/REF(CLOSE,3)<=0.15;
通条件1:=主力>散户 AND 游资>散户 AND 大户<散户 AND REF(游资<散户,1);
通条件2:=主力>散户 AND 游资>散户 AND 大户>散户 AND REF(大户<散户,1) AND COUNT (游资<散户,3)<=1;
通条件:=通条件1 OR 通条件2;
肯定黑马资条:=COUNT (线下,10)<=1;
黑涨幅:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.14;
- 上一篇公式:通达信挖金子主图指标源码
- 下一篇公式:金钻之四,短打快出,好不好自己看,副图,源码