sar副图指标公式源码
原理解析:
CXH赋值:STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1))
输出WARNING('',CURRENTTIME>180000 AND (CXH=1 OR CXH=6))
DRAWTEXTREL(10 ,10 ,'指标公式')
源码:
input:N1(5,1,100),N2(8,1,100),N3(13,1,100),N4(21,1,100);
BBI:((((MA(C,5)) + (MA(C,8))) + (MA(C,13))) + (MA(C,21))) / 4,linethick2,colorGreen;
1.42 * BBI;
1.382 * BBI;
1.236 * BBI;
1.15 * BBI;1.1 * BBI;1.06 * BBI;1.035 * BBI;0.962 * BBI;0.93 * BBI;0.89 * BBI;0.85 * BBI;
{类型: ->其它}{2015年12月31号}{------------------ ------------------};C
XH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');