通达信分时乾坤线分时主图指标 T+0高抛低吸 源码 附图
{分时乾坤线分时主图源码如下}
日:=500;昨前:=60;
高:=REF(HHV(H,日),昨前);
低:=REF(LLV(L,日),昨前);
H1:=高-(高-低)*1;
H2:=高-(高-低)*0.91;
H3:=高-(高-低)*0.85;
H4:=高-(高-低)*0.809;
H5:=高-(高-低)*0.777;
H6:=高-(高-低)*0.707;
H7:=高-(高-低)*0.666;
H8:=高-(高-低)*0.618;
H9:=高-(高-低)*0.563;
H10:=高-(高-低)*0.5;
H11:=高-(高-低)*0.424;
H12:=高-(高-低)*0.382;
H13:=高-(高-低)*0.309;
H14:=高-(高-低)*0.25;
H15:=高-(高-低)*0.191;
H16:=高-(高-低)*0.1375;
H17:=高-(高-低)*0.0807;
一:REFDATE(H2,DATE)POINTDOT,COLORLIRED;
二:=REFDATE(H3,DATE),COLORYELLOW;
三:=REFDATE(H4,DATE),COLORLIBLUE;
四:=REFDATE(H5,DATE),COLORLIRED;
五:=REFDATE(H6,DATE),COLORYELLOW;
六:=REFDATE(H7,DATE),COLORLIBLUE;
七:=REFDATE(H8,DATE),COLORLIRED;
八:=REFDATE(H9,DATE),COLORYELLOW;
九:=REFDATE(H10,DATE),COLORLIBLUE;
十:=REFDATE(H11,DATE),COLORLIRED;
十一:=REFDATE(H12,DATE),COLORYELLOW;
十二:=REFDATE(H13,DATE),COLORLIBLUE;
十三:=REFDATE(H14,DATE),COLORLIRED;
十四:=REFDATE(H15,DATE),COLORYELLOW;
十五:=REFDATE(H16,DATE),COLORLIBLUE;
十六:REFDATE(H17,DATE)POINTDOT,COLOR00FF00;
底:REFDATE(H1,DATE)DOTLINE,COLOR3A3A3A;
顶:REFDATE(高,DATE)DOTLINE,COLOR3A3A3A;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
买:=CROSS(C,一);
卖:=CROSS(十六,C);
DRAWICON(买,底,25);
DRAWICON(卖,顶,6);
最新:C,LINETHICK9,COLORFFFF00;
IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLORRED;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);
DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);
FSHORT:=30;
FLONG:=60;
乾坤线:EMA(CLOSE,FLONG),COLORYELLOW;
操盘线:=EMA(CLOSE,FSHORT);
多线:IFF(操盘线>乾坤线,操盘线 ,DRAWNULL)CIRCLEDOT ,COLORFF00FF,LINETHICK9;
空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL)CIRCLEDOT ,COLOR00FF00,LINETHICK9;
买信号:=REF(操盘线,1)<=REF(乾坤线,1) AND 操盘线>乾坤线;
卖信号:=REF(操盘线,1)>=REF(乾坤线,1) AND 操盘线<乾坤线;
DRAWICON(买信号,乾坤线,25);
DRAWICON(卖信号,操盘线,6);
实量:=SUM(VOL,FROMOPEN);
虚拟量:=实量/240*FROMOPEN;
SZB:=实量/10000;
XZB:=虚拟量/10000;
大单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL*C/100/8>=25,VOL,0),FROMOPEN);
大单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL*C/100/8>=25,VOL,0),FROMOPEN);
ZB1:=大单买/实量*100;
ZB2:=大单卖/实量*100;
DRAWRECTREL(919,CONST(100-ZB1)*1000/100,939,1000,RGB(200,50,0));
DRAWRECTREL(939,CONST(100-ZB2)*1000/100,959,1000,RGB(0,255,0));
DRAWTEXT_FIX(1,0.8,0.32,0,STRCAT(STRCAT('【大单买】',CON2STR(ZB1,2)),'%')),COLOR0032FF;
DRAWTEXT_FIX(1,0.8,0.42,0,STRCAT(STRCAT('【大单卖】',CON2STR(ZB2,2)),'%')),COLORGREEN;
小单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL*C/100/8<25,VOL,0),FROMOPEN);
小单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL*C/100/8<25,VOL,0),FROMOPEN);
ZB3:=小单买/实量*100;
ZB4:=小单卖/实量*100;
DRAWRECTREL(959,CONST(100-ZB3)*1000/100,979,1000,90);
DRAWRECTREL(979,CONST(100-ZB4)*1000/100,999,1000,RGB(100,100,100));
DRAWTEXT_FIX(1,0.8,0.52,0,STRCAT(STRCAT('【小单买】',CON2STR(ZB3,2)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.8,0.62,0,STRCAT(STRCAT('【小单卖】',CON2STR(ZB4,2)),'%')),COLORYELLOW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
决策:REFDATE(十周价,DATE),COLOREE8FFF,LINETHICK2;
DRAWTEXT(ISLASTBAR,决策,' 决策线'),COLORYELLOW;
SUM(AMOUNT,0)/SUM(VOL,0)/100 ,LINETHICK1,COLORYELLOW;
DRAWICON(CROSS(C,决策),C,1);
N0:=STRCAT(CON2STR(YEAR,0),' 年 ');
Y:=STRCAT(CON2STR(MONTH,0),' 月 ');
R:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(N0,Y), R);
DRAWTEXT_FIX(C>0,0.2,62,0,SJ);
M1Q:="FSYY.T1#DAY"/100;
MHS:="FSYY.HS#DAY";
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.85,0,STRCAT('量比: ',CON2STR(DYNAINFO(17),2))),COLORFF9900;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.55,0,STRCAT('换手率: ',CON2STR(MHS,2))),COLORDDDDDD;
MHST:="FSYY.HST#DAY";
QHST:="FSYY.HST2#DAY";
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.65,0,STRCAT('昨天: ',CON2STR(MHST,2))),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.75,0,STRCAT('前天: ',CON2STR(QHST,2))),COLOR0080FF;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.15,0,GNBLOCK),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.25,0,FGBLOCK),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.35,0,ZSBLOCK);
DRAWTEXT_FIX(1,0.22,0.5,0,STRCAT('均价:',CON2STR(SUM(V*C,0)/SUM(V,0),2))),COLOR0088FF;
今开:DYNAINFO(4),COLORFF9900,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=8,今开,' 开盘线'),COLOR8500DE,LINETHICK2;
DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0);
DRAWTEXT_FIX(ISLASTBAR,0.5,0.07,0,CODE),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.07,0,STKNAME)COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.001,0.05,0,GNBLOCK),COLORCYAN;{概念};
DRAWTEXT_FIX(1,0,0.87,0,'【涨因】')COLOR0000FF;
DRAWTEXT_FIX(1,0.05,0.85,0,STRCAT(STRCAT(STRCAT(STRCAT(EXTERNSTR(0,9882),'首封时间_'),EXTERNSTR(0,9883)),'末封时间_'),EXTERNSTR(0,9884)))COLORFF00FF; {最近涨停信息:包括首次涨停,最后涨停和个股对应新闻}
DRAWTEXT_FIX(1,0.05,0.90,0,EXTERNSTR(0,9885))COLORFF00FF;{最近涨停信息:对应板块的信息};
{NK副图源码如下}
{NK}
N:=5;
庄A:(O+C)/2;
庄B:REF(C,1)*1.1;
庄C:REF(C,1)*0.9;
庄D:REF(L,1);
庄E:O;
庄F:(H+L)/2;
庄G:REF(C,2);
庄H:(REF(C,1)/REF(C,2)-1)*100;
庄I:REF(V,1);
庄J:AMOUNT/VOL/100;
庄K:REF(C,1);
庄L:REF(AMO.AMOW,1);
庄M:DYNAINFO(58)*DYNAINFO(37)/100;
庄N:H;
庄O:100*((DYNAINFO(5)-DYNAINFO(3))/DYNAINFO(3));
庄P:(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
庄Q:100*((DYNAINFO(6)-DYNAINFO(3))/DYNAINFO(3));
庄R:(HY_INDEXC-REF(HY_INDEXC,1))/REF(HY_INDEXC,1);
庄S:WINNER(CLOSE)*100;
庄T:(C/REF(C,4)-1)*100;
庄U:DYNAINFO(15)/DYNAINFO(4)/100;
庄V:1;
庄W:2;
庄X:REF(O,1);
庄Y:REF(H,1);
庄Z:REF((O+C)/2,1);
ZS:(INDEXC-REF(INDEXC,N))/REF(INDEXC,N);
庄ZJ:REF(AMOUNT/VOL/100,1);
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,239);
ZJL:REF(MA(V,5),1);
CDT:H=ZTPRICE(REF(C,1),0.1) AND H>C;
幅度:(O/REF(C,1)-1)*100;
昨量:REF(V,1);
今量:V;
五日量均:MA(V,5);
十日量均:MA(V,10);
五日额均:MA(AMO,5);
十日额均:MA(AMO,10);
QA:REF(AMO,1)/100000000;
QB:REF(AMO,2)/10000;
QC:REF(AMO,3)/10000;
QD:REF(AMO,4)/10000;
QE:REF(AMO,5)/10000;
ROE:FINANCE(30)/FINANCE(19)*100;
ZYLTP:FINANCE(46)/10000;
攻防价位:(REF((H-L)*0.618+L,1));
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L);
明日支撑:=L+(C-GJ);
今日阻力:REF(明日阻力, 1);
今日支撑:REF(明日支撑, 1);
总买:CUR_BUYORDER;
总卖:CUR_SELLORDER;
超B:=L2_AMO(0,2)/10000.0,NODRAW;
大B:=L2_AMO(1,2)/10000.0,NODRAW;
超S:=L2_AMO(0,3)/10000.0,NODRAW;
大S:=L2_AMO(1,3)/10000.0,NODRAW;
总成交额:=AMOUNT/10000.0,NODRAW;
大单净流入:=(超B+大B)-(超S+大S);
大单净比:100*大单净流入/总成交额;
量能饱和:100*(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)),NODRAW;
委比:(CUR_BUYORDER-CUR_SELLORDER)/(CUR_BUYORDER+CUR_SELLORDER)*100;
{FSYY引用副源码如下}
{FSYY}
T1:REF(MA(V,5),1);
HS:V/CAPITAL*100;
HST:REF(V/CAPITAL*100,1);
HST2:REF(V/CAPITAL*100,2);
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{分时乾坤线分时主图源码如下}日赋值:500
昨前赋值:60
高赋值:REF(日日内H最高值,昨前)
低赋值:REF(日日内L最低值,昨前)
H1赋值:高-(高-低)*1
H2赋值:高-(高-低)*0.91
H3赋值:高-(高-低)*0.85
H4赋值:高-(高-低)*0.809
H5赋值:高-(高-低)*0.777
H6赋值:高-(高-低)*0.707
H7赋值:高-(高-低)*0.666
H8赋值:高-(高-低)*0.618
H9赋值:高-(高-低)*0.563
H10:=高-(高-低)*0.5
H11:=高-(高-低)*0.424
H12:=高-(高-低)*0.382
H13:=高-(高-低)*0.309
H14:=高-(高-低)*0.25
H15:=高-(高-低)*0.191
H16:=高-(高-低)*0.1375
H17:=高-(高-低)*0.0807
输出一:REFDATE(H2,DATE)POINTDOT,COLORLIRED
二赋值:REFDATE(H3,DATE),COLORYEL最低价
三赋值:REFDATE(H4,DATE),COLORLIBLUE
四赋值:REFDATE(H5,DATE),COLORLIRED
五赋值:REFDATE(H6,DATE),COLORYEL最低价
六赋值:REFDATE(H7,DATE),COLORLIBLUE
七赋值:REFDATE(H8,DATE),COLORLIRED
八赋值:REFDATE(H9,DATE),COLORYEL最低价
九赋值:REFDATE(H10,DATE),COLORLIBLUE
十赋值:REFDATE(H11,DATE),COLORLIRED
十一赋值:REFDATE(H12,DATE),COLORYEL最低价
十二赋值:REFDATE(H13,DATE),COLORLIBLUE
十三赋值:REFDATE(H14,DATE),COLORLIRED
十四赋值:REFDATE(H15,DATE),COLORYEL最低价
十五赋值:REFDATE(H16,DATE),COLORLIBLUE
十输出六:REFDATE(H17,DATE)POINTDOT,COLOR00FF00
输出底:REFDATE(H1,DATE)DOTLINE,COLOR3A3A3A
输出顶:REFDATE(高,DATE)DOTLINE,COLOR3A3A3A
DRAWKLINE(最高价,开盘价,最低价,收盘价)
买赋值:C上穿一
卖赋值:十六上穿C
当满足条件买时,在底和25之间画图标
当满足条件卖时,在顶和6之间画图标
输出最新:C,LINETHICK9,COLORFFFF00
IF(C>=1日前的C,C,DRAWNULL),LINETHICK9,COLORRED
AA赋值:SUM(成交额,C的有效数据周期数)/SUM(成交量*100,C的有效数据周期数)
BB赋值:BETWEEN(C/AA,C+H,C-H)
DRAWICON(ISLASTBAR AND C>1日前的C,C,1)
DRAWICON(ISLASTBAR AND C<1日前的C,C,2)
FSHORT赋值:30
FLONG赋值:60
输出乾坤线:收盘价的FLONG日指数移动平均,COLORYEL最低价
操盘线赋值:收盘价的FSHORT日指数移动平均
输出多线:IFF(操盘线>乾坤线,操盘线 ,DRAWNULL)CIRCLEDOT ,COLORFF00FF,LINETHICK9
输出空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL)CIRCLEDOT ,COLOR00FF00,LINETHICK9
买信号:=1日前的操盘线<=1日前的乾坤线 AND 操盘线>乾坤线
卖信号:=1日前的操盘线>=1日前的乾坤线 AND 操盘线<乾坤线
当满足条件买信号时,在乾坤线和25之间画图标
当满足条件卖信号时,在操盘线和6之间画图标
实量赋值:FROM开盘价的成交量日累和
虚拟量赋值:实量/240*FROM开盘价
SZB赋值:实量/10000
XZB赋值:虚拟量/10000
大单买赋值:SUM(IF(收盘价>=1日前的收盘价 AND 成交量*C/100/8>=25,成交量,0),FROM开盘价)
大单卖赋值:SUM(IF(收盘价<1日前的收盘价 AND 成交量*C/100/8>=25,成交量,0),FROM开盘价)
ZB1赋值:大单买/实量*100
ZB2赋值:大单卖/实量*100
DRAWRECTREL(919,CONST(100-ZB1)*1000/100,939,1000,RGB(200,50,0))
DRAWRECTREL(939,CONST(100-ZB2)*1000/100,959,1000,RGB(0,255,0))
DRAWTEXT_FIX(1,0.8,0.32,0,STRCAT(STRCAT('【大单买】',CON2STR(ZB1,2)),'%')),COLOR0032FF
DRAWTEXT_FIX(1,0.8,0.42,0,STRCAT(STRCAT('【大单卖】',CON2STR(ZB2,2)),'%')),COLORGREEN
小单买赋值:SUM(IF(收盘价>=1日前的收盘价 AND 成交量*C/100/8<25,成交量,0),FROM开盘价)
小单卖赋值:SUM(IF(收盘价<1日前的收盘价 AND 成交量*C/100/8<25,成交量,0),FROM开盘价)
ZB3赋值:小单买/实量*100
ZB4赋值:小单卖/实量*100
DRAWRECTREL(959,CONST(100-ZB3)*1000/100,979,1000,90)
DRAWRECTREL(979,CONST(100-ZB4)*1000/100,999,1000,RGB(100,100,100))
DRAWTEXT_FIX(1,0.8,0.52,0,STRCAT(STRCAT('【小单买】',CON2STR(ZB3,2)),'%')),COLORYEL最低价
DRAWTEXT_FIX(1,0.8,0.62,0,STRCAT(STRCAT('【小单卖】',CON2STR(ZB4,2)),'%')),COLORYEL最低价
星期赋值:WEEKDAY,NODRAW
日1赋值:DATETODAY(DATE)
上市日赋值:TOTALBARSCOUNT-CURRBARSCOUNT日前的DATE
自然日赋值:日1-DATETODAY(上市日)+1
ZB赋值:(自然日-1日前的自然日)!=星期-1日前的星期OR TOTALBARSCOUNT-CURRBARSCOUNT=0
本周第几天赋值:上次ZB距今天数+1
MA1赋值:本周第几天日前的C
MA2赋值:本周第几天日前的MA1
MA3赋值:本周第几天日前的MA2
MA4赋值:本周第几天日前的MA3
MA5赋值:本周第几天日前的MA4
MA6赋值:本周第几天日前的MA5
MA7赋值:本周第几天日前的MA6
MA8赋值:本周第几天日前的MA7
MA9赋值:本周第几天日前的MA8
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10
输出决策:REFDATE(十周价,DATE),COLOREE8FFF, 线宽为2
当满足条件ISLASTBAR时,在决策和' 决策线'位置书写文字
0的成交额日累和/0的成交量日累和/100 ,LINETHICK1,COLORYEL最低价
DRAWICON(C上穿决策,C,1)
N0赋值:STRCAT(CON2STR(YEAR,0),' 年 ')
Y赋值:STRCAT(CON2STR(MONTH,0),' 月 ')
R赋值:STRCAT(CON2STR(DAY,0),' 日 ')
SJ赋值:STRCAT(STRCAT(N0,Y), R)
当满足条件C>0时,在横轴0.2纵轴62位置书写文字
M1Q赋值:"FSYY.T1#DAY"/100
MHS赋值:"FSYY.HS#DAY"
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.85,0,STRCAT('量比: ',CON2STR(DYNAINFO(17),2))),COLORFF9900
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.55,0,STRCAT('换手率: ',CON2STR(MHS,2))),COLORDDDDDD
MHST:="FSYY.HST#DAY"
QHST赋值:"FSYY.HST2#DAY"
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.65,0,STRCAT('昨天: ',CON2STR(MHST,2))),COLORMAGENTA
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.22,0.75,0,STRCAT('前天: ',CON2STR(QHST,2))),COLOR0080FF
当满足条件ISLASTBAR时,在横轴0.1纵轴0.15位置书写文字
当满足条件ISLASTBAR时,在横轴0.1纵轴0.25位置书写文字
当满足条件ISLASTBAR时,在横轴0.1纵轴0.35位置书写文字
DRAWTEXT_FIX(1,0.22,0.5,0,STRCAT('均价:',CON2STR(0的V*C日累和/0的V日累和,2))),COLOR0088FF
输出今开:DYNAINFO(4),COLORFF9900, 线宽为3
当满足条件CURRBARSCOUNT=8时,在今开和' 开盘线'位置书写文字
DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0)
当满足条件ISLASTBAR时,在横轴0.5纵轴0.07位置书写文字
当满足条件ISLASTBAR时,在横轴0.65纵轴0.07位置书写文字
当满足条件ISLASTBAR时,在横轴0.001纵轴0.05位置书写文字
{概念}
当满足条件1时,在横轴0纵轴0.87位置书写文字
DRAWTEXT_FIX(1,0.05,0.85,0,STRCAT(STRCAT(STRCAT(STRCAT(EXTERNSTR(0,9882),'首封时间_'),EXTERNSTR(0,9883)),'末封时间_'),EXTERNSTR(0,9884)))COLORFF00FF
输出{最近涨停信息:包括首次涨停,最后涨停和个股对应新闻}DRAWTEXT_FIX(1,0.05,0.90,0,EXTERNSTR(0,9885))COLORFF00FF
输出{最近涨停信息:对应板块的信息}
{NK副图源码如下}{NK}N:=5
输出庄A:(O+C)/2
输出庄B:1日前的C*1.1
输出庄C:1日前的C*0.9
输出庄D:1日前的L
输出庄E:O
输出庄F:(H+L)/2
输出庄G:2日前的C
输出庄H:(1日前的C/2日前的C-1)*100
输出庄I:1日前的V
输出庄J:成交额/成交量/100
输出庄K:1日前的C
输出庄L:1日前的AMO.AMOW
输出庄M:DYNAINFO(58)*DYNAINFO(37)/100
输出庄N:H
输出庄O:100*((DYNAINFO(5)-DYNAINFO(3))/DYNAINFO(3))
输出庄P:(INDEXC-1日前的INDEXC)/1日前的INDEXC
输出庄Q:100*((DYNAINFO(6)-DYNAINFO(3))/DYNAINFO(3))
庄输出R:(HY_INDEXC-1日前的HY_INDEXC)/1日前的HY_INDEXC
输出庄S:收盘价计算的获利盘比例*100
输出庄T:(C/4日前的C-1)*100
输出庄U:DYNAINFO(15)/DYNAINFO(4)/100
输出庄V:1
输出庄W:2
输出庄X:1日前的O
庄输出Y:1日前的H
输出庄Z:REF((O+C)/2,1)
输出ZS:(INDEXC-N日前的INDEXC)/N日前的INDEXC
庄ZJ:1日前的成交额/成交量/100
输出MA5:C的5日简单移动平均
MA10:C的10日简单移动平均
MA20:C的20日简单移动平均
MA30:C的30日简单移动平均
MA60:C的60日简单移动平均
MA120:C的120日简单移动平均
MA250:C的239日简单移动平均
输出ZJL:REF(V的5日简单移动平均,1)
输出CDT:H=ZTPRICE(1日前的C,0.1) AND H>C
输出幅度:(O/1日前的C-1)*100
输出昨量:1日前的V
输出今量:V
五日量均:V的5日简单移动平均
十日量均:V的10日简单移动平均
五日额均:AMO的5日简单移动平均
十日额均:AMO的10日简单移动平均
输出QA:1日前的AMO/100000000
输出QB:2日前的AMO/10000
输出QC:3日前的AMO/10000
输出QD:4日前的AMO/10000
输出QE:5日前的AMO/10000
ROE:FINANCE(30)/FINANCE(19)*100
ZYLTP:FINANCE(46)/10000
输出攻防价位:(REF((H-L)*0.618+L,1))
GJ赋值:(C+H+L+O)/4
明日阻力赋值:L+(GJ-L)+(C-L)
明日支撑赋值:L+(C-GJ)
输出今日阻力: 1日前的明日阻力
输出今日支撑: 1日前的明日支撑
总输出买:CUR_BUYORDER
总输出卖:CUR_SELLORDER
超B赋值:L2_AMO(0,2)/10000.0,NODRAW
大B赋值:L2_AMO(1,2)/10000.0,NODRAW
超S赋值:L2_AMO(0,3)/10000.0,NODRAW
大S赋值:L2_AMO(1,3)/10000.0,NODRAW
总成交额赋值:成交额/10000.0,NODRAW
大单净流入赋值:(超B+大B)-(超S+大S)
输出大单净比:100*大单净流入/总成交额
输出量能饱和:100*(成交额/C)/(20日内成交额最高值/20日内C最高值),NODRAW
输出委比:(CUR_BUYORDER-CUR_SELLORDER)/(CUR_BUYORDER+CUR_SELLORDER)*100
{FSYY引用副源码如下}{FSYY}T1:REF(V的5日简单移动平均,1)
输出HS:V/当前流通股本*100
HST:1日前的V/当前流通股本*100
HST2:2日前的V/当前流通股本*100