奶牛1:=EMA(C,3),COLORWHITE;
奶牛2:=EMA(C,5),COLORYELLOW;
奶牛3:=EMA(C,7),COLORBROWN;
奶牛4:=EMA(C,12),COLORLIGREEN;
奶牛5:=EMA(C,20),COLORRED;
{ 概念股网_最新股票指标公式}
SS:=CROSS(奶牛1,奶牛2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛2,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(奶牛1,奶牛4);
DRAWICON(SS,L-0.04,5);
DD:=CROSS(奶牛2,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛2,奶牛5) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛3,奶牛4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛2,奶牛4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(奶牛1,奶牛5);
选股公式:
奶牛1:=EMA(C,3);
奶牛2:=EMA(C,5);
奶牛3:=EMA(C,7);
奶牛4:=EMA(C,12);
CROSS(奶牛1,奶牛2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛2,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(奶牛1,奶牛3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(奶牛1,奶牛4);