通达信八卦主图指标公式
通达信九重天主图指标公式
通达信八卦主图指标公式:
{MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);}
Z:=ISLAstBAR;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98*REF(H,1),'①乾:阳极,防变'),COLORFF00FF;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'②兑:阳减,调整'),COLORFFFF00;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98*REF(H,1),'③离:阳光,关注'),COLOR00FFFF;
DRAWTEXT (REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'④震:继阴,空仓'),COLORFF0000;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C>O&&Z,0.98*REF(H,1),'⑤巽:继阳,持股'),COLORFF00FF;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'⑥坎:阴风,看跌'),COLORFF0000;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98*REF(H,1),'⑦艮:阴减,反弹'),COLOR00FFFF;
DRAWTEXT (REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C<=O&&Z,0.98*REF(H,1),'⑧坤:阴极,待转'),COLORFF0000;
通达信果断出击主图指标公式