机构敢队资金主升·金融炼金术通达信公式 副图 源码附图
DC:=(2*CLOSE+HIGH+LOW+OPEN)/5;
EMDC:=EMA(EMA(EMA(DC,4),4),4);
AA:= (EMDC-REF(EMDC,1))/REF(EMDC,1)*100, ;
BA:= MA(AA,2),NODRAW;
机构:(AA-BA)*30000+40000,NODRAW,COLOR0000FF;
DRAWBAND((AA-BA)*30000+40000,RGB(255,1,0),40000,RGB(1,235,1));
CC:=EMA(CLOSE,5)-EMA(CLOSE,55),NODRAW;
DD:=EMA(CC,10),NODRAW;
敢队:(CC-DD)*20000+20000,NODRAW,COLORFF00FF;
DRAWBAND((CC-DD)*20000+20000,RGB({255,1,0}255,0,255),20000,RGB({1,235,1}{187,255,255}0, 0, 255 ));
{股票指标网WWW.88GS.CO}
换手:IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100),COLOR0080FF,NODRAW;
{博弈K线长:(WINNER(C)-REF(WINNER(C),1))*100,COLORRED,NODRAW;}
获利盘:WINNER(C)*100,COLORYELLOW,NODRAW;
{MAHSL:MA(HSL,N),NODRAW;}
天数:BARSSINCE(CLOSE>0)+1,NODRAW;
时虚拟:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL/FROMOPEN*240,DRAWNULL),NODRAW;
虚拟量:=IF(CURRBARSCOUNT>1,VOL,时虚拟);
即时量比:虚拟量/REF(MA(虚拟量,5),1),COLORYELLOW,NODRAW;
涨幅:(C-REF(C,1))/REF(C,1)*100,COLORWHITE,NODRAW;
DRAWTEXT_FIX(1,0.02,0.05,0,'获利比小于2'),COLORFFFF80;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
DC赋值:(2*收盘价+最高价+最低价+开盘价)/5
EMDC赋值:DC的4日指数移动平均,4),4)
AA赋值: (EMDC-1日前的EMDC)/1日前的EMDC*100,
BA赋值: AA的2日简单移动平均,NODRAW
输出机构:(AA-BA)*30000+40000,NODRAW,COLOR0000FF
DRAWBAND((AA-BA)*30000+40000,RGB(255,1,0),40000,RGB(1,235,1))
CC赋值:收盘价的5日指数移动平均-收盘价的55日指数移动平均,NODRAW
DD赋值:CC的10日指数移动平均,NODRAW
输出敢队:(CC-DD)*20000+20000,NODRAW,COLORFF00FF
DRAWBAND((CC-DD)*20000+20000,RGB({255,1,0}255,0,255),20000,RGB({1,235,1}{187,255,255}0, 0, 255 ))
输出{股票指标网WWW.88GS.CO}
换手:IF((SETCODE==0||SETCODE==1),100*成交量,成交量)/(FINANCE(7)/100),COLOR0080FF,NODRAW
输出{博弈K线长:(C计算的获利盘比例-REF(C计算的获利盘比例,1))*100,画红色,NODRAW
输出}
获利盘:C计算的获利盘比例*100,画黄色,NODRAW
输出{MAHSL:HSL的N日简单移动平均,NODRAW
输出}
天数:BARSSINCE(收盘价>0)+1,NODRAW
如果CURRBARSCOUNT=1 AND PERIOD=5返回成交量/FROM开盘价*240否则返回DRAWNULL
如果CURRBARSCOUNT>1返回成交量否则返回时虚拟
输出即时量比:虚拟量/REF(虚拟量的5日简单移动平均,1),画黄色,NODRAW
输出涨幅:(C-1日前的C)/1日前的C*100,画白色,NODRAW
当满足条件1时,在横轴0.02纵轴0.05位置书写文字