极低点指标,寻找周期内低点,把握介入时机
原理解析:
买赋值:收盘价的1日简单移动平均
卖赋值:(最低价+最高价+收盘价)/3
卖1赋值: 卖的5日简单移动平均
买卖赋值:10日内卖1的最低值
买入1赋值:5日内(买1.03 OR 收盘价>1.03*1日前的收盘价)
部队赋值:如果VAR2NANDVAR3N,返回10,否则返回0,画黄色,线宽为2
输出强:80,画深灰色,NODRAW
输出中:40,画深灰色,NODRAW
输出中2:60,画深灰色,NODRAW
输出弱:20,画深灰色,NODRAW
输出弱1:10,画深灰色,NODRAW
地赋值:-10,画绿色,NODRAW
源码:
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
卖1:= MA(卖,5);买卖:=LLV(卖1,10);
买入1:=LLV((买O AND (C/O>1.03 OR C>1.03*REF(C,1));部队:=IF(VAR2N AND VAR3N,10,0),COLORYELLOW,LINETHICK2;
强:80,COLORGRAY,NODRAW;
中:40,COLORGRAY,NODRAW;
中2:60,COLORGRAY,NODRAW;
弱:20,COLORGRAY,NODRAW;
弱1:10,COLORGRAY,NODRAW;
地:=-10,COLORGREEN,NODRAW;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;