把副图指标在一定范围时2线交叉给个选股信号
2020/2/18 18:38:01
公式编写说明:
如题,两线在45-55时给个选股信号(紫线上穿白线},谢谢!在线等!副图:LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,,COLORMAGENTA,LINETHICK2;压力: HHV(MA(RSI,3),13),COLORGREEN;支撑:LLV(MA(RSI,3),13),COLORYELLOW;TYP := (HIGH + LOW + CLOSE)/3;V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);MFI:100-(100/(1+V1)),COLORWHITE,LINETHICK2;
公式源码回答:
算了还是改好给你。
LC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
MFI:=100-(100/(1+V1));
cross(rsi,mfi) and between(rsi,45,55);
投股票 网 www.tou18.c n
股市公式下载推荐