通达信价格参考主图指标公式
2020/5/30 19:12:10
A1:=COST(0.37);
A2:=COST(6);
A3:=COST(15);
A4:=COST(55);
A5:=COST(95);
【90%成本】:=COST(90);
【70%成本】:=COST(12);
获利:=WINNER(C)*100;
套牢:=100-WINNER(C)*100;
底出击★:=A1;
稳建仓:=A2;
快刀手:=A3;
预测★:=A5;
升浪:=A4;
DRAWTEXT_FIX(1,0,0,0,'【■获利盘】:'),COLORRED;
DRAWNUMBER_FIX(1,0.09,0,0,CONST(获利)),COLORRED;
DRAWTEXT_FIX(1,0.14,0,0,'%'),COLORRED;
DRAWTEXT_FIX(1,0,0.05,0,'【■套牢盘】:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.09,0.05,0,CONST(套牢)),COLORGREEN;
DRAWTEXT_FIX(1,0.14,0.05,0,'%'),COLORGREEN;
DRAWTEXT_FIX(1,0,0.10,0,'【■底击】:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.09,0.10,0,CONST(底出击★)),COLORWHITE;
DRAWTEXT_FIX(1,0.14,0.10,0,'元'),COLORWHITE;
DRAWTEXT_FIX(1,0,0.15,0,'【■稳仓】:'),COLORLIBLUE;
DRAWNUMBER_FIX(1,0.09,0.15,0,CONST(稳建仓)),COLORLIBLUE;
DRAWTEXT_FIX(1,0.14,0.15,0,'元'),COLORLIBLUE;
DRAWTEXT_FIX(1,0,0.20,0,'【■快刀入】:'),COLORLIMAGENTA;
DRAWNUMBER_FIX(1,0.09,0.20,0,CONST(快刀手)),COLORLIMAGENTA;
DRAWTEXT_FIX(1,0.14,0.20,0,'元'),COLORLIMAGENTA;
DRAWTEXT_FIX(1,0,0.25,0,'【■升浪】:'),COLORRED;
DRAWNUMBER_FIX(1,0.09,0.25,0,CONST(升浪)),COLORRED;
DRAWTEXT_FIX(1,0.14,0.25,0,'元'),COLORRED;
DRAWTEXT_FIX(1,0,0.30,0,'【■预测★】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.09,0.30,0,CONST(预测★)),COLORYELLOW;
DRAWTEXT_FIX(1,0.14,0.30,0,'元'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.35,0,'【■90%成本】:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.09,0.35,0,CONST(【90%成本】)),COLORGREEN;
DRAWTEXT_FIX(1,0.14,0.35,0,'元'),COLORGREEN;
DRAWTEXT_FIX(1,0,0.40,0,'【■70%成本】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.09,0.40,0,CONST(【70%成本】)),COLORCYAN;
DRAWTEXT_FIX(1,0.14,0.40,0,'元'),COLORCYAN;
ZH:=HHV(H,22);
ZHH:=H;
ZGF1:=ZHH/1.0809;
ZGF2:=ZHH/1.1618;
ZGF3:=ZHH/1.0809/1.1618;
ZGF4:=ZHH/1.1618/1.1618;
DRAWTEXT_FIX(1,0.30,0,0,'【第一回调区】:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.38,0,0,CONST(ZGF1)),COLORGREEN;
DRAWTEXT_FIX(1,0.42,0,0,' -- '),COLORGREEN;
DRAWNUMBER_FIX(1,0.45,0,0,CONST(ZGF2)),COLORGREEN;
DRAWTEXT_FIX(1,0.49,0,0,'元'),COLORGREEN;
DRAWTEXT_FIX(1,0.30,0.05,0,'【第二回调区】:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.38,0.05,0,CONST(ZGF3)),COLORGREEN;
DRAWTEXT_FIX(1,0.42,0.05,0,' -- '),COLORGREEN;
DRAWNUMBER_FIX(1,0.45,0.05,0,CONST(ZGF4)),COLORGREEN;
DRAWTEXT_FIX(1,0.49,0.05,0,'元'),COLORGREEN;
ZL:=LLV(L,22);
ZLL:=L;
ZGFB1:=ZLL*1.0809;
ZGFB2:=ZLL*1.1618;
ZGFB3:=ZLL*1.0809*1.1618;
ZGFB4:=ZLL*1.1618*1.1618;
DRAWTEXT_FIX(1,0.30,0.10,0,'【第一压力区】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.38,0.10,0,CONST(ZGFB1)),COLORYELLOW;
DRAWTEXT_FIX(1,0.42,0.10,0,' -- '),COLORYELLOW;
DRAWNUMBER_FIX(1,0.45,0.10,0,CONST(ZGFB2)),COLORYELLOW;
DRAWTEXT_FIX(1,0.49,0.10,0,'元'),COLORYELLOW;
DRAWTEXT_FIX(1,0.30,0.15,0,'【第二压力区】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.38,0.15,0,CONST(ZGFB3)),COLORYELLOW;
DRAWTEXT_FIX(1,0.42,0.15,0,' -- '),COLORYELLOW;
DRAWNUMBER_FIX(1,0.45,0.15,0,CONST(ZGFB4)),COLORYELLOW;
DRAWTEXT_FIX(1,0.49,0.15,0,'元'),COLORYELLOW;
DRAWTEXT_FIX(1,0.30,0.20,0,'【本次起动价】:'),COLORRED;
DRAWNUMBER_FIX(1,0.38,0.20,0,CONST(ZL)),COLORRED;
DRAWTEXT_FIX(1,0.42,0.20,0,'元'),COLORRED;
DRAWTEXT_FIX(1,0.30,0.25,0,'【预计回调价】:'),COLORGREEN;
DRAWNUMBER_FIX(1,0.38,0.25,0,CONST(ZH)),COLORGREEN;
DRAWTEXT_FIX(1,0.42,0.25,0,'元'),COLORGREEN;
Q6:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3;
Q2:=ATAN((MA(C,13)/REF(MA(C,13),1)-1)*100)*57.3;
Q1:=ATAN((MA(C,23)/REF(MA(C,23),1)-1)*100)*57.3;
Q:=ATAN((MA(C,34)/REF(MA(C,34),1)-1)*100)*57.3;
Q3:=ATAN((MA(C,68)/REF(MA(C,68),1)-1)*100)*57.3;
Q5:=ATAN((MA(C,250)/REF(MA(C,250),1)-1)*100)*57.3;
DRAWTEXT_FIX(1,0.16,0,0,'【5 日线夹角】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.24,0,0,CONST(Q6)),COLORCYAN;
DRAWTEXT_FIX(1,0.28,0,0,'度'),COLORCYAN;
DRAWTEXT_FIX(1,0.16,0.05,0,'【13日线夹角】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.24,0.05,0,CONST(Q2)),COLORCYAN;
DRAWTEXT_FIX(1,0.28,0.05,0,'度'),COLORCYAN;
DRAWTEXT_FIX(1,0.16,0.10,0,'【22日线夹角】:'),COLORRED;
DRAWNUMBER_FIX(1,0.24,0.10,0,CONST(Q1)),COLORRED;
DRAWTEXT_FIX(1,0.28,0.10,0,'度'),COLORRED;
DRAWTEXT_FIX(1,0.16,0.15,0,'【34日线夹角】:'),COLORRED;
DRAWNUMBER_FIX(1,0.24,0.15,0,CONST(Q)),COLORRED;
DRAWTEXT_FIX(1,0.28,0.15,0,'度'),COLORRED;
DRAWTEXT_FIX(1,0.16,0.20,0,'【68日线夹角】:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.25,0.20,0,CONST(Q3)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.28,0.20,0,'度'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.16,0.25,0,'【250线夹角】:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.24,0.25,0,CONST(Q5)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.28,0.25,0,'度'),COLORMAGENTA;
投股 票网 www.tou18. cn
股市公式下载推荐