★乾坤线★(飞狐主图源码)

2011-02-19 11:01:00来源:本站整理浏览:137

★乾坤线★(飞狐主图源码)

Var333331:=IF(YEAR>2003 AND MONTH>1, 0, 1);
Var2:=MA(CLOSE, 55)*Var1;
牛:STICKLINE(Var2-REF(Var2, 1)>0, Var2, Var2, 1, 0)*Var1,LINETHICK2, COLORRED;
熊:STICKLINE(Var2-REF(Var2, 1)<0, Var2, Var2, 1, 0)*Var1,LINETHICK2, COLORGREEN;
Var3:=EMA(CLOSE, 60);
X1:EMA(CLOSE, 8),LINETHICK2, COLORWHITE;
X2:EMA(CLOSE, 20),LINETHICK2, COLORYELLOW;
X3:EMA(X1, 20),LINETHICK2, COLORMAGENTA;
Var4:=EMA(X1, 50);
Var5:=EMA(X1, 100);
Var6:=EMA(X1, 150);
Var7:=(MA(CLOSE, 3)+MA(CLOSE, 8)+MA(CLOSE, 34))/3;
Var8:=EMA(Var7, 21);
Var9:=CLOSE*VOL;
Var10:=EMA(CLOSE, 34);
顶:EMA(EMA(HIGH, 5), 10)*1.120, CROSSDOT, COLOR889900;
底:MA(Var10*0.820, 5), CROSSDOT, COLOR889900;
中线:(顶+底)/2, POINTDOT,LINETHICK2, COLORYELLOW;
阻力:EMA(EMA(HIGH, 5), 5)*1.040, POINTDOT, COLORYELLOW;
支撑:EMA(EMA(LOW, 5), 5)*0.940, POINTDOT, COLORYELLOW;
超买上:IF(HIGH>顶, 顶+1, 顶),LINETHICK1, COLOR889900;
超卖下:IF(LOW<底, 底-1, 底),LINETHICK1, COLOR889900;
DRAWTEXT(CROSS(CLOSE, 底), 底-1, '★ ★ '), COLORGREEN;
DRAWTEXT(HIGH>顶, 顶+1, ''), COLORRED;
Var11:=HHV(HIGH, 500);
Var12:=LLV(LOW, 500);
Var13:=HHV(HIGH, 250);
Var14:=LLV(LOW, 250);
Var15:=HHV(HIGH, 125);
Var16:=LLV(LOW, 125);
Var17:=MA((Var11*0.450+Var13*0.5+Var12+Var14+Var16)/5, 35);
Var18:=MA((Var13*0.620+Var16)/2, 35);
Var19:=MA((Var13*0.75+Var16)/2, 18);
Var20:=MA((Var13*0.930+Var17*2+Var18*1.800+Var19*1.5)/4, 18);
Var21:=MA((Var11*0.950+Var17*3+Var18*2)/3, 35);
底线:Var17*Var1, CIRCLEDOT, COLORBLUE;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式