联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

进场止盈

2015-5-31 13:28:32点击:


免费体验:请加微信号:18020657357。

DRAWTEXT_FIX(1,0,0.00,0,'★红箭头买入!'),COLORRED;
   DRAWTEXT_FIX(1,0,0.5,0,'★绿箭头卖出!'),COLORGREEN;

{进场}
P:=21;
   WH1:=IF(L=LLV(L,P),L,DRAWNULL);
   WH2:=CONST(BARSLAST(WH1!=DRAWNULL));
   CURRBARSCOUNT<=WH2+1 AND L=LLV(L,P),COLOR0000FF,LINETHICK2;
   {止盈}
H1:=IF(H=HHV(H,P),H,DRAWNULL);
   H2:=CONST(BARSLAST(H1!=DRAWNULL));
   CURRBARSCOUNT<=H2+1 AND H=HHV(H,P),COLORGREEN, LINETHICK2;