yangshuli1972
发表于 2020-11-27 11:46
楼主辛苦了,谢谢分享。
醉亨人生
发表于 2020-11-29 06:32
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1,L*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;
ZGSTAR:=(高点压力+低点支撑)/2;
ZGEND:=CONST((高点压力+低点支撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
TY:=CLOSE;A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(HIGH,BARSLAST(HD)),COLOR00FF00,POINTDOT;
前期低位:REF(LOW,BARSLAST(LD)),COLORFF00FF,POINTDOT;
STICKLINE(CLOSE,前期高位,前期高位,10,0),COLOR00FF00;
STICKLINE(CLOSE,前期低位,前期低位,10,0),COLORFF00FF;
kui126
发表于 2020-11-29 22:35
打算大苏打大苏打
zr924
发表于 2020-12-2 18:28
学习了谢谢
mmfdr
发表于 2020-12-13 14:15
楼主辛苦了,谢谢分享。
liuxingyu81
发表于 2020-12-13 16:46
zhantu
发表于 2020-12-13 16:53
楼主辛苦了,谢谢分享
zhantu
发表于 2020-12-13 16:54
楼主辛苦了,谢谢分享
LUYANG97
发表于 2020-12-13 20:01
谢谢楼主分享
猪脑
发表于 2020-12-29 22:43
楼主辛苦了,谢谢分享。
破司机
发表于 2020-12-30 00:08
谢谢楼主分享
江烟映月
发表于 2020-12-30 19:05
谢谢分享谢谢分享
f2902130
发表于 2021-1-3 22:48
学习了,谢谢楼主分享!!!!!!!!!!!!!!
zc一凡
发表于 2021-1-4 10:31
fasmfan 发表于 2020-3-1 14:18
本帖最后由 捞一把 于 2011-3-31 13:19 编辑
楼主辛苦了,谢谢分享!!!!
zc一凡
发表于 2021-1-4 10:33
楼主辛苦了,谢谢分享。