首页 > 编程语言 >通达信持股量能指标公式源码副图

通达信持股量能指标公式源码副图

时间:2024-02-25 10:56:35浏览次数:37  
标签:MA VOL 公式 SUM 通达信 源码 DRAWNULL REF LLJX

{ 股票指标 }

M1:=5;
M2:=135;
volUME:VOL,VOLstICK;
maVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
绿低量:=13;
蓝低量:=55;
灰低量:=100;
H_L:=0.1*CONST(HHV(VOL,240));
{MAV10:MA(V,10),COLORYELLOW;}
启动5:=MA(V,5),COLORWHITE;
洗盘40:=MA(V,40),COLORBLUE;
异动135:=MA(V,135),COLORMAGENTA;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量}
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0;
量:VOL,VOLSTICK;
换手: VOL*10000/FINANCE(7),NODRAW; {DYNAINFO(37)*100}
换10T:=SUM(换手,10),NODRAW;
倍数:=1.9;
倍量: VOL>=REF(V,1)*倍数 AND (IF(C<o,c>REF(C,1),1)),COLORYELLOW,NODRAW;
倍缩: REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW;
平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;
低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;
低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;
地量: VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW;
V1:=VOL*0.9;{图标位置}
V2:=VOL*0.8;
STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;
STICKLINE(平量,0,V1,1,0),COLORWHITE;
STICKLINE(低量10,0,V2,1,0),COLORLIGREEN;
STICKLINE(低量50,0,V2,1,0),COLORBLUE;
STICKLINE(地量,0,V2,1,0),COLORGRAY;
STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA;
STICKLINE(CREF(C,1),0,V,0,0),COLORRED;{假阴柱}
真阳或假阴:=C>O OR C>REF(C,1);
收阳:= REF(真阳或假阴,3);
倍量1:=REF(倍量,3);
高量:=REF(V,3)>=HHV(V,7);
三日不破:= LLV(C,3)>=REF(L,3);
价升:=COUNT(C>=REF(C,1),3)=3;{收盘价逐升}
量缩:=COUNT(V<=REF(V,1),3)=3;
连阳:= COUNT(真阳或假阴,3)=3;
倍量将军柱:= 倍量1 AND 三日不破 AND 收阳;
高量将军柱:= 高量 AND 三日不破 AND 收阳;
将军柱:= 倍量将军柱 OR 高量将军柱;
黄金柱:= 将军柱 AND 价升 AND 量缩 AND 连阳 ;
STICKLINE(黄金柱,0.3*V,0.7*V,1,0),COLORRED; {红柱}
DRAWICON(黄金柱,V*1.5,1);
V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;
百日地量群:=COUNT(V100,5)>=3;
DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORGRAY;
长阴短柱:=C/REF(C,1)<=0.96 AND V<hhv(v,30) 1.9;<br=""> DRAWTEXT(长阴短柱 ,V+1.6*H_L,'!'),COLORLICYAN;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
macd:EMA(EMA(RSV1,7),7)*8,NODRAW;
操盘:(MacD>=0 AND MACD>=REF(MACD,1)),NODRAW;
STICKLINE(操盘,0,V,2,0),COLORRED;
CV:=CLOSE;
bbiboll:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
DWN:=BBIBOLL-6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<open,qjj*(high-open+close-low),vol 2))+if(close="">OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<open,0-qjj*(high-low),0-vol 2)));<br=""> HSL:=(XVL/3)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);
B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL);
B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL);
B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL);
B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL);
B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL);
B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL);
B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);
B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL);
B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL);
B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL);
XG:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9
AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;
DRAWICON(XG,V*1.1,9);

 

标签:MA,VOL,公式,SUM,通达信,源码,DRAWNULL,REF,LLJX
From: https://www.cnblogs.com/zhibiao/p/18032140

