通达信boll源码(通达信boll副图公式源码)
1、求高手给我编一个通达信BOLL线突破上轨的选股公式
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,30);
MA4:=MA(C,60);
BOLL:=MA(C,N);
UPPER:=BOLL+2*STD(C,N);
BIAS1:=(UPPER-REF(UPPER,1))/REF(UPPER,1)*100;
BIAS2:=(REF(UPPER,1)-REF(UPPER,2))/REF(UPPER,2)*100;
MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND C>UPPER AND C>=REF(C,1)*1.03 AND BIAS1>=1 AND BIAS2<1 AND V=HHV(V,5);
{变量N设置最小值2 最大值120 默认20}
修改了下公式,原来的公式有时候boll.upper函数调用不稳定
经测试只选出2只股符合
2、通达信boll选股公式,中轨和上轨之间怎么编写,
源码发上来。。。我软件里没有源码。。。
3、请老师把通达信布林极限公式,改成选股公式,源码: 要求选出BB刚刚上穿MA,,,谢谢
最后加一行:bb>ma6 and ref(bb<=ma6,1) ;
4、求通达信版本的布林线主图源公式。
N:=20;
MID:=MA(C,N);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
BOLL:REF(MID,1),COLORFFFFFF;
UB:REF(UPPER,1),COLOR00FFFF;
LB:REF(LOWER,1),COLORFF00FF;
(这个就是)
5、通达信副图公式源码和选股公式源码有何区别
通达信副图公式源码
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
通达信选股公式源码
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J<1;
2个都是KDJ指标,不同的地方是选股只有1个输出,而且还是限制条件。
6、通达信指标 副图+选股 编写,关于BOLL
LB:"BOLL.LB";
涨幅:(C-REF(C,1))/REF(C,1)*100,NODRAW;
{当日股价 最低价跌破BOLL下轨LB,并且当日涨幅不超过2%}
选股:O>LB AND L<LB AND 涨幅<=2,NODRAW;{这句在综合选股里用}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT(选股,L,'记号'),COLOR00FFFF;
长阳真人(466231800)附图如下
7、买卖加仓主图通达信指标公式源码
内容来自用户:聚文汇
买卖加仓主图通达信指标公式源码MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
BB:=REF(INDEXC,1)=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05
AND REF(C,1)O AND C/O>=1.05 AND C>REF(O,1)
AND REF(VOL,1)<REF(VOL,2);
STICKLINE(BB,O,C,4,0),COLORRED;
STICKLINE(BB,O,H,0,0),COLORRED;
STICKLINE(BB,L,C,0,0),COLORRED;
DRAWTEXT(BB,L*0.95,'追!'),COLORYELLOW;
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
CC:=CROSS(VAR1,VAR2);
DRAWTEXT(CC,L*0.95,'买!'),COLOR0099FF;
TYP:=(H+L+C)/3;
TYP1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))MA(C,250);
TJ4:=MAX(REF(H,10)AND REF(H,9)AND REF(H,8)AND REF(H,7), REF(H,6));
TOUJI:=TYP1 AND TJ1 AND TJ2 AND REF(C,2)/REF(O,2)=1.65 AND REF(H,5)/REF(L,1)>=1.15 AND REF(C,1)/REF(O,1)=2) AND O/REF(L,1)=1.08 AND REF(C,2)/REF(O,2)=2) AND L=1.3 AND REF(C,5)1.4 AND (MA(V,10)/HHV(V,10)>0.5 AND V/HHV(V,10)>0.2 AND V/HHV(V,10)REF(V,2) AND REF(V,2)>REF(V,1)) AND REF(C,1)/REF(C,2)<=1.02;
DATOUJI1:=TYP1 AND TJ3 AND OMA(VOL,10) AND L=MA(C,20),L*0.98,'量托'),COLORWHITE;
卖出:=CROSS(90,SMA(MAX(CLOSE-REF(CLOS