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);
AD:=SUM(CN07,3);
DA:=SUM(CN06,3);
趋势线:=(AD-DA);
参考买入线:=-100000;
红箭头:crOSS(趋势线,参考买入线);
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);
AD:=SUM(CN07,3);
DA:=SUM(CN06,3);
趋势线:=(AD-DA);
参考买入线:=-100000;
红箭头:crOSS(趋势线,参考买入线);