您的位置:查股网 > 查股公式 > 同花顺类比副图指标[查股公式]
股票行情消息查询:
大盘云图

同花顺类比副图指标[查股公式]

2022/9/15 20:37:10

同花顺类比副图指标

源码

AVPRICE:=(((2)*(OPEN) + (2)*(CLOSE) + (2)*(HIGH) + (2)*(LOW))/(8));
INDEXAVP:=(((2)*(INDEXH) + (2)*(INDEXL) + (2)*(INDEXO) + (2)*(INDEXC))/(8));
F:=(AVPRICE - REF(AVPRICE,1))/(REF(AVPRICE,1));
F1:=(INDEXAVP - REF(INDEXAVP,1))/(REF(INDEXAVP,1));
类比参数3:=(((SUM(F,10) + SUM(F1,10))/(10))*(1000));
类比大盘参数:=IF((类比参数3 > 0),类比参数3,0);
类比参数2:=IF((类比参数3 < 0),(-类比参数3),0);
STICKLINE(类比参数2,150,150 - 类比参数2,11,0),Color008000;
STICKLINE(类比大盘参数,150,150 - 类比大盘参数,11,0),ColorFF00FF;
AA:=AVPRICE;
BB:=((VOL)*((AA)*(2) - HIGH - LOW))/(HIGH - LOW);
CC:=IF((HIGH = LOW) AND (AA < REF(AA,1)),((-1))*(VOL),VOL);
A:=IF((HIGH = LOW),CC,BB);
B:=SUM(A,11);
BBD:=(((B)/((CAPITAL)*(11)))*(10000));
BB1:=IF((BBD < 150) AND (BBD > (-150)),BBD,150);
买方能量指标:=IF((BB1 > 0),BB1,0);
STICKLINE((BB1 > 0),0,买方能量指标,5,0),coloryellow;
STICKLINE((BB1 < 0),0,(-BB1),5,0),Color008000;
A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));
A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));
A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));
A7:=(SUM((AVPRICE)*(VOL),7) - (AVPRICE)*(VOL))/(SUM(VOL,7) - VOL);
A0:=((A11 - A16)/(AVPRICE))*(1000);
A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0));
A1:=((A6 - A11)/(AVPRICE))*(1000);
AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1));
A2:=((((A6 - A7)/(A7))*(5))/(4))*(1000);
A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2));
刻度线3:=(A00 + AA11 + A22);
趋势线:=IF((刻度线3 > 0),刻度线3,0);
兰刻度线:=IF((刻度线3 < 0),刻度线3,0);
红柱线:趋势线,ColorFFFF00;
兰柱线:(-兰刻度线),colorred;
STICKLINE(趋势线,0,趋势线,3,0),colorred;
STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000;
强弱分界:50,Color000080;

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29