《神奇线》指标中“神奇线”出现时的选股公式
2020/2/17 18:49:12
公式编写说明:
神奇线XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);奇线: MA((CLOSE-XX2)/XX2,1),COLOR00FF00;买点1: IF(CROSS(奇线,0) AND LOW/REF(HIGH,1)<1.012,0.5,0), STICK,COLORWHITE;买点2: IF(REF(奇线,2)=LLV(奇线,20) AND REF(奇线,2)<0.071 AND REF(奇线,2)<REF(奇线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),0.5,0),COLORRED;DRAWTEXT( 买点1>0,0.2 ,'神奇线'),COLORWHITE;DRAWTEXT( 买点2>0,0.4 ,'神奇线 '),COLORYELLOW;神奇线XG:买点1>0;
公式源码回答:
XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
奇线:=MA((CLOSE-XX2)/XX2,1);
买点1:=IF(CROSS(奇线,0) AND LOW/REF(HIGH,1)<1.012,0.5,0);
买点2:=IF(REF(奇线,2)=LLV(奇线,20) AND REF(奇线,2)<0.071 AND REF(奇线,2)<REF(奇线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),0.5,0);
神奇线:买点1>0 OR 买点2>0;
投股票 网 ww w.tou18.cn
股市公式下载推荐