地狱:LLV(CLOSE,30),colorligreen;
天堂:HHV(CLOSE,30),colorligreen;
买线:EMA(C,2),coloryellow,LINETHICK3;
卖线:EMA(SLOPE(C,21)*21+C,42),POINTDOT,coloryellow;
买:=crOSS(买线,卖线);
卖:=CROSS(卖线,买线);
平均:=(2*CLOSE+OPEN+HIGH+LOW)/5;
FILTER(平均>=卖线,5);
FILTER(平均<卖线,5);
STICKLINE(平均>=卖线,平均,天堂,8,0),colorred;
//STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),colorred;
STICKLINE(平均<卖线,地狱,平均,8,0),colorgreen;
//STICKLINE(买线<卖线,最低值30,,0.1,1),colorgreen;
STICKLINE(CROSS(买线,卖线)
OR CROSS(卖线,买线),OPEN,CLOSE,2,0),colorred;