通达信进场止盈公式源码k线图
-
相关简介:通达信公式进场止盈 {进场} 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(
-
文章来源:股海网作者:股海网发布时间:2019-04-21浏览次数:
通达信公式进场止盈
{进场}
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;