红线低位筹码密集 绿线高位筹码密集 白线在低位是安全买点
AAA:=COUNT(C/REF(C,1)>1.097,60)>0;
T1:=MA(C,5);
T2:=MA(C,10);
BB:=CROSS(T1,T2);
BBB:=COUNT(BB,3)>=1;
BBBB:=T1>T2;
价格:=BETWEEN(C,MIN(MA(C,240),MA(C,120)),MAX(MA(C,240),MA(C,120))*1.3);
DDD:=MA(CLOSE,120)>MA(CLOSE,240);
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
单峰密集:A3/A4*100<15 AND AAA AND 价格 AND BBBB AND DDD,LINETHICK1 ;
密集:=A3/A4*100<15,LINETHICK0;
密集2:=A3/A4*100<15,LINETHICK0;
B1:=HHV(HIGH,250);
B2:=LLV(LOW,250);
B3:=B1-B2;
低位:=A4<(B3*0.4+B2),LINETHICK0;
低位密集:密集 AND 低位 AND MA(C,5)>MA(C,10),COLORRED;
高位:=A4>(B3*0.7+B2),LINETHICK0;
高位密集:密集2 AND 高位,COLORGREEN ;
{STICKLINE(高位密集>0,4.3,5,8,0),COLORRED,LINETHICK2;
STICKLINE(低位密集>0,4.3,5,8,0),COLORGREEN,LINETHICK2;
STICKLINE(单峰密集>0 ,4.3,5,8,0),COLORYELLOW,LINETHICK2;};