通信达公式编写 通达信预知顶底主图公式源码(3)
2016-09-27 11:18 股票知识 zhishi.southmoney.com
DRAWTEXT(下跌=144,L*0.98,-144),COLOR00FF00;
DRAWTEXT(下跌=180,L*0.98,-180),COLOR00FF00;
DRAWTEXT(下跌=250,L*0.98,-250),COLOR00FF00;
VAR01:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR02:=CROSS(VAR01,0.9);
VAR03:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR04:=CROSS(VAR03,0.9);
压力:=REF(HIGH,BARSLAST(VAR02)), POINTDOT,COLOREA91B5;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR02)),REF(HIGH,BARSLAST(VAR02)),2,1),COLOREA91B5,LINETHICK3;
支撑:=REF(LOW,BARSLAST(VAR04)), POINTDOT,COLOR00B4FF;
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR04)),REF(LOW,BARSLAST(VAR04)),2,1),COLOR00B4FF,LINETHICK3;
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
更多股票公式相关资讯请关注南方财富网