改成大智慧用的<布林主圖>
2020/4/22 19:04:11
公式编写说明:
以下是通達信公式:n 2 120 20BOLL:MA(CLOSE,N);UB:BOLL+2*STD(CLOSE,N);LB:BOLL-2*STD(CLOSE,N);STICKLINE(C>REF(C,1) AND O<C,O,C,3,1),COLORRED;STICKLINE(C>REF(C,1) AND O>C,O,C,2,0),COLORRED;STICKLINE(C<REF(C,1) AND O<C,O,C,2,0),COLORBLUE;DRAWTEXT(HIGH>=REF(CLOSE,1)*1.095,HIGH,'漲停'),COLORMAGENTA;STICKLINE(V/REF(V,1)>2,OPEN,CLOSE,1,0),COLORGREEN;DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'趺停'),COLORGREEN;陽漲幅:=8;換手率:=2;單陽:=C>O*(1+陽漲幅/100) AND C>MA(C,30) AND V/CAPITAL*100>換手率;DRAWTEXT(CURRBARSCOUNT<100 AND 單陽,L*0.98,'陽'),COLOR00BBBB;STICKLINE(CURRBARSCOUNT<100 AND 單陽,O,C,0.5,0),COLORYELLOW;
公式源码回答:
n:=20;
BOLL:MA(CLOSE,N);
UB:BOLL+2*STD(CLOSE,N);
LB:BOLL-2*STD(CLOSE,N);
STICKLINE(C>REF(C,1) AND O<C,O,C,9,1),COLORRED;
STICKLINE(C>REF(C,1) AND O>C,O,C,7,0),COLORRED;
STICKLINE(C<REF(C,1) AND O<C,O,C,7,0),COLORBLUE;
DRAWTEXT(HIGH>=REF(CLOSE,1)*1.095,HIGH,'漲停'),COLORMAGENTA;
STICKLINE(V/REF(V,1)>2,OPEN,CLOSE,5,0),COLORGREEN;
DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'趺停'),COLORGREEN;
阳涨幅:=8;
換手率:=2;
單陽:=C>O*(1+阳涨幅/100) AND C>MA(C,30) AND V/CAPITAL*100>換手率;
DRAWTEXT(BACKSET(BARSTATUS=2,100) AND 單陽,L*0.98,'陽'),COLOR00BBBB;
STICKLINE(BACKSET(BARSTATUS=2,100) AND 單陽,O,C,0.5,0),COLORYELLOW;
投股票 网 www.tou18.c n
股市公式下载推荐