飞狐精品指标-操盘线
-
相关简介:{02-操盘线} 买线:=EMA(CLOSE,2); 卖线:=EMA(SLOPE(CLOSE,24)*20+CLOSE,72); BUY:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(CROSS(买线,卖线),LOW*0.992,'B'),colorFF; DRAWTEXT(CROSS(卖线,买线),HIGH*1.013,'S'),colorFF00; STICKLINE(买线=卖线,LOW,HIGH,1,0),colorFF; STICKLINE(买线=
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
{02-操盘线}
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,24)*20+CLOSE,72);
BUY:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(CROSS(买线,卖线),LOW*0.992,'B'),colorFF;
DRAWTEXT(CROSS(卖线,买线),HIGH*1.013,'S'),colorFF00;
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorFF;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),colorAA;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),colorCC;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),colorDD;
STICKLINE(买线>=卖线,CLOSE,OPEN,1,0),colorFF;
STICKLINE(买线<卖线,CLOSE,OPEN,1,0),colorEEEE00;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),colorDDDD00;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorCCCC00;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),colorFF00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),color33FF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,5,0),colorFFFF;
{03-智能波段}
多空标准:="MASS.A";
STICKLINE(CLOSE>=多空标准,HIGH,LOW,0.1,1),colorFF;
STICKLINE(CLOSE>=多空标准,CLOSE,OPEN,8,1),colorFF;
STICKLINE(CLOSE>=多空标准 AND CLOSE<OPEN,CLOSE*1.001,OPEN*0.999,7,0),colorFFFF00;
STICKLINE(CLOSE<多空标准,HIGH,LOW,0.1,0),colorFFFF00;
STICKLINE(CLOSE<多空标准,CLOSE,OPEN,8,1),colorFFFF00;
STICKLINE(CLOSE<多空标准 AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorFFFF00;
MA3:="MASS.A";
MA5:="MASS.B";
G:=IF(HIGH=HHV(HIGH,3),1,0);
D:=IF(LOW=LLV(LOW,3),1,0);
S:=IF(REF(G,2)=1 AND REF(G,1)=0 AND G=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(G,2)=1 AND REF(G,1)=0 AND G=0)));
X:=IF(REF(D,2)=1 AND REF(D,1)=0 AND D=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(D,2)=1 AND REF(D,1)=0 AND D=0)));
压力:=IF(HIGH>=MA(CLOSE,1),S,REF(S,BARSLAST(HIGH>MA(CLOSE,1))));
支撑:=IF(LOW<=MA(CLOSE,5),X,REF(X,BARSLAST(LOW<=MA(CLOSE,5))));
多空:="MASS.A";
C1:=REF(CLOSE,1)<=压力 AND CLOSE>压力;
C2:=REF(CLOSE,1)>=支撑 AND CLOSE<支撑;
K3:=BARSLAST(C1)*MA3/MA5;
K4:=BARSLAST(C2)*MA3/MA5;
K0:=K3<K4;
标准:=IF(K3>K4,HHV(压力,BARSLAST(C1)),LLV(支撑,BARSLAST(C2)));
买入:="CMFB.中期调整";
卖出:="CMFB.中线洗盘";
加仓:="CMFB.短期调整";
年线:=EMA(CLOSE,250);
牛熊分界:=年线-(EMA(CLOSE,15)-年线);
A:=CLOSE>=多空 AND CLOSE>=牛熊分界 AND K3<K4;
DRAWICON(CROSS(K4,K3) AND MA3=MA5 AND COUNT(CROSS(K4,K3),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(K4,K3) AND MA3=MA5 AND COUNT(CROSS(K4,K3),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(K4,K3) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(K4,K3) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,多空) AND MA3=MA5 AND COUNT(CROSS(CLOSE,多空),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND K3<K4,LOW,1);
DRAWTEXT(CROSS(CLOSE,多空) AND MA3=MA5 AND COUNT(CROSS(CLOSE,多空),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND K3<K4,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,多空) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND K3<K4,LOW,1);
DRAWTEXT(CROSS(CLOSE,多空) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND K3<K4,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND COUNT(CROSS(CLOSE,牛熊分界),BARSLAST(加仓))=1 AND K3<K4 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND COUNT(CROSS(CLOSE,牛熊分界),BARSLAST(加仓))=1 AND K3<K4 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND 加仓 AND K3<K4 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND 加仓 AND K3<K4 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(A AND MA3=MA5 AND COUNT(A,BARSLAST(加仓 AND CLOSE<牛熊分界))=1,LOW,1);
DRAWTEXT(A AND MA3=MA5 AND COUNT(A,BARSLAST(加仓 AND CLOSE<牛熊分界))=1,LOW,' ←买入'),colorFFFFFF;
A:=MA(CLOSE,14)*MA3/MA5;
加速上轨:=A*1.1;
超跌轨:=A*0.9;
加速下轨:=加速上轨-(加速上轨-超跌轨)*0.191;
趋势轨:=加速上轨-(加速上轨-超跌轨)*0.618;
出货C:=CROSS(多空,CLOSE) AND COUNT(CROSS(多空,CLOSE),BARSLAST(卖出))=1 AND CLOSE>=牛熊分界 OR CROSS(多空,CLOSE) AND 卖出 AND CLOSE>=牛熊分界;
出货D:=卖出 AND COUNT(卖出,BARSLAST(出货C))=1 AND CLOSE>=牛熊分界 AND CLOSE<多空;
DRAWICON(出货C AND CLOSE>=趋势轨,HIGH*1.01,2);
DRAWTEXT(出货C AND CLOSE>=趋势轨 AND COUNT(出货C,BARSLAST(CLOSE>=牛熊分界 AND CLOSE>=多空 AND K3<K4))=1,HIGH,' ←卖出'),colorFFFFFF;
DRAWICON(出货C AND CLOSE<趋势轨,HIGH*1.01,2);
DRAWTEXT(出货C AND CLOSE<趋势轨 AND COUNT(出货C,BARSLAST(CLOSE>=牛熊分界 AND CLOSE>=多空 AND K3<K4))=1,HIGH,' ←减仓'),colorFFFFFF;
DRAWICON(出货D,HIGH*1.03,2);
DRAWTEXT(出货D,HIGH*1.03,' ←反弹减仓'),colorFFFFFF;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,24)*20+CLOSE,72);
BUY:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(CROSS(买线,卖线),LOW*0.992,'B'),colorFF;
DRAWTEXT(CROSS(卖线,买线),HIGH*1.013,'S'),colorFF00;
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorFF;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),colorAA;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),colorCC;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),colorDD;
STICKLINE(买线>=卖线,CLOSE,OPEN,1,0),colorFF;
STICKLINE(买线<卖线,CLOSE,OPEN,1,0),colorEEEE00;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),colorDDDD00;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorCCCC00;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),colorFF00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),color33FF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,5,0),colorFFFF;
{03-智能波段}
多空标准:="MASS.A";
STICKLINE(CLOSE>=多空标准,HIGH,LOW,0.1,1),colorFF;
STICKLINE(CLOSE>=多空标准,CLOSE,OPEN,8,1),colorFF;
STICKLINE(CLOSE>=多空标准 AND CLOSE<OPEN,CLOSE*1.001,OPEN*0.999,7,0),colorFFFF00;
STICKLINE(CLOSE<多空标准,HIGH,LOW,0.1,0),colorFFFF00;
STICKLINE(CLOSE<多空标准,CLOSE,OPEN,8,1),colorFFFF00;
STICKLINE(CLOSE<多空标准 AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorFFFF00;
MA3:="MASS.A";
MA5:="MASS.B";
G:=IF(HIGH=HHV(HIGH,3),1,0);
D:=IF(LOW=LLV(LOW,3),1,0);
S:=IF(REF(G,2)=1 AND REF(G,1)=0 AND G=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(G,2)=1 AND REF(G,1)=0 AND G=0)));
X:=IF(REF(D,2)=1 AND REF(D,1)=0 AND D=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(D,2)=1 AND REF(D,1)=0 AND D=0)));
压力:=IF(HIGH>=MA(CLOSE,1),S,REF(S,BARSLAST(HIGH>MA(CLOSE,1))));
支撑:=IF(LOW<=MA(CLOSE,5),X,REF(X,BARSLAST(LOW<=MA(CLOSE,5))));
多空:="MASS.A";
C1:=REF(CLOSE,1)<=压力 AND CLOSE>压力;
C2:=REF(CLOSE,1)>=支撑 AND CLOSE<支撑;
K3:=BARSLAST(C1)*MA3/MA5;
K4:=BARSLAST(C2)*MA3/MA5;
K0:=K3<K4;
标准:=IF(K3>K4,HHV(压力,BARSLAST(C1)),LLV(支撑,BARSLAST(C2)));
买入:="CMFB.中期调整";
卖出:="CMFB.中线洗盘";
加仓:="CMFB.短期调整";
年线:=EMA(CLOSE,250);
牛熊分界:=年线-(EMA(CLOSE,15)-年线);
A:=CLOSE>=多空 AND CLOSE>=牛熊分界 AND K3<K4;
DRAWICON(CROSS(K4,K3) AND MA3=MA5 AND COUNT(CROSS(K4,K3),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(K4,K3) AND MA3=MA5 AND COUNT(CROSS(K4,K3),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(K4,K3) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(K4,K3) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,多空) AND MA3=MA5 AND COUNT(CROSS(CLOSE,多空),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND K3<K4,LOW,1);
DRAWTEXT(CROSS(CLOSE,多空) AND MA3=MA5 AND COUNT(CROSS(CLOSE,多空),BARSLAST(加仓))=1 AND CLOSE>=牛熊分界 AND K3<K4,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,多空) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND K3<K4,LOW,1);
DRAWTEXT(CROSS(CLOSE,多空) AND MA3=MA5 AND 加仓 AND CLOSE>=牛熊分界 AND K3<K4,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND COUNT(CROSS(CLOSE,牛熊分界),BARSLAST(加仓))=1 AND K3<K4 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND COUNT(CROSS(CLOSE,牛熊分界),BARSLAST(加仓))=1 AND K3<K4 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND 加仓 AND K3<K4 AND CLOSE>=多空,LOW,1);
DRAWTEXT(CROSS(CLOSE,牛熊分界) AND MA3=MA5 AND 加仓 AND K3<K4 AND CLOSE>=多空,LOW,' ←买入'),colorFFFFFF;
DRAWICON(A AND MA3=MA5 AND COUNT(A,BARSLAST(加仓 AND CLOSE<牛熊分界))=1,LOW,1);
DRAWTEXT(A AND MA3=MA5 AND COUNT(A,BARSLAST(加仓 AND CLOSE<牛熊分界))=1,LOW,' ←买入'),colorFFFFFF;
A:=MA(CLOSE,14)*MA3/MA5;
加速上轨:=A*1.1;
超跌轨:=A*0.9;
加速下轨:=加速上轨-(加速上轨-超跌轨)*0.191;
趋势轨:=加速上轨-(加速上轨-超跌轨)*0.618;
出货C:=CROSS(多空,CLOSE) AND COUNT(CROSS(多空,CLOSE),BARSLAST(卖出))=1 AND CLOSE>=牛熊分界 OR CROSS(多空,CLOSE) AND 卖出 AND CLOSE>=牛熊分界;
出货D:=卖出 AND COUNT(卖出,BARSLAST(出货C))=1 AND CLOSE>=牛熊分界 AND CLOSE<多空;
DRAWICON(出货C AND CLOSE>=趋势轨,HIGH*1.01,2);
DRAWTEXT(出货C AND CLOSE>=趋势轨 AND COUNT(出货C,BARSLAST(CLOSE>=牛熊分界 AND CLOSE>=多空 AND K3<K4))=1,HIGH,' ←卖出'),colorFFFFFF;
DRAWICON(出货C AND CLOSE<趋势轨,HIGH*1.01,2);
DRAWTEXT(出货C AND CLOSE<趋势轨 AND COUNT(出货C,BARSLAST(CLOSE>=牛熊分界 AND CLOSE>=多空 AND K3<K4))=1,HIGH,' ←减仓'),colorFFFFFF;
DRAWICON(出货D,HIGH*1.03,2);
DRAWTEXT(出货D,HIGH*1.03,' ←反弹减仓'),colorFFFFFF;
上一篇:飞狐精品指标-黄金分割
下一篇:飞狐精品指标-阴线短操