N:=5;P:=13;
v1:ema(close,5);
v2:ema(ema(close,29)*1.01,10);
DRAWICON(cross(v1,v2),v2,1);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
跑了不悔:if(CROSS(84,RSI),HIGH,high+1),pointdot,linethick7,COLORYELLOW;
high+1,pointdot,linethick7,COLOR000000;
布林上:MA(CLOSE,N),LINETHICK3;
布林中:布林上+P*STddeV(CLOSE,N),LINETHICK3;
布林下:布林上-P*STDDEV(CLOSE,N),LINETHICK3;