副图指标(绿探底震仓)选股指标
2019/12/3 19:21:01
公式编写说明:
请老师帮忙改一个副图指标(绿线探底震)的选股指标,在红线上穿绿线金叉时开始预警。谢谢!!!上个图共老师参考。VAR1:=(CLOSE+HIGH+LOW)/3;VAR2:=EMA(VAR1,10);VAR3:=REF(VAR2,1);绿探底震仓:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;蓝卖: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;上穿买:SMA(RSV,3,1),COLORRED;下穿卖:SMA(上穿买,3,1),COLORFFFF00;DRAWICON(CROSS(上穿买,下穿卖),L,11),LINETHICK2;DRAWICON(CROSS(下穿卖,上穿买),L,15),LINETHICK2;
公式源码回答:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿买:=SMA(RSV,3,1);
下穿卖:=SMA(上穿买,3,1);
XG:CROSS(上穿买,下穿卖);
投股票 网 www.tou18.c n
股市公式下载推荐