以下是通达信翻新源码主图指标公式

翻新  通达信 源码 主图

源码都是公开的,所以也就不说什么。……留着给你说,弄好再说为好。
 大智慧的源码
AB1:=COST(0.33);
 AB2:=COST(5);
 AB3:=COST(15);
 AB4:=COST(55);
 AB5:=COST(97);
 AA1:=COST(90);
 AA2:=COST(70);
 AA3:=COST(30);
 AA4:=COST(10);
获利:=WINNER(CLOSE)*100;
套牢:=100-WINNER(CLOSE)*100;
 DRAWTEXTABS(15,25,’量能饱和度:’+NUMTOSTRN(量能饱和度,2)+’%’),COLOR00FFFF;
 DRAWTEXTABS(15,40,’90成本:’+NUMTOSTRN(AA1,2)),COLOR00FFFF;
 DRAWTEXTABS(15,55,’70成本:’+NUMTOSTRN(AA2,2)),COLOR00FFFF;
 DRAWTEXTABS(15,70,’30成本:’+NUMTOSTRN(AA3,2)),COLOR00FFFF;
 DRAWTEXTABS(15,85,’10成本:’+NUMTOSTRN(AA4,2)),COLOR00FFFF;
 DRAWTEXTABS(15,100,’底出击:’+NUMTOSTRN(AB1,2)),COLOR00FFFF;
 DRAWTEXTABS(520,25,’建仓:’+NUMTOSTRN(AB2,2)),COLOR00FFFF;
 DRAWTEXTABS(600,25,’快刀:’+NUMTOSTRN(AB3,2)),COLOR00FFFF;
 DRAWTEXTABS(675,25,’升浪:’+NUMTOSTRN(AB4,2)),COLOR00FFFF;
 DRAWTEXTABS(520,40,’获利:’+NUMTOSTRN(获利,2)+’%’),COLOR00FFFF;
 DRAWTEXTABS(600,40,’套牢:’+NUMTOSTRN(套牢,2)+’%’),COLOR00FFFF;
 DRAWTEXTABS(675,40,’预测:’+NUMTOSTRN(AB5,2)),COLOR00FFFF;

通达信 源码
AB1:=COST(0.33);
 AB2:=COST(5);
 AB3:=COST(15);
 AB4:=COST(55);
 AB5:=COST(97);
 AA1:=COST(90);
 AA2:=COST(70);
 AA3:=COST(30);
 AA4:=COST(10);
获利:=WINNER(CLOSE)*100;
套牢:=100-WINNER(CLOSE)*100;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE),’■获利盘      %’),COLORFF00FF;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE),CONST(获利)),COLORFF00FF;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.98,’■套牢盘      %’),COLORFF9900;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.98,CONST(套牢)),COLORFF9900;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.96,’■底击        元’),COLOR0000FF;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.96,CONST(AB1)),COLOR0000FF;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.94,’■稳仓        元’),COLOR00EEEE;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.94,CONST(AB2)),COLOR00EEEE;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.92,’■快刀        元’),COLOR00FF00;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.92,CONST(AB3)),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.90,’■升浪        元’),COLORE0C2E0;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.90,CONST(AB4)),COLORE0C2E0;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.88,’■预测        元’),COLORBA8EBA;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.88,CONST(AB5)),COLORBA8EBA;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.86,’90成本        元’),COLORE0C2E0;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.86,CONST(AA1)),COLORE0C2E0;
 DRAWTEXT(CURRBARSCOUNT=120,REFDATE(HHV(H,120),DATE)*0.84,’70成本        元’),COLORBA8EBA;
 DRAWNUMBER(CURRBARSCOUNT=110,REFDATE(HHV(H,120),DATE)*0.84,CONST(AA2)),COLORBA8EBA;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。