NDDX:=10;金额:=amount/100000000,linethick0;
JJDDX:=(HIGH+LOW+CLOSE)/3;
均价:=(2*C+(H-L)/2+L+o)/4;
p:=if(STKTYPE=0,2,3);
价差:=SUM(均价-REF(均价,1),p)/p;
高低价:=IF(HIGH=LOW,4,HIGH-LOW);
QJ0DDX:=VOL/(均价+价差);
QJ1DDX:=IF(CAPITAL=0,QJ0DDX*(JJDDX-MIN(CLOSE,OPEN)),QJ0DDX*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2DDX:=IF(CAPITAL=0,QJ0DDX*(MIN(OPEN,CLOSE)-LOW),QJ0DDX*IF(HIGH=LOW,1,(JJDDX-MIN(CLOSE,OPEN))));
QJ3DDX:=IF(CAPITAL=0,QJ0DDX*(HIGH-MAX(OPEN,CLOSE)),QJ0DDX*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4DDX:=IF(CAPITAL=0,QJ0DDX*(MAX(CLOSE,OPEN)-JJDDX),QJ0DDX*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJDDX)));
大单:=((QJ1DDX+QJ2DDX)-(QJ3DDX+QJ4DDX))/IF(CAPITAL=0,1000000,10000),COLORRED;
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
日期差:=DATEDIFF(DATE,CURRENTDATE);
预量:IF(BARSTATUS=2 and 日期差=0,VOL/交易分钟数*240,VOL),COLOR00FFFF,LINETHICK0;
{预测量2:IF(BARSTATUS=2,VOL*240/OPENMINUTES(CURRENTTIME),VOL),COLOR00FF00,LINETHICK0;}
STICKLINE(BARSTATUS=2,0,预量,10,1),COLOR00FFFF,LINEDOT;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
买卖差:=(主买+主卖*1.1),linethick1,colorred;
STICKLINE(VOL,0,VOL,8,1),COLORRED;
STICKLINE(主卖<0 AND C
STICKLINE(主卖<0,0,ABS(主卖),4,0),COLOR007500;
STICKLINE(资金异动>100 ,0,VOL,0.5,0),COLORYELLOW;
成交量比%:主买/VOL*100,COLORWHITE,LINETHICK;
{ _飞狐股票指标公式}
JgV:=(5*V+4*REF(V,1)+3*REF(V,2)+2*REF(V,3)+1*REF(V,4))/(5+4+3+2+1),COLORRED,LINETHICK2;
天:HHV(MA(V,5),43),COLOR7F00FF;
地:=llV(MA(V,5),43),COLORGREEN;
人:MA(V,5),COLORMAGENTA;
和:HHV(MA(V,5),5),COLORWHITE;
PARTLINE(人=和,和),COLORMAGENTA,LINETHICK2;
PARTLINE(人=天,天),COLORYELLOW,LINETHICK2;
MM:=EMA(V,55),COLORCYAN;
xm:=EMA(JgV,55);
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
I1:=(Ema(xm,3)+Ema(xm,6)+EMA(xm,12)+EMA(xm,24))/4;
生命线:0.5*(I0+I1),LINETHICK2,COLORRED;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!