天下无敌请老师改成天下无敌<0的选股公式
2020/4/27 18:57:03
公式编写说明:
VAR1:=REF((L+O+C+H)/4,1); VAR2:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR3:=EMA(VAR2,10);VAR4:=HHV(H,33);VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*-1;VAR6:=SMA(ABS(VAR1-L),10,1)/SMA(MIN(VAR1-L,0),5,1); VAR7:=EMA(VAR6,5);VAR8:=LLV(L,3);VAR9:=EMA(IF(L>=VAR8,VAR7,0),3)*-1;挖坑:-(IF(VAR9>REF(VAR9,1),VAR9,0)),COLORWHITE{COLORFF9933},LINETHICK0;进场:IF(VAR9<REF(VAR9,1),VAR9,0),COLORRED,LINETHICK0;0;STICKLINE(挖坑<=0,挖坑,0,0.0001,0),COLORBLUE;STICKLINE(进场>=0,进场,0,0.0001,0),COLORYELLOW;DRAWICON(CROSS(挖坑,-001),0,9);天下无敌:CROSS(挖坑,-001),COLORLIMAGENTA;
公式源码回答:
VAR1:=REF((L+O+C+H)/4,1);
VAR2:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=HHV(H,33);
VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*-1;
VAR6:=SMA(ABS(VAR1-L),10,1)/SMA(MIN(VAR1-L,0),5,1);
VAR7:=EMA(VAR6,5);
VAR8:=LLV(L,3);
VAR9:=EMA(IF(L>=VAR8,VAR7,0),3)*-1;
挖坑:-(IF(VAR9>REF(VAR9,1),VAR9,0))<0;
投 股票网 www.to u18.cn
股市公式下载推荐