九毛八公式指标
公式模块:
求薛斯主图中股价跌破LOWERS线的选股公式
和写个股价没有跌破LOWERS线但距离LOWERS线1%内的选股公式
N:=5;N1:=30;N2:=3;P1:=15;P2:=3;
UPPERL: MA(H,N1)*(1+P1/100),colorwhite;
UPPERS: MA(H,N2)*(1+P2/100),coloryellow;
LOWERS: MA(L,N2)*(1-P2/100),COLORFF00FF;
LOWERL: MA(L,N1)*(1-P1/100),COLOR00FF00;
IF(CLOSE>OPEN)
RETURN "阳";
ELSE IF(CLOSE<OPEN)
RETURN "阴";
ELSE IF(CLOSE==OPEN AND OPEN>=CLOSE[1])
RETURN "阳";
ELSE IF(CLOSE==OPEN AND OPEN<=CLOSE[1])
RETURN "阴";
ELSE
RETURN "平";
SHGZG;
MONEY;
HIGH;
LOW;
{股价跌破LOWERS线的选股公式}
LOWERS:= MA(L,3)*(1-3/100);
XG:crOSS(LOWERS,L);
========================
{股价没有跌破LOWERS线但距离LOWERS线1%内}
LOWERS:= MA(L,3)*(1-3/100);
XG:O>C AND (C-LOWERS)/LOWERS<0.01 AND C>LOWERS;