源码
{N(1,1000,30)}
Var1:=EMA((CLOSE+LOW+OPEN+HIGH)/4,3);
STICKLINE(Var1>=REF(Var1,1) ,OPEN,CLOSE,7,0), , ;
STICKLINE(Var1>=REF(Var1,1) AND CLOSE<=OPEN ,OPEN,CLOSE,7,0);
STICKLINE(Var1<=REF(Var1,1) AND CLOSE>OPEN ,OPEN,CLOSE,7,1);
STICKLINE(Var1<=REF(Var1,1) AND CLOSE<=OPEN ,OPEN,CLOSE,7,0);
B1:FORCAST(Var1,5);
B2:FORCAST(Var1,N);
B:FORCAST((CLOSE+LOW+OPEN+HIGH)/4,3);
B3:FORCAST((CLOSE+LOW+OPEN+HIGH)/4,150);
A2: EMA((CLOSE+LOW+OPEN+HIGH)/4,120);