通达信翻新源码主图指标公式
2017-09-03网络 编 辑:翔博软件
源码都是公开的,所以也就不说什么。……留着给你说,弄好再说为好。
大智慧的源码
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;