大智慧BOLL超跌主图指标公式
2015-05-21 作者:投资家网tzj123.com 来源:本站整理
P:=2;
N:=26;
涨幅:=(c-ref(c,1))/ref(c,1);
st判断:=STRCMP('st',STKNAME);
涨停:=if(st判断<1,涨幅>0.099,if(st判断=1, 涨幅>0.049,0));
MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N),COLOR006600;
LOWER: MID - P*STD(CLOSE,N),COLOR660066;
DRAWLINE(1,C,1,O,00),COLOR00FFFF;
STICKLINE(1,L,H,1.8,0),COLOR333333;
STICKLINE(C>REF(C,1),O,C,1.5,0),COLORRED;
STICKLINE(C>REF(C,1)*1.095,O,C,5,0),COLOR0066FF;
STICKLINE(C>REF(C,1) AND O>C,O,C,1.5,0),COLOR990099;
STICKLINE(C<REF(C,1),O,C,1.5,0),COLORBLUE;
STICKLINE(C<REF(C,1)*0.9,O,C,5,0),COLORFFFF33;
STICKLINE(C<REF(C,1) AND O<C,O,C,1.5,0),COLOR00FF00;
A0:=C>REF(C,1) OR C=REF(C,1);
AA0:=L<LOWER;
AA1:=REF(AA0,1) AND C>LOWER AND A0 ;
AA2:=REF(AA0,1) AND L>LOWER ;
AA3:=REF(O,1)<LOWER AND C>LOWER;
AA4:=REF(O,1)<LOWER AND L>LOWER;
DRAWICON(AA1 AND NOT(REF(AA1,1)),L*0.98,7) ,ALIGN1;
AA5:=AA1 AND NOT(REF(AA1,1)) AND MID>REF(MID,1);
上一篇: 大智慧庄见光指标公式
下一篇: 大智慧K线观察电子股评主图指标公式