卖出:
ZIG(3,10)[REF(ZIG(3,10),2),COLORF0F000;]
很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):
专吸庄血(公式源码)
N:
=5;
VAR1:
4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:
8,COLORGREEN,LINETHICK0;
上升在即:
IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血:
IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
VARO5:
=LLV(LOW,27);
VARO6:
=HHV(HIGH,34);
VARO7:
=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区:
IF((VARO7<10),80,100),COLOR00CCFF,LINETHICK1;
0,LINETHICK2,COLORFFCC00;
二、资金判牛(公式源码)
做空能量线:
SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;
做多能量线:
SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;
短线通道:
15,COLORGREEN;
强弱分界:
45,COLOR00FFFF;
短线顶部:
85,COLORFF00FF;
FILLRGN(做多能量线,短线通道,做多能量线<=短线通道),COLORRED;
FILLRGN(做空能量线,短线顶部,做空能量线>=短线顶部),COLORRED;
FILLRGN(做空能量线,短线通道,做空能量线<=短线通道),COLORBLUE;
FILLRGN(做多能量线,短线顶部,做多能量线>=短线顶部),COLORBLUE;
3、主力进场(公式源码)
VAR1:
=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:
=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:
=EMA(VAR2,10);
VAR4:
=LLV(LOW,33);
VAR5:
=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:
IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0),COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3.1,0),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.5,0),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0),COLOR0000FF;
洗盘:
IF(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5VAR12:
=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR13:
=EMA(VAR12,10);
VAR14:
=HHV(H,33);
VAR15:
=EMA(IF(H>=VAR14,VAR13,0),3);
冲顶:
IF(VAR15>REF(VAR15,1),VAR15,0),LINETHICK0,COLORFF00FF;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0),COLOR550055;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0),COLOR770077;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLOR990099;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.5,0),COLORBB00BB;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0),COLORDD00DD;
STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0),COLORFF00FF;
主力出场:
IF(VAR15STICKLINE(VAR15STICKLINE(VAR15STICKLINE(VAR15STICKLINE(VAR15STICKLINE(VAR15STICKLINE(VAR15STICKLINE(VAR15{原文链接:
}
A1:
=REF(CLOSE,2);
A2:
=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:
IF(A2<19,19,0),COLORWHITE;
4、新VOL(公式源码)
当日:
VOL;
量5:
MA(VOL,5),colorred;
量10:
MA(VOL,10);
VAR1:
=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:
IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE主动卖盘:
IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE买卖盘比:
主动买盘/主动卖盘;
WJ:
=(HIGH+LOW+CLOSE)/3;
VD1:
=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:
=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:
=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:
=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:
=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6:
=(VD1*VD5);
VD7:
=(VD2*VD5);
VD8:
=(VD3*VD5);
VD9:
=(VD4*VD5);
买入量:
=(VD9+VD8);
卖出量:
=(VD6+VD7);
买入资金:
=买入量*close/100;
卖出资金:
=卖出量*close/100;
资金进出:
=买入资金-卖出资金;
买卖资金比:
=买入资金/卖出资金;
挂单买盘:
=MA(主动买盘,3);
挂单卖盘:
=(MA(主动卖盘,3));
STICKLINE((主动买盘>0),0,主动买盘,8,0),color0000FF;
STICKLINE((主动买盘>0),0,主动买盘,7.8,0),color0018FF;
STICKLINE((主动买盘>0),0,主动买盘,7.5,0),color001BFF;
STICKLINE((主动买盘>0),0,主动买盘,7.3,0),color0022FF;
STICKLINE((主动买盘>0),0,主动买盘,7,0),color0035FF;
STICKLINE((主动买盘>0),0,主动买盘,6.8,0),color0041FF;
STICKLINE((主动买盘>0),0,主动买盘,6.5,0),color0050FF;
STICKLINE((主动买盘>0),0,主动买盘,6.3,0),color0059FF;
STICKLINE((主动买盘>0),0,主动买盘,6,0),color0062FF;
STICKLINE((主动买盘>0),0,主动买盘,5.7,0),color006CFF;
STICKLINE((主动买盘>0),0,主动买盘,5.5,0),color007AFF;
STICKLINE((主动买盘>0),0,主动买盘,5.3,0),color0080FF;
STICKLINE((主动买盘>0),0,主动买盘,5,0),color0089FF;
STICKLINE((主动买盘>0),0,主动买盘,4.5,0),color0095FF;
STICKLINE((主动买盘>0),0,主动买盘,3.5,0),color009CFF;
STICKLINE((主动买盘>0),0,主动买盘,3,0),color00ABFF;
STICKLINE((主动买盘>0),0,主动买盘,2.5,0),color00C0FF;
STICKLINE((主动买盘>0),0,主动买盘,1.5,0),color00D1FF;
STICKLINE((主动买盘>0),0,主动买盘,1,0),color00EAFF;
STICKLINE((主动买盘>0),0,主动买盘,0.7,0),color00FFFF;
STICKLINE((主动卖盘>0),0,主动卖盘,8,0),color006800;
STICKLINE((主动卖盘>0),0,主动卖盘,7.8,0),color007F00;
STICKLINE((主动卖盘>0),0,主动卖盘,7,5),color008B00;
STICKLINE((主动卖盘>0),0,主动卖盘,7,3),color008B00;
STICKLINE((主动卖盘>0),0,主动卖盘,7,0),color009000;
STICKLINE((主动卖盘>0),0,主动卖盘,6.8,0),color009500;
STICKLINE((主动卖盘>0),0,主动卖盘,6.5,0),color009C00;
STICKLINE((主动卖盘>0),0,主动卖盘,6.3,0),color00A300;
STICKLINE((主动卖盘>0),0,主动卖盘,6,0),color00AB00;
STICKLINE((主动卖盘>0),0,主动卖盘,5.7,0),color00AF00;
STICKLINE((主动卖盘>0),0,主动卖盘,5.5,0),color00B900;
STICKLINE((主动卖盘>0),0,主动卖盘,5.3,0),color00C000;
STICKLINE((主动卖盘>0),0,主动卖盘,5,0),color00C100;
STICKLINE((主动卖盘>0),0,主动卖盘,4.5,0),color00CA00;
STICKLINE((主动卖盘>0),0,主动卖盘,3.5,0),color00D300;
STICKLINE((主动卖盘>0),0,主动卖盘,3,0),color00DB00;
STICKLINE((主动卖盘>0),0,主动卖盘,2.5,0),color00EA00;
STICKLINE((主动卖盘>0),0,主动卖盘,1.5,0),color00FF00;
DRAWTEXTABS(1,1,'【买卖盘解量(手)】');
DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF;
DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00;
DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow;
DRAWTEXTABS(1,120,'┃当日买卖盘比='+NUMTOSTR(买卖盘比)),ColorFF00FF;
DRAWTEXTABS(250,30,'┃买入资金累计万元:
'+NUMTOSTR(买入资金)),Colorred,LINETHICK1;
DRAWTEXTABS(250,60,'┃卖出资金累计万元:
'+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;
DRAWTEXTABS(250,90,'┃资金进出万元:
'+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;
DRAWTEXTABS(250,120,'┃买卖资金比:
'+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;
DRAWTEXTABS(1,150,'┃当日挂单买盘:
'+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;
DRAWTEXTABS(250,500,'┃当日挂单卖盘:
'+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;
5、猎庄端窝(公式源码)
DRAWTEXTREL(10,900,'..'),linethick1,COLOR00EEff;
DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));
N:
=5;
N1:
=21;
VAR1:
=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
小试牛刀:
IF(CROSS(VAR1,8),8,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,8,7);
发现庄迹:
IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:
=LLV(LOW,27);
VARO6:
=HHV(HIGH,34);
VARO7:
=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区:
IF((VARO7<10),100,118),COLOR00CCFF,LINETHICK1;
CD1:
=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:
=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:
=SMA(SMA(CD2,3,1),3,1);
CD4:
=(CD3-SMA(CD1,9,1))-0.5;
CD5:
=IF(CD4>0.00,CD4,0.00);
CD6:
=REF(CD5,1);
VAR81:
=MA(C,9);
空头1:
=IF(CD6-CD5,CD6,CD5);
VAR1A:
=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:
=SMA(VAR1A,9,1)+100;
VAR3A:
=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:
=SMA(VAR3A,3,1);
VAR5A:
=SMA(VAR4A,3,1)+100;
VAR6A:
=VAR5A-VAR2A;
端庄窝:
IF(VAR6A>N1,VAR6A-N1,0),COLORRED;
果断出击:
IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;
DRAWICON(果断出击>0,18,7);
XG:
=CROSS(端庄窝,0.01);
选底:
IF(XG=1,16,0),STICK,LINETHICK3;
LC:
=REF(CLOSE,1);
RSI:
=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:
=CROSS(83,RSI);
减仓空仓:
10*(CROSS(CD6,CD5)ORE),COLORGREEN;
DRAWICON(减仓空仓>0,113,8);
STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),7,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),7,0),COLOR00FF00;
红持绿空:
0,COLORGREEN;
6、买点决策(公式源码)
input:
N(60,1,111);
a1:
=INDEXC;
a2:
=INDEXO;
a3:
=DISPSTATUS=1;
a4:
=BARSLAST(a3);
a5:
=(REF(a1,a4))/(REF(CLOSE,a4));
a6:
=IF(a3,CLOSE,(REF(CLOSE,a4)));
a7:
=IF(a3,(a1/a5),(REF((a1/a5),a4)));
a8:
=a6-a7;
a9:
=a2/a5;
a10:
=INDEXH/a5;
a11:
=INDEXL/a5;
a12:
=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));
a13:
=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));
大盘:
STICKLINE(a13,(a10+a8),(a11+a8),0,0),colorRed;
STICKLINE(a13,((a1/a5)+a8),(a9+a8),5,0),colorRed;
STICKLINE(NOT(a13),(a11+a8),(a10+a8),0,0),colorGreen;
STICKLINE(NOT(a13),((a1/a5)+a8),(a9+a8),5,0),colorGreen;
PARTLINE(CLOSE,CLOSE>(a1/a5),RGB(255,0,0)),linethick2,colorRed;
PARTLINE(CLOSE,CLOSE>(a1/a5)AND(CLOSE<(REF(CLOSE,1))),RGB(255,0,255)),linethick2,colorMagenta;
PARTLINE(CLOSE,(CLOSE>(a1/a5)AND((MA(CLOSE,30))>(REF((MA(CLOSE,30)),1))))AND((MA((a1/a5),30))<(REF((MA((a1/a5),30)),1))),RGB(255,255,0)),linethick2,colorYellow;
STICKLINE((((REF(a1,1))<(REF(a2,1)))AND(a1>(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;
STICKLINE((((REF(a1,1))>(REF(a2,1)))AND(a1<(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;
a14:
=MA(CLOSE,10);
a15:
=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))*3))/10;
a16:
=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))*100;
DRAWTEXT(((DATE>700101)AND(CROSS(84,a16))),HIGH,'▼'),colorGreen;
a17:
=(((2*CLOSE)+HIGH)+LOW)/4;
a18:
=LLV(LOW,34);
a19:
=HHV(HIGH,34);
a20:
=EMA((((a17-a18)/(a19-a18))*100),6);
a21:
=EMA(((0.667*(REF(a20,1)))+(0.333*a20)),4);
a22:
=LLV(LOW,120);
a23:
=HHV(HIGH,120);
a24:
=a23-a22;
a25:
=HHVBARS(CLOSE,N);
REF(CLOSE,a25),POINTDOT,ColorFF0000;
突破:
FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))