您的位置:查股网 > 查股公式 > 通达信优化的LON[查股公式]
股票行情消息查询:
大盘云图

通达信优化的LON[查股公式]

2022/8/2 8:32:11

N:=(2,300,10);
 LC := REF(CLOSE,1);
 VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
 RC := (CLOSE-LC)*VID;
 LONG := SUM(RC,0);
 DIFF := SMA(LONG,10,1);
 DEA := SMA(LONG,20,1);
 LON : DIFF-DEA;
 LONMA : MA(LON,10);
 DRAWBAND(LON,RGB(100,10,10),LONMA,RGB(10,100,10));
 LONT:=LON, COLORSTICK;

STICKLINE(LON>REF(LON,1) AND LON>0,0,LON,0,0),COLORRED;
 STICKLINE(LON>REF(LON,1) AND LON<0,0,LON,0,0),COLORMAGENTA;
 STICKLINE(LON<REF(LON,1) AND LON>0,0,LON,0,0),COLORLIGREEN;
 STICKLINE(LON<REF(LON,1) AND LON<0,0,LON,0,0),COLORCYAN;

MYGB1:=REF(LON,2)<0 AND REF(LON,1)<0 AND LON<0 AND ABS(REF(LON,2))<ABS(REF(LON,1)) AND ABS(REF(LON,1))>ABS(LON);
 MYGB3:=REF(LON,2)>0 AND REF(LON,1)>0 AND LON>0 AND ABS(REF(LON,2))<ABS(REF(LON,1)) AND ABS(REF(LON,1))>ABS(LON);
 STICKLINE(MYGB1,0,LON,0.1,0),COLORMAGENTA;
 STICKLINE(MYGB3,0,LON,0.1,0),COLORGREEN;

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

股票公式分类

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