通达信趋势翻红翻绿主图指标公式
2021/2/19 18:49:58
AKAQ:=C>REF(C,1) AND REF(C,1)>REF(C,2) AND REF(C,1)<REF(C,3) AND IF(REF(C,3)<REF(C,4),1,IF(REF(C,4)<REF(C,5),REF(C,1)<REF(C,4) OR (REF(C,2)<REF(C,4) AND REF(C,3)>=REF(C,5)),IF(REF(C,5)<REF(C,6),1,REF(C,6)<REF(C,7))));
BKBQ:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,1)>REF(C,3) AND IF(REF(C,3)>REF(C,4),1,IF(REF(C,4)>REF(C,5),REF(C,1)>REF(C,4) OR (REF(C,2)>REF(C,4) AND REF(C,3)<=REF(C,5)),IF(REF(C,5)>REF(C,6),1,REF(C,6)>REF(C,7))));
DRAWICON(AKAQ AND C>REF(O,2),0.98*LOW,1);
DRAWICON(BKBQ AND C<REF(C,2),HIGH*1.02,2);
DRAWTEXT(AKAQ AND C>REF(O,2),LOW*0.97,'底翻红'),COLORYELLOW;
DRAWTEXT(BKBQ AND C<REF(C,2),HIGH*1.03,'顶翻绿'),COLOR00FF00;
看股吧 公式 www.kanguba.co m
其它股票公式列表