大智慧画出顶底线主图指标公式

{顶线}

A61:=REF(MA(CLOSE,5),3)<REF(MA(CLOSE,5),2);

A6:=COUNT(A61,3)>=3 AND

REF(MA(CLOSE,5),1)<=REF(MA(CLOSE,5),2) AND

MA(CLOSE,5)<REF(MA(CLOSE,5),1);

DRAWTEXTAbs(5,5,'指标网 www.zhibiaow.com'),linethick1,COLOR00EEff;

HORILINE(A6,HHV(HIGH,8),0,0),COLORRED;{画长线}

{底线}

A71:=REF(MA(CLOSE,5),2)<REF(MA(CLOSE,5),3);

A7:=COUNT(A71,3)>=3 AND

REF(MA(CLOSE,5),2)<=REF(MA(CLOSE,5),1) AND

REF(MA(CLOSE,5),1)<MA(CLOSE,5);

HORILINE(A7,LLV(LOW,8),0,0),color00ff00;{画长线};