当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:断量天量主图(通达信公式 主图 源码 测试图)
软件名称:[B]断量天量主图(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2024-11-18 00:15:22
软件简介:
断量天量主图指标
GSPT1:=SUM((WINNER(C)*100),30)/30*0.1;
GSPT2:=SUM((WINNER(C)*100),20)/20*0.4;
GSPT3:=SUM((WINNER(C)*100),10)/10*0.3;
GSPT4:=SUM((WINNER(C)*100),5)/5*0.1;
GSPT5:=SUM((WINNER(C)*100),3)/3*0.1;
GSPTZ:=GSPT1+GSPT2+GSPT3+GSPT4+GSPT5;
赚钱效应:IF(GSPTZ>38,GSPTZ,GSPTZ*1.3),NODRAW;
活跃度:IF(SUMBARS(VOL,CAPITAL)<100,100-SUMBARS(VOL,CAPITAL),1),NODRAW;
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
DRAWKLINE(H,O,L,C);
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
{断量}
MV5:=MA(V,5);
破5:=CROSS(MV5,V);
断量:DRAWLINE(破5 AND CURRBARSCOUNT<9,C,REF(破5,1),REF(C,1),1),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,断量,STRCAT((''),CON2STR(断量,1))),COLORWHITE;
{量王}
总量:=AMOUNT,VOLSTICK;
量比:=V/REF(MA(V,5),1),COLORBROWN,NODRAW;
几倍:=1.9;
倍量量王:= 总量 >=REF(总量,1)*几倍 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
天量:总量=HHV(总量,120), COLORRED ,NODRAW;
量王:=天量&&倍量量王&&量比>2&&(BARSCOUNT(C)+1)>120,COLORGREEN;
STICKLINE(量王,C,O,0.1,0),COLORGREEN;
DRAWLINE(量王,H,REF(量王,1),REF(H,1),1),COLOR0066BB,LINETHICK1;
DRAWLINE(量王,L,REF(量王,1),REF(L,1),1),COLORGREEN;
{庄家成本}
AL0:=SUMBARS(V,CAPITAL*1);
AL1:=SUM(COST(10),AL0)/AL0;
AL2:=SUM(COST(20),AL0)/AL0;
AL3:=SUM(COST(30),AL0)/AL0;
AL4:=SUM(COST(40),AL0)/AL0;
AL5:=SUM(COST(50),AL0)/AL0;
庄家成本2:=(5*AL1+4*AL2+3*AL3+2*AL4+AL5)/15,COLOR0080FF,DOTLINE;
庄家成本1:REFDATE(庄家成本2,DATE),COLORLIRED,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=50,庄家成本1,STRCAT('庄本:',CON2STR(庄家成本1,2))),COLORLIRED;
{止损价}
CCC:=IF(CURRBARSCOUNT<18,CONST(REF(C,1)),DRAWNULL);
止损:0.977*CCC,LINETHICK1,COLORLIGRAY;
DRAWTEXT(CURRBARSCOUNT=15,止损,STRCAT('止损: ',STRCAT(CON2STR(止损,2),' '))),LINETHICK1,COLORLIGRAY;
STICKLINE(H>1.097*REF(C,1)&&C<1.097*REF(C,1)&&C>O,C,O,2,0)COLORMAGENTA;
STICKLINE(C>1.097*REF(C,1)&&C>O,CLOSE-(CLOSE-OPEN)/3,CLOSE,2,0)COLORRED;
STICKLINE(H>1.197*REF(C,1)&&C>O,C,O,1.18,0)COLORYELLOW;
STICKLINE(C<0.907*REF(C,1),CLOSE+(OPEN-CLOSE)/3,CLOSE,2,0),COLORBLUE;
[url=http://www.70822.com/soft/sort013/sort05/down-175588.html]断量天量主图(通达信公式 主图 源码 测试图)[/url]