通达信量价看盘指标公式源码[通达信公式]
使用方法:紫色轨道表示个股短线见底临界点。白色评台表示个股出现阳线成交量放大现象。绿色评台表示个股出现阴线成交量放大现象。绿色轨道表示个股短线见顶临界点。
量能BY:=C>REF(ClOSE,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
正向BY评台:REF((h+L+3*CLOSE)/5,BARSLAST(量能BY)+1),NODRAW;
量能BY评台上:=REF(h,BARSLAST(量能BY)+1);
量能BY评台下:=REF(L,BARSLAST(量能BY)+1);
BY:=C<REF(ClOSE,1) AND CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
BY评台A:=REF((h+L+3*CLOSE)/5,BARSLAST(BY)-1);
BY评台B:=REF((h+L+3*CLOSE)/5,BARSLAST(BY));
反向BY评台:MIN(BY评台A,BY评台B),NODRAW;
BY评台上A:=REF(h,BARSLAST(BY)-1);
BY评台上B:=REF(h,BARSLAST(BY));
BY评台上:=MIN(BY评台上A,BY评台上B);
BY评台下A:=REF(L,BARSLAST(BY)-1);
BY评台下B:=REF(L,BARSLAST(BY));
BY评台下:=MIN(BY评台下A,BY评台下B);
筹码分布:=V=HHV(V,100);
异动BY评台:REF((H+L+3*C)/5,BARSLAST(筹码分布)),NODRAW;
异动成本上限:=REF(H,BARSLAST(筹码分布));
异动成本下限:=REF(L,BARSLAST(筹码分布));
资金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(筹码分布);
资金BY评台:REF((H+L+3*C)/5,BARSLAST(资金分布)),NODRAW;
台上:=REF(H,BARSLAST(资金分布));
台下:=REF(L,BARSLAST(资金分布));
VAR1:=(ClOSE+H+O+L)/4;
SELLCHU:=XMA(VAR1,20)*(1+80/1000);
BUYRU:=XMA(VAR1,32)*(1-100/1000);
{买:CROSS(BUYRU,L),NODRAW;
卖:CROSS(h,SELLCHU),NODRAW;
}{----------------------------------------------------------}DRAWBAND(量能BY评台上,RGB(248,242,242),量能BY评台下,RGB(248,242,242));
DRAWBAND(BY评台上,RGB(70,177,63), BY评台下,RGB(70,177,63));
DRAWBAND(异动成本上限,RGB(250,249,8),异动成本下限,RGB(250,249,8));
DRAWBAND(台上,RGB(114,2,4),台下,RGB(114,2,4));
{=================================================}STICKLINE(ClOSE>=OPEN,C,O,3,0),COLOR0000AA;
STICKLINE(ClOSE>=OPEN,C,O,2.5,0),COLOR0000BB ;
STICKLINE(ClOSE>=OPEN,C,O,1.5,0),COLOR0000CC ;
STICKLINE(ClOSE>=OPEN,C,O,1,0),COLOR0000EE;
STICKLINE(ClOSE>=OPEN,H,L,0,0),COLOR0000FF;
STICKLINE(ClOSE<=OPEN,C,O,3,0),COLOR7B7B00;
STICKLINE(ClOSE<=OPEN,C,O,2.5,0),COLOR909000;
STICKLINE(ClOSE<=OPEN,C,O,1.5,0),COLORA8A800;
STICKLINE(ClOSE<=OPEN,C,O,1,0),COLORCECE00;
STICKLINE(ClOSE<=OPEN,H,L,0,0),COLORFFFF00;
高抛线:SELLCHU,COLORGREEN,LINETHICK2;
低吸线:BUYRU,COLORMAGENTA,LINETHICK2;
风险:100*(L-BUYRU)/BUYRU,NODRAW;
幅度:100*(SELLCHU-BUYRU)/BUYRU,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(SELLCHU>L AND SELLCHU<h,SELLCHU,MAX(SELLCHU,MAX(OPEN,CLOSE)),3,0),COLOR007B00;
STICKLINE(SELLCHU>L AND SELLCHU<h,SELLCHU,MAX(SELLCHU,MAX(OPEN,CLOSE)),2,0),COLOR009000;
STICKLINE(SELLCHU>L AND SELLCHU<h,SELLCHU,MAX(SELLCHU,MAX(OPEN,CLOSE)),1,0),COLOR00A800;
STICKLINE(SELLCHU>MIN(ClOSE,O) AND SELLCHU<MAX(ClOSE,O),SELLCHU,MAX(OPEN,CLOSE),3,0),COLOR007B00;
STICKLINE(SELLCHU>MIN(ClOSE,O) AND SELLCHU<MAX(ClOSE,O),SELLCHU,MAX(OPEN,CLOSE),2,0),COLOR090000;
STICKLINE(SELLCHU>MIN(ClOSE,O) AND SELLCHU<MAX(ClOSE,O),SELLCHU,MAX(OPEN,CLOSE),1,0),COLOR00A800;
STICKLINE(SELLCHU>L AND SELLCHU<h,SELLCHU,h,0,0),COLORGREEN;
STICKLINE(SELLCHU<L,OPEN,CLOSE,3,0),COLOR007B00;
STICKLINE(SELLCHU<L,OPEN,CLOSE,2,0),COLOR009000;
STICKLINE(SELLCHU<L,OPEN,CLOSE,1,0),COLOR00A800;
STICKLINE(SELLCHU<L,h,L,0,0),COLORGREEN;
STICKLINE(BUYRU>L AND BUYRU<h,BUYRU,MIN(MIN(OPEN,CLOSE),BUYRU),1.5,0),COLORCC66FF;
STICKLINE(BUYRU>MIN(ClOSE,O) AND BUYRU<MAX(ClOSE,O),BUYRU,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;
STICKLINE(BUYRU>L AND BUYRU<h,BUYRU,L,0,0),COLORMAGENTA;
STICKLINE(BUYRU>h,OPEN,CLOSE,1.5,0),COLORMAGENTA;
STICKLINE(BUYRU>h,h,L,0,0),COLORMAGENTA;
DRAWICON(ClOSEROSS(BUYRU,L),L*0.95,11);
DRAWICON(ClOSEROSS(h,SELLCHU),h*1.02,12);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容