N:=5; M:=10;
LC:=REF((O+H+L+2*C)/5,1);
RSI:SMA(MAX(C-LC,0),N,1)/SMA(ABS(C-LC),N,1)*10;
安全度:SMA(MAX(C-LC,0),M,1)/SMA(ABS(C-LC),M,1)*10,COLORFF00FF;
超买:8,colorred,POINTDOT;
牛市:7.5,COLOR00FFFF;
平衡:5,colorwhite,POINTDOT;
熊市:2.5,colorliblue;
超卖:2,COLOR00FF00,POINTDOT;
关注头肩M顶:RSI,colorwhite,NODRAW;
IF(RSI>8,RSI,DRAWNULL),colorred;
IF(RSI<=2,RSI,DRAWNULL),COLOR00FF00;
IF(安全度>8,安全度,DRAWNULL),colorred;
IF(安全度<=2,安全度,DRAWNULL),COLOR00FF00;
|
