您的位置:股票站 > 查股公式 > 通达信很实用的交易决策主图指标 红线持股 蓝线持币[查股公式]
股票行情消息数据:

通达信很实用的交易决策主图指标 红线持股 蓝线持币[查股公式]

2022/5/27 18:22:42

通达信很实用的交易决策主图指标 红线持股 蓝线持币

源码

DRAWGBK(O>C,RGB(360,0,10),RGB(10,0,1),0,'01',0);
 QQ1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,QQ1*(HIGH-LOW),IF(CLOSE<OPEN,QQ1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,0-QQ1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-QQ1*(HIGH-LOW),0-VOL/2));
 DD:=(主买+主卖)/10000;
 DDX1:=EMA(DD,60)*60;
 DDX2:=MA(DDX1,5);
 DDX3:=MA(DDX1,13);
 STICKLINE(DDX1<DDX3,H,L,0,0),COLORGREEN;
 STICKLINE(DDX1<DDX3,C,O,4,0),COLOR00B500;
 STICKLINE(DDX1<DDX3,C,O,3,0),COLOR00C600;
 STICKLINE(DDX1<DDX3,C,O,2,0),COLOR00D500;
 STICKLINE(DDX1<DDX3,C,O,1,0),COLOR00E600;
 STICKLINE(DDX1>DDX3,H,L,0,0),COLOR106FFF;
 STICKLINE(DDX1>DDX3,C,O,4,0),COLOR0000C8;
 STICKLINE(DDX1>DDX3,C,O,3,0),COLOR0000D7;
 STICKLINE(DDX1>DDX3,C,O,2,0),COLOR0000EA;
 STICKLINE(DDX1>DDX3,C,O,1,0),COLOR0000FF;
 STICKLINE(DDX1<DDX2 AND DDX1>DDX3,H,L,0,0),COLORFF5D10;
 STICKLINE(DDX1<DDX2 AND DDX1>DDX3,C,O,4,0),COLORFF5D10;
 STICKLINE(DDX1<DDX2 AND DDX1>DDX3,C,O,3,0),COLORFF7710;
 STICKLINE(DDX1<DDX2 AND DDX1>DDX3,C,O,2,0),COLORFF9910;
 STICKLINE(DDX1>DDX2 AND DDX1<DDX3,H,L,0,0),COLORFF00FF;
 STICKLINE(DDX1>DDX2 AND DDX1<DDX3,C,O,4,0),COLORD000D0;
 STICKLINE(DDX1>DDX2 AND DDX1<DDX3,C,O,3,0),COLORE600E6;
 STICKLINE(DDX1>DDX2 AND DDX1<DDX3,C,O,2,0),COLORF900F9;
 STICKLINE(DDX1>DDX2 AND DDX1<DDX3,C,O,1,0),COLORFF09FF;
 MA2:=MA(CLOSE,10);
 MA34:=MA(CLOSE,34);
 VARA:=((AMOUNT)/(VOL))/(100);
 VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
 VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
 VARD:=DMA(VARB,(VOL)/(VARC));
 VARE:=((CLOSE-VARD)/(VARD))*(100);
 VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
 VARJ:=MA(VARE,20)+STD(VARE,20);
 BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
 K:=SMA(VARF,3,1);{www.ttchagu.com}
顶:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
 DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND
 (K>79),H*1.02,'风险'),COLORYELLOW;
降:=HHV(EMA(C,3),8),COLORCYAN;
升:=LLV(EMA(C,3),8),COLORRED;
走势:=EMA(C,3),COLORYELLOW;
线上多:IF(走势<降,降,DRAWNULL),COLORCYAN,LINETHICK2;
线下空:IF(走势>升,升,DRAWNULL),COLORMAGENTA,LINETHICK2;

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

股票公式分类

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