麟龙分差通达信公式 副图 源码附图
P1:=3;
P2:=4;
CC:=IF(CAPITAL<1,INDEXV*0.618,VOL/3);
H1:=VOL/CAPITAL*100;
H2:=INDEXV/SUM(INDEXV,71)*100;
HS:=IF(CAPITAL<1,H2,H1);{70822网站}
JJ:=IF(CAPITAL<1,INDEXA/INDEXV/100,(OPEN+HIGH+LOW+CLOSE)/4);
AA:=IF(BETWEEN(CLOSE,JJ,HIGH) OR CLOSE=OPEN,VOL,0);
BB:=IF(BETWEEN(CLOSE,JJ,LOW) OR CLOSE<OPEN,VOL,0);
DDZ:HS*(BB-(AA+CC))/(CC-(AA-BB))*P1/100,LINETHICK0;
DDZ1:HS*(BB-(AA+CC))/(CC-(AA-BB))*P2/100,LINETHICK0;
DRAWBAND(DDZ,RGB(0,130,0),DDZ1,RGB(200,0,0));
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
P1赋值:3
P2赋值:4
如果当前流通股本<1返回INDEXV*0.618否则返回成交量/3
H1赋值:成交量/当前流通股本*100
H2赋值:INDEXV/71的INDEXV日累和*100
如果当前流通股本<1返回H2否则返回H1
{70822网站}
JJ赋值:IF(当前流通股本<1,INDEXA/INDEXV/100,(开盘价+最高价+最低价+收盘价)/4)
AA赋值:IF(BETWEEN(收盘价,JJ,最高价) OR 收盘价=开盘价,成交量,0)
BB赋值:IF(BETWEEN(收盘价,JJ,最低价) OR 收盘价<开盘价,成交量,0)
输出DDZ:HS*(BB-(AA+CC))/(CC-(AA-BB))*P1/100,LINETHICK0
DDZ1:HS*(BB-(AA+CC))/(CC-(AA-BB))*P2/100,LINETHICK0
DRAWBAND(DDZ,RGB(0,130,0),DDZ1,RGB(200,0,0))