相关文章

  • 通达信利波量价指标公式源码副图
    {股票指标}MV3:=Ema(V,3);MA3:=EMA(C,3);MV3角度:=ATAN((MV3/REF(MV3,1)-1)*100)*180/3.1416;MA3角度:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;MV5:=EMA(V,5);MA5:=EMA(C,5);MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416;MA5角度:=ATAN((MA5/REF(MA5,1)-1)*10......
  • 通达信KDJ多周期共振指标公式源码副图
    {股票指标}YK:kdj.K#MONTH,NODRAW;YD:kdJ.D#MONTH,NODRAW;ZK:KDJ.K#WEEK,NODRAW;X_1:=KDJ.D#WEEK;X_2:="KDJ.J#MONTH";X_3:="KDJ.J#WEEK";X_4:=1;stICKLINE(X_4ANDX_3=1,55,65,5,0),COLOR000088;STICKLINE(X_4ANDX_3=0,55,65,5,0),COLOR00880......
  • 通达信小股短线王指标公式源码副图
    {股票指标}成交量:=vol;ma5:=MA(VOL,5);MA10:=MA(VOL,10);MA20:=MA(VOL,20);MA35:=MA(VOL,35);AAA:=VOL/((H-L)*2-Abs(C-O));主买:=IF(C>O,AAA*(H-L),IF(C<o,aaa*((h-o)+(c-l)),vol2))*0.8,linethick0;<br="">主卖:=-IF(C>O,0-AAA*((H-C)+(O-L)),IF......
  • 通达信资金100分指标公式源码副图
    {股票指标}N:=3;M:=8;AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<open,aa*((high-open)+(close-low)),vol2)),linethick0,colorred;<br="">卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE......
  • 通达信主买占比指标公式源码副图
    {股票指标}万手:vol/10000,LINETHICK0;AA:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);预测:AA/10000;BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<open,bb*((high-open)+(close-low)),vol2));<br="......
  • 通达信顾比回调认同主图指标公式
    {股票指标}ma1:EXPMEMA(CLOSE,3),COLORRED,LINETHICK2;MA2:EXPMEMA(CLOSE,5);MA3:EXPMEMA(CLOSE,8);MA4:EXPMEMA(CLOSE,10);MA5:EXPMEMA(CLOSE,12);MA6:EXPMEMA(CLOSE,15);MA7:EXPMEMA(CLOSE,30),COLORRED;MA8:EXPMEMA(CLOSE,35);MA9:EXPMEMA(CLOSE,40);MA10:EXPMEMA......
  • 通达信一剑定乾坤指标公式源码副图
    {股票指标}MB03:=ma(C,3);MB10:=MA(C,10);MB1:=EMA(CLOSE,12)-EMA(CLOSE,26);MB2:=EMA(MB1,9);MB3:=(MB1-MB2)*2;稳定剑:=MB3;MAR1:=((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100;MAR2:=SMA(MAR1,13,8);趋势线:=CEILING(SMA(MAR2,13,8)),COLORRED,LINETHICK2;MAR10:=E......
  • UE5源码版本在多个工程来回切换时重复编译引擎问题
    细看UBT日志,已经给出了提示11>ParsingheadersforActionRPG11>RunningInternalUnrealHeaderToolD:\UEProject\ActionRPG\ActionRPG.uprojectD:\UEProject\ActionRPG\Intermediate\Build\Win64\ActionRPG\Development\ActionRPG.uhtmanifest-WarningsAsError......
  • Spring启动流程XML版(源码)
    1.XML方式配置bean启动Spring的核心类: ClassPathXmlApplicationContext-> AbstractXmlApplicationContext 类结构如下: 核心方法: refresh()方法, 刷新容器, 包含12个核心子方法, 如下: 方法1:prepareRefresh();作用:容器刷新前的准备工作方法2: ConfigurableL......
  • 陪玩程序源码,如何引导用户进行点赞操作?
    引导点赞我们需要让按钮做出一些视觉效果来引导用户进行点赞操作,那持续震动无疑是一种好的选择。//love.jsconstlikeBtn=document.getElementById('likeBtn');constheart=document.getElementById('heart')likeBtn.addEventListener('mousemove',()=>{heart.cl......