马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
特别感谢98兄,售价不高,毕竟不是我的原创,见谅
精准线主图
N:=30;
L0:=0.02;
L1:=ABS(L-REF(L,1))<=L0
OR ABS(C-REF(L,1))<=L0
OR ABS(H-REF(L,1))<=L0
OR ABS(O-REF(L,1))<=L0
OR ABS(C-REF(O,1))<=L0
OR ABS(C-REF(H,1))<=L0
OR ABS(H-REF(C,1))<=L0
OR ABS(H-REF(O,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0
OR ABS(C-REF(L,2))<=L0
OR ABS(H-REF(L,2))<=L0
OR ABS(O-REF(L,2))<=L0
OR ABS(C-REF(O,2))<=L0
OR ABS(C-REF(H,2))<=L0
OR ABS(H-REF(C,2))<=L0
OR ABS(H-REF(O,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0
OR ABS(C-REF(L,3))<=L0
OR ABS(H-REF(L,3))<=L0
OR ABS(O-REF(L,3))<=L0
OR ABS(C-REF(O,3))<=L0
OR ABS(C-REF(H,3))<=L0
OR ABS(H-REF(C,3))<=L0
OR ABS(H-REF(O,3))<=L0;
L4:=ABS(L-REF(L,4))<=L0
OR ABS(C-REF(L,4))<=L0
OR ABS(H-REF(L,4))<=L0
OR ABS(O-REF(L,4))<=L0
OR ABS(C-REF(O,4))<=L0
OR ABS(C-REF(H,4))<=L0
OR ABS(H-REF(C,4))<=L0
OR ABS(H-REF(O,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0
OR ABS(C-REF(L,5))<=L0
OR ABS(H-REF(L,5))<=L0
OR ABS(O-REF(L,5))<=L0
OR ABS(C-REF(O,5))<=L0
OR ABS(C-REF(H,5))<=L0
OR ABS(H-REF(C,5))<=L0
OR ABS(H-REF(O,5))<=L0;
精准线首次:=L1 OR L2 OR L3 OR L4 OR L5;
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),COLORMAGENTA;
DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;
|