改成大智慧用的<布林主圖>
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

以下是通達信公式: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 OREF(C,1) AND O>C,O,C,2,0),COLORRED;STICKLINE(C=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;

选股票看什么指标最好 >股票指标网