手机端
当前位置:爱约股 > 公式技巧 > 把RSI金叉预警在主图上做一个五角星标记

把RSI金叉预警在主图上做一个五角星标记

意思是出来预警后在主图K线上标记一颗五角星 谢谢老师了 下面是预警公式 LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; CROSS(RSI3,RSI1);

爱约股解答:

 

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

DRAWTEXT(CROSS(RSI3,RSI1),C*0.96,'★'),COLORRED,ALIGN0,LAYER0;

TAG:
分享至:

相关推荐