UID414880
积分153
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2017-12-22
最后登录1970-1-1
|
二分之一MAX(C,O)+MIN(C,O))/2,NODRAW;
三分之二MAX(C,O)-MIN(C,O))/3*2+MIN(C,O)NODRAW;
三分之一MAX(C,O)-MIN(C,O))/3+MIN(C,O)NODRAW;
WAVE:=ZIG(1,5);
峰:=WAVE>REF(WAVE,1) AND WAVE>REFX(WAVE,1);
谷:=WAVE<REF(WAVE,1) AND WAVE<REFX(WAVE,1);
AA:=峰=1 AND WAVE>=CONST(HHV(H,120));
TA:=BARSLAST(AA);
STICKLINE(TA,REF(H,TA),REF(H,TA),2,0);
BB:=BACKSET(ISLASTBAR,TA);
CC:=BB AND COUNT(峰 AND REF(峰,TA)=1,TA)>0;
TC:=BARSLAST(CC=0);
DD:=CC AND WAVE>=CONST(HHV(H,TC));
TD:=BARSLAST(DD);
STICKLINE(TD,REF(H,TD),REF(H,TD),5,0)COLORRED;
DRAWLINE(TD,REF(H,TD),REF(TD,1),REF(REF(H,TD),1),1)COLORRED;
VAR11:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3); VAR22:=CROSS(VAR11,0.9);
VAR33:=BACKSET(REF(LOW,2)=LLV(LOW,5),3); VAR44:=CROSS(VAR33,0.9);
压力:= REF(HIGH,BARSLAST(VAR22));
STICKLINE(C,REF(HIGH,BARSLAST(VAR22)),REF(HIGH,BARSLAST(VAR22)),0.5,1),COLOR77FFCC;
支撑:= REF(LOW,BARSLAST(VAR44));
STICKLINE(C,REF(LOW,BARSLAST(VAR44)),REF(LOW,BARSLAST(VAR44)),0.5,1),COLOR00FF00;
STICKLINE(C,(C+O)/2,(C+O)/2,3,0),COLOR00FFFF;
|
|