大智慧生命建仓主图指标
-
相关简介:大智慧生命建仓主图指标 源码 {生命线下建仓} DRAWGBKLAST(c0,STRIP(RGB(35,200,180),RGB(20,20,10),0)); 生命线:MA(CLOSE,26),COLORRED,LINETHICK2,PRECIS2; 多头线:EMA(C,1.5),COLORYELLOW,PRECIS2; 空头线:EMA(C,5),COLOR00FF00,PRECIS2; 均衡线:EMA(空头线,5),COLORWHITE,PRECIS2; F1:=COUNT(CROSS(多头线
-
文章来源:股海网作者:股海网发布时间:2016-03-11浏览次数:
大智慧生命建仓主图指标
源码
{生命线下建仓}
DRAWGBKLAST(c>0,STRIP(RGB(35,200,180),RGB(20,20,10),0));
生命线:MA(CLOSE,26),COLORRED,LINETHICK2,PRECIS2;
多头线:EMA(C,1.5),COLORYELLOW,PRECIS2;
空头线:EMA(C,5),COLOR00FF00,PRECIS2;
均衡线:EMA(空头线,5),COLORWHITE,PRECIS2;
F1:=COUNT(CROSS(多头线,均衡线),2)=1;
F2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(F1 AND F2,2);
DRAWTEXT(ZAI,均衡线*0.95,'拉↑升'),color00ff00,ALIGN1;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR1,MA(VAR2,6)),(LOW * 0.98),7),ALIGN1;
DRAWICON(CROSS(MA(VAR2,6),VAR1),(HIGH * 1.03),8),ALIGN1;
DRAWTEXT(CROSS(VAR1,MA(VAR2,6)),(LOW * 0.94),'买 '),color4440FF,ALIGN1;
DRAWTEXT(CROSS(MA(VAR2,6),VAR1),(HIGH * 1.05),'卖 '),colorFFFF34,ALIGN1;
Var3:=EMA(C,5);
Var4:=EMA(C,10);
Var5:=EMA(C,20);
Var6:=EMA(C,30);
Var7:=(Var3+Var4+Var5+Var6)/4;
Var8:=(Var7-REF(Var7,15))/REF(Var7,15)*100;
Var9:=EMA(Var8,8);
红强势:STICKLINE(C>=生命线 AND C>=O,C,O,7,0),COLOR0000ff,LAYER1;
STICKLINE(C>=生命线 AND C>=O,H,L,0.5,0),COLOR0000ff,LAYER1;
蓝下跌:STICKLINE(Var8<1*REF(Var8,1),o,c,5,0),COLORffff00;
STICKLINE(Var8<1*REF(Var8,1),h,l,0.5,0),COLORffff00;
紫调整:STICKLINE(Var8>1*REF(Var8,1),o,c,5,0),COLORc8009f;
STICKLINE(Var8>1*REF(Var8,1),h,l,0.5,0),COLORc8009f;
绿见顶:STICKLINE(Var8<1*REF(Var8,1) AND Var9>1*REF(Var9,1),o,c,5,0),COLOR00ff00;
STICKLINE(Var8<1*REF(Var8,1) AND Var9>1*REF(Var9,1),h,l,0.5,0),COLOR00ff00;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
白买进:STICKLINE(买进条件,o,c,7,0),colorffffff,LAYER1;
STICKLINE(买进条件,h,l,0.5,0),colorffffff,LAYER1;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
黄加仓:STICKLINE(加码条件,o,c,7,0),color00ffff,LAYER1;
STICKLINE(加码条件,h,l,0.5,0),color00ffff,LAYER1;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,7,1),COLOR0000ff,LAYER1;
STICKLINE(ZDF<-9.8,O,C,7,1),COLOR00ff00,LAYER1;
上一篇:大智慧生命量能副图指标
下一篇:大智慧神奇线副图指标