mrtuner
发表于 2016-1-15 12:11
157每帖必读
hchg
发表于 2016-1-18 14:12
是一个好公式
tyrant188
发表于 2016-1-18 14:15
A1:=C>=REF(C,4);
A2:=C<REF(C,4);
A3:=C<REF(C,4) AND REF(A1,1);
T:=BARSLAST(A3),NODRAW;
M0:=(T=0 AND REFX(T=1 AND NOT(A2),1)) OR (REFX(T=2 AND NOT(A2),2)) OR (REFX(T=3 AND NOT(A2),3)) OR (REFX(T=4 AND NOT(A2),4)) OR (REFX(T=5 AND NOT(A2),5)) OR (REFX(T=6 AND NOT(A2),6)) OR (REFX(T=7 AND NOT(A2),7)) OR (REFX(T=8 AND NOT(A2),8));
M1:=T=1 AND REFX(T=2 AND NOT(A2),1) OR (REFX(T=3 AND NOT(A2),2)) OR (REFX(T=4 AND NOT(A2),3)) OR (REFX(T=5 AND NOT(A2),4)) OR (REFX(T=6 AND NOT(A2),5)) OR (REFX(T=7 AND NOT(A2),6)) OR (REFX(T=8 AND NOT(A2),7));
M2:=T=2 AND REFX(T=3 AND NOT(A2),1) OR (REFX(T=4 AND NOT(A2),2)) OR (REFX(T=5 AND NOT(A2),3)) OR (REFX(T=6 AND NOT(A2),4)) OR (REFX(T=7 AND NOT(A2),5)) OR (REFX(T=8 AND NOT(A2),6));
M3:=T=3 AND REFX(T=4 AND NOT(A2),1)OR (REFX(T=5 AND NOT(A2),2)) OR (REFX(T=6 AND NOT(A2),3)) OR (REFX(T=7 AND NOT(A2),4))OR (REFX(T=8 AND NOT(A2),5));
M4:=T=4 AND REFX(T=5 AND NOT(A2),1) OR (REFX(T=6 AND NOT(A2),2)) OR (REFX(T=7 AND NOT(A2),3)) OR (REFX(T=8 AND NOT(A2),4));
M5:=T=5 ANDREFX(T=6 AND NOT(A2),1) OR (REFX(T=7 AND NOT(A2),2)) OR (REFX(T=8 AND NOT(A2),3));
M6:=T=6ANDREFX(T=7 AND NOT(A2),1) OR (REFX(T=8 AND NOT(A2),2));
M7:=T=7ANDREFX(T=8 AND NOT(A2),1);
N0:=T=1 AND REF(T=0 AND A3,1) AND A2;
N1:=T=2 AND REF(N0,1) AND A2;
N2:=T=3 AND REF(N1,1) AND A2;
N3:=T=4 AND REF(N2,1) AND A2;
N4:=T=5 AND REF(N3,1) AND A2;
N5:=T=6 AND REF(N4,1) AND A2;
N6:=T=7 AND REF(N5,1) AND A2;
N7:=T=8 AND REF(N6,1) AND A2;
WZD:=L*0.98;
WZG:=H*1.02;
DRAWTEXT(T=0,WZD,'1'),COLORGREEN;
DRAWTEXT(N0,WZD,'2'),COLORGREEN;
DRAWTEXT(N1,WZD,'3'),COLORGREEN;
DRAWTEXT(N2,WZD,'4'),COLORGREEN;
DRAWTEXT(N3,WZD,'5'),COLORGREEN;
DRAWTEXT(N4,WZD,'6'),COLORGREEN;
DRAWTEXT(N5,WZD,'7'),COLORGREEN;
DRAWTEXT(N6,WZD,'8'),COLORGREEN;
DRAWTEXT(N7,WZG,'9'),COLORMAGENTA;
DRAWTEXT(M0,WZD,'1'),COLORBLACK;
DRAWTEXT(M1,WZD,'2'),COLORBLACK;
DRAWTEXT(M2,WZD,'3'),COLORBLACK;
DRAWTEXT(M3,WZD,'4'),COLORBLACK;
DRAWTEXT(M4,WZD,'5'),COLORBLACK;
DRAWTEXT(M5,WZD,'6'),COLORBLACK;
DRAWTEXT(M6,WZD,'7'),COLORBLACK;
DRAWTEXT(M7,WZD,'8'),COLORBLACK;
B1:=C<=REF(C,4);
B2:=C>REF(C,4);
B3:=C>REF(C,4) AND REF(B1,1);
T1:=BARSLAST(B3),NODRAW;
M8:=(T1=0 AND REFX(T1=1 AND NOT(B2),1)) OR (REFX(T1=2 AND NOT(B2),2)) OR (REFX(T1=3 AND NOT(B2),3)) OR (REFX(T1=4 AND NOT(B2),4)) OR (REFX(T1=5 AND NOT(B2),5)) OR (REFX(T1=6 AND NOT(B2),6)) OR (REFX(T1=7 AND NOT(B2),7)) OR (REFX(T1=8 AND NOT(B2),8));
M9:=T1=1 AND REFX(T1=2 AND NOT(B2),1) OR (REFX(T1=3 AND NOT(B2),2)) OR (REFX(T1=4 AND NOT(B2),3)) OR (REFX(T1=5 AND NOT(B2),4)) OR (REFX(T1=6 AND NOT(B2),5)) OR (REFX(T1=7 AND NOT(B2),6)) OR (REFX(T1=8 AND NOT(B2),7));
M10:=T1=2 AND REFX(T1=3 AND NOT(B2),1) OR (REFX(T1=4 AND NOT(B2),2)) OR (REFX(T1=5 AND NOT(B2),3)) OR (REFX(T1=6 AND NOT(B2),4)) OR (REFX(T1=7 AND NOT(B2),5)) OR (REFX(T1=8 AND NOT(B2),6));
M11:=T1=3 AND REFX(T1=4 AND NOT(B2),1)OR (REFX(T1=5 AND NOT(B2),2)) OR (REFX(T1=6 AND NOT(B2),3)) OR (REFX(T1=7 AND NOT(B2),4))OR (REFX(T1=8 AND NOT(B2),5));
M12:=T1=4 AND REFX(T1=5 AND NOT(B2),1) OR (REFX(T1=6 AND NOT(B2),2)) OR (REFX(T1=7 AND NOT(B2),7)) OR (REFX(T1=8 AND NOT(B2),4));
M13:=T1=5 ANDREFX(T1=6 AND NOT(B2),1) OR (REFX(T1=7 AND NOT(B2),2)) OR (REFX(T1=8 AND NOT(B2),3));
M14:=T1=6ANDREFX(T1=7 AND NOT(B2),1) OR (REFX(T1=8 AND NOT(B2),2));
M15:=T1=7ANDREFX(T1=8 AND NOT(B2),1);
N8:=T1=1 AND REF(T1=0 AND B3,1) AND B2;
N9:=T1=2 AND REF(N8,1) AND B2;
N10:=T1=3 AND REF(N9,1) AND B2;
N11:=T1=4 AND REF(N10,1) AND B2;
N12:=T1=5 AND REF(N11,1) AND B2;
N13:=T1=6 AND REF(N12,1) AND B2;
N14:=T1=7 AND REF(N13,1) AND B2;
N15:=T1=8 AND REF(N14,1) AND B2;
DRAWTEXT(T1=0,WZG,'1'),COLOR9900CC;
DRAWTEXT(N8,WZG,'2'),COLOR9900CC;
DRAWTEXT(N9,WZG,'3'),COLOR9900CC;
DRAWTEXT(N10,WZG,'4'),COLOR9900CC;
DRAWTEXT(N11,WZG,'5'),COLOR9900CC;
DRAWTEXT(N12,WZG,'6'),COLOR9900CC;
DRAWTEXT(N13,WZG,'7'),COLOR9900CC;
DRAWTEXT(N14,WZG,'8'),COLOR9900CC;
DRAWTEXT(N15,WZD,'9'),COLORGREEN;
DRAWTEXT(M8,WZG,'1'),COLORBLACK;
DRAWTEXT(M9,WZG,'2'),COLORBLACK;
DRAWTEXT(M10,WZG,'3'),COLORBLACK;
DRAWACK;
DRAWTEXT(M13,WZG,'6'),COLORBLACK;
LHW
发表于 2016-1-18 14:24
gfdsaqwertyuiop[]
平常心001
发表于 2016-1-18 15:06
多谢分享 学习
长风论市
发表于 2016-1-18 15:20
谢谢老师分享 老师辛苦了
jqkcn
发表于 2016-1-19 22:30
谢谢楼主谢谢楼主
spring_stars
发表于 2016-1-19 22:36
感谢分享!
t20ily
发表于 2016-1-19 22:46
感谢楼主经验分享
好好的学
发表于 2016-1-19 22:58
谢谢分享,好好的学
lpwzm
发表于 2016-1-19 23:23
谢谢楼主啊
爆发星
发表于 2016-1-19 23:46
谢谢楼主分享
zjtz288
发表于 2016-1-19 23:54
缩量大跌,敢
645272262
发表于 2016-1-23 15:43
缩量大跌,敢进必涨
gowemi
发表于 2016-1-24 17:43
谢谢楼主的分享