UID143192
积分272
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2012-2-12
最后登录1970-1-1
|
N:=3; L0:=0.00;{点位差参数} {底N:=3; L0:=0.00;{点位差参数} {底精准线} L1:=ABS(L-REF(L,1))<=L0; L2:=ABS(L-REF(L,2))<=L0; L3:=ABS(L-REF(L,3))<=L0; L4:=ABS(L-REF(L,4))<=L0; L5:=ABS(L-REF(L,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; {顶精准线} G1:=ABS(H-REF(H,1))<=L0; G2:=ABS(H-REF(H,2))<=L0; G3:=ABS(H-REF(H,3))<=L0; G4:=ABS(H-REF(H,4))<=L0; G5:=ABS(H-REF(H,5))<=L0; 精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5; 精准左1:=FILTER(精准线首次1,N) ; 天数1:=BARSLAST(精准左1); GTS:=REF(L,天数1); 精准右1:=ABS(H-GTS)<=L0; STICKLINE(精准左1,H,H,50,-1),COLORGREEN; } L1:=ABS(L-REF(L,1))<=L0; L2:=ABS(L-REF(L,2))<=L0; L3:=ABS(L-REF(L,3))<=L0; L4:=ABS(L-REF(L,4))<=L0; L5:=ABS(L-REF(L,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; {顶N:=3; L0:=0.00;{点位差参数} {底精准线} L1:=ABS(L-REF(L,1))<=L0; L2:=ABS(L-REF(L,2))<=L0; L3:=ABS(L-REF(L,3))<=L0; L4:=ABS(L-REF(L,4))<=L0; L5:=ABS(L-REF(L,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; {顶精准线} G1:=ABS(H-REF(H,1))<=L0; G2:=ABS(H-REF(H,2))<=L0; G3:=ABS(H-REF(H,3))<=L0; G4:=ABS(H-REF(H,4))<=L0; G5:=ABS(H-REF(H,5))<=L0; 精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5; 精准左1:=FILTER(精准线首次1,N) ; 天数1:=BARSLAST(精准左1); GTS:=REF(L,天数1); 精准右1:=ABS(H-GTS)<=L0; STICKLINE(精准左1,H,H,50,-1),COLORGREEN; } G1:=ABS(H-REF(H,1))<=L0; G2:=ABS(H-REF(H,2))<=L0; G3:=ABS(H-REF(H,3))<=L0; G4:=ABS(H-REF(H,4))<=L0; G5:=ABS(H-REF(H,5))<=L0; 精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5; 精准左1:=FILTER(精准线首次1,N) ; 天数1:=BARSLAST(精准左1); GTS:=REF(L,天数1); 精准右1:=ABS(H-GTS)<=L0; STICKLINE(精准左1,H,H,50,-1),COLORGREEN; |
|