您的位置:查股网 > 查股公式 > BS主图源码[查股公式]
股票行情消息查询:

BS主图源码[查股公式]

2022/9/13 17:56:42

VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
 VAR2:=HIGH-REF(HIGH,1);
 VAR3:=REF(LOW,1)-LOW;
 VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
 VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
 VAR6:=VAR4*100/VAR1;
 VAR7:=VAR5*100/VAR1;
 VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
 VAR9:=(VAR8+REF(VAR8,15))/2;
 BUY:=ZIG(3,10);
 SELL:=MA(BUY,2);
 DRAWICON(CROSS(BUY,SELL),L-0.1,7);
 DRAWICON(CROSS(SELL,BUY),H+0.1,8);
 STICKLINE(BUY>SELL AND O>=C,C,O,-1,0),COLORRED;
 STICKLINE(BUY>SELL AND O>=C,L,H,0,0),COLORRED;
 STICKLINE(BUY < SELL AND O<=C,O,C,-1,1),COLORCYAN;
 STICKLINE(BUY < SELL AND O<=C,O,L,0,1),COLORCYAN;
 STICKLINE(BUY < SELL AND O<=C,C,H,0,1),COLORCYAN;
 LJB:=1/WINNER(CLOSE);
 STICKLINE(LJB >10,L-0.45,L-0.4,-1,1),COLORYELLOW;
平均:=(L+H)/2;
 KB:=ZIG(平均,10);
 KS:=MA(KB,2);
 DRAWICON(CROSS(KB,KS),L-0.2,1);
 DRAWICON(CROSS(KS,KB),H+0.2,2);
 VAR11:=MA(C,9),COLORRED;
上升通道:IF(VAR11>REF(VAR11,1),VAR11,DRAWNULL),LINETHICK2,COLORRED;
下降通道:IF(VAR11<REF(VAR11,1),VAR11,DRAWNULL),LINETHICK2,COLORGREEN;

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

股票公式分类

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