通达信红牛强支撑主图指标公式
2020/4/4 18:25:53
N:=5;P1:=3;P2:=4;M:=12;
A1:=DATE <= 13181231;
工作线:(EMA(C,14)) * A1,LINETHICK2,COLOR9590FF;
日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;
{www.kanguba.com 看股吧_最新股票指标公式}
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)&&C>REF(C,1);
好:=买入>REF(买入,5)&&L<买入&&C>O&&C>REF(C,1);
DRAWICON(备||好,L,1);
红红:=(O>=日30&&O>=日60&&O>=周30)&&(L<=日30*1.01&&L<=日60*1.01&&L<=周30*1.01);
牛牛:=(O>=日30&&O>=日60&&O>=买入)&&(L<=日30*1.01&&L<=日60*1.01&&L<=买入*1.01);
红牛:=(O>=日30&&O>=买入&&O>=周30)&&(L<=日30*1.01&&L<=买入*1.01&&L<=周30*1.01);
买买:=(O>=日60&&O>=买入&&O>=周30)&&(L<=日60*1.01&&L<=买入*1.01&&L<=周30*1.01);
DRAWICON(红红||牛牛||红牛||买买,L*0.99,1);
DRAWTEXT(红红||牛牛||红牛||买买,L*0.97,'强支撑')COLORYELLOW;
看 股吧公式 www .kanguba.com
其它股票公式列表