日30:MA(CLOSE,30),COLORCYAN,LINETHICK1;
日60:MA(CLOSE,60),COLOR10FFFF,LINETHICK1;
周30:MA(CLOSE,150),COLOR90FF90,LINETHICK1;
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORLIGRAY ,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
DRAWTEXT(ISLASTBAR,日30,' 趋势一'),COLORCYAN;
DRAWTEXT(ISLASTBAR,日60,' 趋势二'),COLOR10FFFF;
DRAWTEXT(ISLASTBAR,周30,' 趋势三'),COLOR90FF90;
DRAWTEXT(ISLASTBAR,买入,' 下轨'),COLORLIGRAY;
DRAWTEXT(ISLASTBAR,卖出,' 上轨'),COLORGREEN;
{9m8.cn 股票软件下载网_最新股票指标公式}
DRAWTEXT(ISLASTBAR,工作线,' 回调'),COLOR9590FF;
STICKLINE(CLOSE= OPEN ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE OPEN ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE((CLOSE OPEN),OPEN,CLOSE,3,0 ),COLOR000055;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,3,0 ),COLOR990000;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,2.1,0 ),COLORCC0000;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,1.5,0 ),COLORFF4400;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,0.9,0 ),COLORFF8800;
STICKLINE((CLOSE OPEN) ,OPEN,CLOSE,0.3,0 ),COLORFFCC00;
备:=REF(买入,1) REF(C,1) REF(C,1);
好:=买入 REF(买入,5) 买入 O REF(C,1);
DRAWICON(备好,L,1);
红红:=(O =日30 =日60 =周30) =日30*1.01 =日60*1.01 =周30*1.01);
牛牛:=(O =日30 =日60 =买入) =日30*1.01 =日60*1.01 =买入*1.01);
红牛:=(O =日30 =买入 =周30) =日30*1.01 =买入*1.01 =周30*1.01);
买买:=(O =日60 =买入 =周30) =日60*1.01 =买入*1.01 =周30*1.01);
DRAWICON(红红牛牛红牛买买,L*0.99,1);
DRAWTEXT(红红牛牛红牛买买,L*0.97,'强支撑')COLORYELLOW;