1、短线15% {公式名称: 短线15%} VAR1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0); VAR2:=SUMBARS(VOL,CAPITAL); VAR3:=IF(CLOSE>LLV(CLOSE,VAR2),1,0-1)*IF(VAR1>LLV(VAR1,VAR2),1,0-1); VAR4:=COUNT(IF(VAR3=0-1,1,0)=1,8)>2; VAR5:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100)*100<0-18; VAR6:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.009; VAR7:=VAR4 AND VAR5 AND VAR6; VAR8:=OPEN<EMA(CLOSE,5) AND CLOSE=HIGH AND CLOSE/OPEN>=1.105 AND VOL/CAPITAL>=0.019 AND VOL/CAPITAL<=0.2; VAR9:=VAR8 AND COUNT(VAR8,5)=1; VAR10:=MA(CLOSE,3)>REF(MA(CLOSE,3),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND VOL/240>REF(VOL,30)*1.2/240*1.5 AND CLOSE>LOW*1.059 AND CLOSE>REF(MA(CLOSE,3),1) AND REF(CLOSE,1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(VOL,5)>REF(MA(VOL,5),1) AND MA(CLOSE,5)-MA(CLOSE,10)<=0.579; VAR11:=FILTER(VAR10,5); 选股:VAR7 OR VAR8 AND VAR11; 2、四量图副图 {公式名称: 四量图 公式描述: 无参数 公式类型: 技术指标公式-其他类型 画线方法: 副图 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释: 本指标由股市中判断量能变化的经典指标结合而成. 指标中在同一天内有两个区域是红色,代表个股受到量能支持,股价有机会持续上涨. 指标中不能只有一个区域为红色,这代表量能不足. 当两个以上区域为红色时,任意一个区域颜色变绿都代表减仓信号 有三个区域的颜色变为绿色时即为清仓信号,代表市场已经得不到量能支持. LB四量图: 第一条散户量,红色表示有散户量,绿色表示无散户量; 第二条游资量,红色表示有游资量,绿色表示无游资量; 第三条机构量,红色表示有机构量,绿色表示无机构量; 第四条主力量,红色表示有主力量,绿色表示无主力量; 公式源码:} X:=VOL/MA(VOL,30)-1; 散户量BQIUV:SUM(X,0),NODRAW; BQIUVEMA6:=MA(散户量BQIUV,6); TDXSTEP258:STICKLINE(散户量BQIUV>=BQIUVEMA6,9,11,4,0),COLOR0000AA; TDXSTEP259:STICKLINE(散户量BQIUV<BQIUVEMA6,9,11,4,0),COLOR008800; LC:=(CLOSE/MA(CLOSE,30)-1)*100; LD:=(AMO.AMOW/MA(AMO.AMOW,30)-1)*100; M:=LD-LC; R:=MA(M,30); 游资量BQIUSV:(R*30-REF(M,30)+REF(M,29))/30,NODRAW; QIUSVEMA6:=EMA(游资量BQIUSV,6); TDXSTEP260:STICKLINE(游资量BQIUSV>=QIUSVEMA6,6,8,4,0),COLOR0000AA; TDXSTEP261:STICKLINE(游资量BQIUSV<QIUSVEMA6,6,8,4,0),COLOR008800; 机构量WWV:SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,24)/10000,NODRAW,COLORCYAN; 机构量WWV10:SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,24)/100,NODRAW,COLORCYAN; TDXSTEP262:STICKLINE(机构量WWV>=0,3,5,4,0),COLOR0000AA; TDXSTEP263:STICKLINE(机构量WWV<0,3,5,4,0),COLOR008800; RAWEMV:=((HIGH+LOW)/2-(REF(HIGH,1)+REF(LOW,1))/2)/(AMO.AMOW/(HIGH-LOW)); 主力量XEV:EMA(RAWEMV,27)*100000*1000,NODRAW,COLORGREEN; 主力量XEV10:主力量XEV*10,NODRAW,COLORGREEN; TDXSTEP264:STICKLINE(主力量XEV>=0,0,2,4,0),COLOR0000AA; TDXSTEP265:STICKLINE(主力量XEV<0,0,2,4,0),COLOR008800; 3、抄底逃顶 经典公式,很有用( 顶尖财经 股票学院: http://www.58188.com ) 多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE; 0,COLORRED; STICKLINE(多空<-10,0,多空,0,0),COLORGREEN; STICKLINE(多空>10,0,多空,0,0),COLORYELLOW; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=((3 * K) - (2 * D)); VARA1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100); VARA2:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100); VARA3:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100); VARA4:=(((VARA1 + (2 * VARA2)) + (3 * VARA3)) / 6); VARA5:=MA(VARA4,3); STICKLINE((CROSS(J,0) AND (VARA5 <= (0 - 7))),0,35,8,0),COLOR780000; STICKLINE((CROSS(J,0) AND (VARA5 <= (0 - 7))),0,35,6,0),COLOR9D0000; STICKLINE((CROSS(J,0) AND (VARA5 <= (0 - 7))),0,35,5,0),COLORFF0000; STICKLINE((CROSS(J,0) AND (VARA5 <= (0 - 7))),0,35,2,0),COLOR7AB500; DRAWTEXT((CROSS(J,0) AND (VARA5 <= (0 - 7))),15,'←抄底'),COLOR0000FF; 抄底:CROSS(J,0) AND (VARA5 <= (0 - 7)); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 顶部:CROSS(80,RSI)*35,LINETHICK2 ,COLORGREEN; DRAWTEXT(CROSS(80,RSI),1.2,'顶 '),COLORGREEN; 逃顶:顶部,COLORGREEN; 顶:IF(逃顶>REF(逃顶,1),35,0),COLOR7AB500; DRAWTEXT(顶=35,35,'←逃顶'),COLORFF0000; |
上一篇:通达信源码:探测金矿,资金监测,大A红绿灯 攻击流量选股
下一篇:通达信源码:主力状态,K线状态