当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:大胆持股2主图+多头粘合买庄条件选股+成交量附图
软件名称:[B]大胆持股2主图+多头粘合买庄条件选股+成交量附图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2012-11-30 08:34:05
软件简介:
主图说明:1.黄s持股,蓝色持币。2.红色B出现买入。3.绿色箭头出现“逃顶”减仓,绿色S出现卖出。主图中加入10日的成交量。
{大胆持股2}主图指标 趋势线:EMA(SLOPE(CLOSE,21)*20+CLOSE,55)*1,LINETHICK2,COLORCYAN; 股价线:EMA(CLOSE,3),POINTDOT,LINETHICK1,COLORWHITE; DRAWTEXT(CROSS(趋势线,股价线),趋势线,'▼卖出'),LINETHICK1,COLORGREEN; DRAWTEXT(CROSS(股价线,趋势线),股价线,'▲买入'),LINETHICK1,COLORRED; STICKLINE(股价线>趋势线 AND C<O,H,L,0,0),COLORYELLOW; STICKLINE(股价线>趋势线 AND C<O,O,C,3,1),COLORYELLOW; STICKLINE(股价线>趋势线 AND C>=O,H,L,0,0),COLORYELLOW; STICKLINE(股价线>趋势线 AND C>=O ,O,C,3,0),COLORYELLOW; STICKLINE(股价线<=趋势线 AND C>O,H,L,0,0),COLORBLUE; STICKLINE(股价线<=趋势线 AND C>O,O,C,3,1),COLORBLUE; STICKLINE(股价线<=趋势线 AND C<=O ,H,L,0,0),COLORBLUE ; STICKLINE(股价线<=趋势线 AND C<=O,O,C,3,0),COLORBLUE ; DRAWTEXT(趋势线<股价线 AND ISLASTBAR,趋势线,'黄s,大胆持股'),COLORYELLOW; DRAWTEXT(趋势线>=股价线 AND ISLASTBAR,趋势线,'蓝色,别犯贱'),COLORBLUE ; 多方强度:EMA(CLOSE,3),COLOR00FFFF,LINETHICK1; 空方强度:EMA(CLOSE,8),COLORMAGENTA,LINETHICK1; 多空平衡:EMA(CLOSE,17),COLORRED,LINETHICK2; 洗盘线:EMA(CLOSE,27),,COLOR0080FF,LINETHICK1; IF(多方强度>REF(多方强度,1),多方强度,DRAWNULL),COLOR00FFFF,LINETHICK1; IF(多方强度<REF(多方强度,1),多方强度,DRAWNULL),COLORFFFFFF,LINETHICK1; IF(空方强度>REF(空方强度,1),空方强度,DRAWNULL),COLORMAGENTA,LINETHICK1; IF(空方强度<REF(空方强度,1),空方强度,DRAWNULL),COLORGREEN,LINETHICK1; IF(多空平衡>REF(多空平衡,1),多空平衡,DRAWNULL),COLORRED,LINETHICK2; IF(多空平衡<REF(多空平衡,1),多空平衡,DRAWNULL),COLORBLUE ,LINETHICK2; 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWICON(BU,L-0.1,7); DRAWICON(SEL,H+0.1,8); DRAWICON(CROSS(多方强度,空方强度),空方强度,1); DRAWICON(CROSS(空方强度,多方强度),空方强度,2); {DRAWTEXT(CROSS(多方强度,空方强度),空方强度,'买入'),ALIGN0,COLORRED; DRAWTEXT(CROSS(多方强度,空方强度),空方强度,''),ALIGN0,COLORFFFFFF; DRAWTEXT(CROSS(空方强度,多方强度),空方强度,'短卖'),ALIGN0,COLOR00FFFF; DRAWTEXT(CROSS(空方强度,多方强度),空方强度,''),ALIGN0,COLOR00FFFF;} LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(84,RSI) , HIGH,'逃顶'),COLORGREEN; TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); VV:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,V); N:=120; A:=CONST(HHV(H,N)-LLV(L,N))/CONST(HHV(VV,N)); B:=CONST(LLV(L,N))-CONST(HHV(VV,N))*A/8; 天数:=10; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),B+VV*A/8,B,-1,-1),COLOR00C0C0; STICKLINE(C>=O AND CURRBARSCOUNT<=天数,B+VV*A/8,B,3,1),COLOR3232FF; STICKLINE(C<O AND CURRBARSCOUNT<=天数,B+VV*A/8,B,3,0),COLORFFFF54;
{多头粘合买庄}条件选股
参数{N:30,120,65;}
MA5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,N);
多头:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
粘合:=ABS(GX/DX-1)*100<=15;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
庄股:=COUNT(MACD<0,10)=10;
目标:=IF(多头 AND 粘合 AND 庄股,5,0);
买:CROSS(0.1,目标) AND CROSS(MACD,0);
{貔貅赢家彩色成交量} P1:=5; P2:=120; VAR1:=1; VAR2:=V; 成交量: VAR2*100*VAR1 POINTDOT COLORFFFFFF; 换手率:=VAR2*100/CAPITAL, POINTDOT,COLORYELLOW; A2:=LLV(C,23); A3:=HHV(C,23); 月振幅:A3*100/A2-100; MA1: MA(VAR2*100,P1)*VAR1 COLORRED; MA2: MA(VAR2*100,P2)*VAR1 COLORYELLOW; MA3:=0; {MA(VAR2,5);} V1:=MA(VAR2*100,5); A1:=LLV(VAR2,100); B1:=LLV(CLOSE,100); C1:=HHV(VAR2,100)*VAR1; D1:=MA(CLOSE,130)*VAR1; E1:=REF(D1,2)*VAR1; H1:=HHV(VAR2,30)*80; B:=C; O1:=REF(C,1); MA5:=MA(VOL*100,P1); MA10:= MA(VOL*100,P2); AAA1:=REF(B,1); AAA2:=REF(OPEN,1); STICKLINE( C>=O1,0 ,成交量*1.0,2 ,0 ) ,COLOR0000FF; STICKLINE( C>=O1 ,0 ,MIN(REF(VAR2,1),VAR2)*100,2 ,0 ) ,COLOR00FFFF; STICKLINE( C<O1,0 ,成交量*1.0,2 ,0 ) ,COLORFFFF66; STICKLINE( C<O1,0 ,MIN(REF(VAR2,1),VAR2)*100,2 ,0 ) ,COLORCC0033;
[url=http://www.70822.com/soft/sort013/sort05/down-55474.html]大胆持股2主图+多头粘合买庄条件选股+成交量附图[/url]