九毛八公式指标
公式模块:
请老师将rsi附图指标做成预警公式 谢谢您啦~~
要求:RSI1、RSI2出现金叉时候 预警
公式源码:STICKLINE(1>0,22,20,4.5,1),COLORGREEN;
STICKLINE(2>0,78,80,4.5,1),COLORRED;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100,COLORWHITE;
RSI2:SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
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),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
crOSS(RSI1,RSI2);