同花顺吴俊华范二源码附图
-
相关简介:自用的指标,供大家参考。 上线:=SMA(C,3.5,1); 下线:=SMA(C,6.5,1); 上线1:=SMA(C,3,1); 下线1:=SMA(C,8,1); A7:=(2*C+H+L)/4; 操作:=MA(A7,5),LINETHICK2; 操作1:=MA(A7,5)*1.03,LINETHICK2; 操作2:=MA(A7,5)*0.97,LINETHICK2; VAR1:=LLV(A7,21); VAR2:=HHV(A7,21); 趋势:EMA(SLOPE(C,21)*20+C,90)
-
文章来源:股海网作者:股海网发布时间:2015-01-01浏览次数:
自用的指标,供大家参考。
上线:=SMA(C,3.5,1);
下线:=SMA(C,6.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
A7:=(2*C+H+L)/4;
操作:=MA(A7,5),LINETHICK2;
操作1:=MA(A7,5)*1.03,LINETHICK2;
操作2:=MA(A7,5)*0.97,LINETHICK2;
VAR1:=LLV(A7,21);
VAR2:=HHV(A7,21);
趋势:EMA(SLOPE(C,21)*20+C,90);
买卖差:=操作-趋势;
STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,LINETHICK3;
STICKLINE(下线>上线,上线,下线,2.5,0),coloryellow,LINETHICK3;
DRAWTEXT( CROSS(上线,下线) AND (CLOSE/OPEN>1.04),LOW *0.95,'买' ),COLOR00FF00;
DRAWTEXT(CROSS(下线1,上线1),H*1.10,'清仓'),coloryellow;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13),LINETHICK2;
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.0,'减仓') ,COLORFF9966,LINETHICK2;
STICKLINE(买卖差>=0,(操作-买卖差*0.2),(操作-买卖差*0.35),1,0) ,COLORF00FF0;
STICKLINE(买卖差>=0,(操作-买卖差*0.4),(操作-买卖差*0.45),1,0) ,COLORF00FF0;
STICKLINE(买卖差>=0,(操作-买卖差*0.6),(操作-买卖差*0.55),1.5,0) ,COLORF00FF0;
STICKLINE(买卖差>=0,(操作-买卖差*0.8),(操作-买卖差*0.75),5,0) ,COLORF00FF0;
STICKLINE(买卖差<0,(趋势+买卖差*0.05),(趋势+买卖差*0.15),5,0) ,COLOR66FF11;
STICKLINE(买卖差<0,(趋势+买卖差*0.2),(趋势+买卖差*0.35),1,0) ,COLOR66FF00;
STICKLINE(买卖差<0,(趋势+买卖差*0.4),(趋势+买卖差*0.45),1,0) ,COLOR66FF00;
STICKLINE(买卖差<0,(趋势+买卖差*0.6),(趋势+买卖差*0.55),1.5,0) ,COLOR66FF00;
STICKLINE(买卖差<0,(趋势+买卖差*0.8),(趋势+买卖差*0.75),1,0) ,COLOR66FF00;
均线3:=MA(CLOSE,30),LINETHICK1;
均线2:=MA(CLOSE,20),LINETHICK0;
均线6:=MA(CLOSE,60);
均线12:=MA(CLOSE,120),colorblue,LINETHICK1;
均线九九归一84:MA(CLOSE,84),LINETHICK0;
{买线:=MA(CLOSE,4);}
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT (BU,LOW*0.989,'▲'),coloryellow,LINETHICK3;
DRAWTEXT(SEL,HIGH*1.0175,'▼'),COLORFFFFFF,LINETHICK3;
STICKLINE(买线>=卖线,LOW,HIGH,0,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORBBBB00;
STICKLINE(买线<卖线,LOW,HIGH,0,1),COLORFFFF00;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),coloryellow;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,3,0),colormagenta;