{名称:NRSI}
{描述:相对强弱指标}
{功能:图解市场顶点、低点}
{设计:XLFANCY}
{版本:2.00}
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),19,1)/SMA(ABS(CLOSE-LC),19,1)*100;
RSI:RSI1,COLORLIGRAY;
DRAWBAND(RSI1,RGB(255,128,128),RSI2,RGB(128,255,128));