将DTX的底高区指标改成大智慧能用的
2020/1/16 18:50:20
公式编写说明:
有请老师将DTX的底高区指标改成大智慧能用的,多谢了!高区:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),0)),DRAWNULL),COLORGREEN;低区1:=IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),0)),DRAWNULL),COLORMAGENTA,DOTLINE;STICKLINE(CCI>=200 AND H>=高区,O,C,1.5,0),COLORBLUE;买进:STICKLINE(CCI<=100 AND L<=低区1,O,C,1.5,0),COLORLIRED;DRAWTEXT(买进,L*0.99,'低区'),COLORLIRED;
公式源码回答:
S1:=BACKSET(DISPSTATUS=2,60);
S2:=BARSLAST(S1>REF(S1,1))+1;
高区:HHVALL(IF(DISPSTATUS=2,HHV(H,S2),0)),COLORGREEN;
低区1:=HHVALL(IF(DISPSTATUS=2,LLV(L,S2),0));
STICKLINE("CCI.">=200 AND H>=高区 AND S1,O,C,4,0),COLORBLUE;
买进:STICKLINE("CCI."<=100 AND L<=低区1 AND S1,O,C,4,0),COLOR8080FF;
DRAWTEXT("CCI."<=100 AND L<=低区1 AND S1,L*0.99,'低区'),COLOR8080FF;
{2222}
S1:=BACKSET(DISPSTATUS=2,60);
S2:=BARSLAST(S1>REF(S1,1))+1;
高区:HHVALL(IF(DISPSTATUS=2,HHV(H,S2),0)),COLORGREEN;
低区1:=HHVALL(IF(DISPSTATUS=2,LLV(L,S2),0));
STICKLINE(CROSS(ANY("CCI.">=200,2) AND H>=高区 AND S1,0.5),O,C,4,0),COLORBLUE;
买进:STICKLINE("CCI."<=100 AND L<=低区1 AND S1,O,C,4,0),COLOR8080FF;
DRAWTEXT("CCI."<=100 AND L<=低区1 AND S1,L*0.99,'低区'),COLOR8080FF;
投 股票网 www. tou18.cn
股市公式下载推荐