要求:当AD与AZ合并,并数值创50天以来的新高后,请加粗线表示,并可以预警,谢谢!!!!!! 源码如下:通达信源码:CN1:=HHV(V,5);CN2:=O>C;CN02:=C>O;CN03:=C=O; CN04:=((SUM(V,5)/CN1));CN05:=IF(CN04>0.3,1,0); CN06:=IF(CN2 AND CN05,V,0);CN07:=IF(CN02 AND CN05,V,0); CN08:=IF(CN03 AND CN05,V,0); AD:SUM(CN07,3),COLORYELLOW;DA:=SUM(CN06,3); AZ:(AD-DA),COLOR0000FF;AF:=AZ=AD; AX:=AD*0.6;SA:=BETWEEN(AZ,AD,AX); 0,COLORGRAY;
爱约股解答:
{指标公式}
CN1:=HHV(V,5);
CN2:=O>C;
CN02:=C>O;
CN03:=C=O;
CN04:=((SUM(V,5)/CN1));
CN05:=IF(CN04>0.3,1,0);
CN06:=IF(CN2 AND CN05,V,0);
CN07:=IF(CN02 AND CN05,V,0);
CN08:=IF(CN03 AND CN05,V,0);
AD:SUM(CN07,3),COLORYELLOW;
DA:=SUM(CN06,3);
AZ:(AD-DA),COLOR0000FF;
AF:=AZ=AD;
AX:=AD*0.6;
SA:=BETWEEN(AZ,AD,AX);
0,COLORGRAY;
XG:(AD=AZ AND AZ=HHV(AZ,50))*AZ,STICK;