很牛很好用的大智慧公式源码奉献给大家另附【通达
信】发家分时(抓涨停)
[大智慧公式]
顶底雷达源码: 买入: ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) 卖出: 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(VAR5 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(VAR15 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;