通达信吴氏中线指标公式

通达信布林四中轴线主图指标公式

VAR3:=100-(100-3*SMA((CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))

*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))

*100,20,1),20,1));

VAR4:=100-(100-3*SMA((OPEN-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))

*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))

*100,20,1),20,1));

stICKLINE(VAR3<=REF(VAR4,1),VAR3,VAR4,4,0),COLORGREEN;

STICKLINE(VAR3>REF(VAR4,1),VAR3,VAR4,4,0),COLORRED;

通达信平均价格主图指标公式