通达信非常准(AAA量能指标)
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

CV:=CLOSE;BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;UPR:=BBIBOLL+6*STD(BBIBOLL,11);DWN:=BBIBOLL-6*STD(BBIBOLL,11);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEREF(B1,1),rgb(255,0,0));partline(B2,B2>REF(B2,1),rgb(255,0,0));partline(B3,B3>REF(B3,1),rgb(255,0,0));;partline(B4,B4>REF(B4,1),rgb(255,0,0));partline(B5,B5>REF(B5,1),rgb(255,0,0));partline(B6,B6>REF(B6,1),rgb(255,0,0));partline(B7,B7>REF(B7,1),rgb(255,0,0));partline(B8,B8>REF(B8,1),rgb(255,0,0));partline(B9,B9>REF(B9,1),rgb(255,0,0));求助老师通达信怎么通不过?谢谢

解答:

 CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
DWN:=BBIBOLL-6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
B6:SUM(LLJX,6),COLORCYAN;
B7:SUM(LLJX,7),COLORCYAN;
B8:SUM(LLJX,8),COLORCYAN;
B9:SUM(LLJX,9),COLORCYAN;
B10:SUM(LLJX,10),COLORCYAN;
IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;
IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;


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