主力控盘大涨股票趋势线指标源码
股票中,要做到顺势而为,首先就要掌握好趋势线的应用。趋势线属于对股指图表进行技术分析的一个方法。今天小编整理了主力控盘大涨股票趋势线指标源码供大家参考,一起来看看吧!
主力控盘大涨股票趋势线指标源码
股票趋势线:=EMA(EMA(CLOSE,9),9);
趋势线指标:=(股票趋势线-REF(股票趋势线,1))/REF(股票趋势线,1)×500;
STICKLINE(趋势线指标<0,趋势线指标,0,0.99,0),COLOR00FF00;
A10:=CROSS(趋势线指标,0);
vvseee1:=IF(A10,5,0);
STICKLINE(趋势线指标>REF(趋势线指标,1) AND 趋势线指标>0,趋势线指标,0,0.99,0),COLORRED;
vvseee2:IF(趋势线指标>REF(趋势线指标,1) AND 趋势线指标>0,趋势线指标,0),COLORRED,NODRAW;
vvseee3:=100×WINNER(CLOSE×0.95);
STICKLINE(vvseee3>50 AND COST(85)<CLOSE AND 趋势线指标>0,趋势线指标,0,0.99,0),COLORFF00FF;
vvseee4:=IF(vvseee3>50 AND COST(85)<CLOSE AND 趋势线指标>0,趋势线指标,0),COLORFF00FF,NODRAW;
STICKLINE(趋势线指标<REF(趋势线指标,1) AND 趋势线指标>0,趋势线指标,0,0.99,0),COLORYELLOW;
vvseee5:IF(趋势线指标<REF(趋势线指标,1) AND 趋势线指标>0,趋势线指标,0),COLOR00FF00,NODRAW;
vvseee6:IF(趋势线指标<0,趋势线指标,0),COLOR00FF00,NODRAW;
ffeee1:=vvseee2+vvseee5;
ffeee2:=-vvseee6;
s__dd1:(SUM(ffeee1,0)-SUM(ffeee2,0))/20,COLORRED;
s__dd2:MA(s__dd1,40);
DRAWTEXT(s__dd1>0.5 AND REF(s__dd1,1)<=0.5,s__dd1,''),COLORWHITE;
DRAWTEXT(s__dd1>0.5 AND REF(s__dd1,1)<=0.5,s__dd1+0.3,''),COLORWHITE;
__eed1:=HHV(H,240);
__eed2:=HHV(C,240);
DRAWTEXT(s__dd1>0.5 AND C=__eed1 AND REF(__eed2,1)>REF(C,1)AND C>REF(C,1)AND(vvseee2+vvseee5)>0.15,s__dd1,''),COLORWHITE;
DRAWTEXT(s__dd1<-0.5 AND REF(s__dd1,1)>=-0.5,s__dd1,''),COLORGREEN;
DRAWTEXT(s__dd1<-0.5 AND REF(s__dd1,1)>=-0.5,s__dd1-0.3,''),COLORWHITE;
sfee:=LLV(C,240);
DRAWTEXT(s__dd1>0.5 AND C=sfee AND REF(sfee,1)<REF(C,1)AND C<REF(C,1)AND vvseee6<-0.15,s__dd1,''),COLORGREEN;
fffee1:0.5,COLORBROWN;
fffee2:-0.5,COLORBROWN;
主力操盘版筛选股票的五大指标公式源码
筛选股票的:=CLOSE;
B:=(MA(筛选股票的,3)+MA(筛选股票的,6)+MA(筛选股票的,12)+MA(筛选股票的,24))/4;
五大指标:B+3×STD(B,8);
vveee1:B-3×STD(B,8);
vveee2:MA((MA(CLOSE,2)+MA(CLOSE,3)+MA(CLOSE,4))/3,2),COLORRED LINETHICK2;
AA:=HHV(vveee2,10);
vveee3:=MA(CLOSE,3);
vveee4:=MA(CLOSE,5);
vveee5:=EMA(CLOSE,3);
vveee6:(EMA((SLOPE(CLOSE,22))×(20)+CLOSE,55)),LINETHICK2,COLORFFFFFF;
IF(vveee2<REF(vveee2,1),vveee2,DRAWNULL),COLORGREEN, LINETHICK2;
IF(vveee5>vveee6,vveee6,DRAWNULL),LINETHICK4,COLORRED;
IF(vveee6>REF(vveee6,1),vveee6,DRAWNULL),LINETHICK4,COLORRED;
STICKLINE((vveee5<vveee6),vveee5,vveee6,0,1),COLORGREEN;
牛股专版股票短中长找趋势指标
股票短中长找:EMA(C,13),COLOR0000FF;
趋势指标:EMA(C,20),COLORFF00FF;
vsdse1:IF(股票短中长找>REF(股票短中长找,1),股票短中长找,DRAWNULL),COLORRED,LINETHICK2;
vsdse2:IF(股票短中长找<=REF(股票短中长找,1),股票短中长找,DRAWNULL),COLORBLUE,LINETHICK2;
vsdse3:IF(趋势指标>REF(趋势指标,1),趋势指标,DRAWNULL),COLORFF00FF,LINETHICK2;
vsdse4:IF(趋势指标<REF(趋势指标,1),趋势指标,DRAWNULL),COLORFFAA00,LINETHICK2;
STICKLINE(C>股票短中长找,H,L,0,0),COLORRED;
STICKLINE(C>股票短中长找,C,O,-1,1),COLORRED;
STICKLINE(C=股票短中长找,H,L,0,0),COLORFFFFFF;
STICKLINE(C<股票短中长找,H,L,0,0),COLOR00FFFF;
STICKLINE(C<股票短中长找,O,C,-1,1),COLOR00FFFF;
STICKLINE(C<趋势指标,O,C,-1,1),COLORFFFF00;
STICKLINE(C<趋势指标,H,L,0,0),COLORCYAN;
DRAWTEXT(CROSS(C,股票短中长找),L,''),COLOR00FFFF;
DRAWTEXT(CROSS(C,趋势指标),L×0.99,''),COLORFFFF00;
DRAWTEXT(CROSS(股票短中长找,C),H,''),COLOR00FFFF;
DRAWTEXT(CROSS(趋势指标,C),H×1.01,''),COLORFFFF00;