分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]【舍】指标名称:CCI主图+宝塔线(源码-贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2012-07-08 02:31:42
软件简介:

{CCI主图+宝塔线}
 
PMA:=MA(C,5),COLORWHITE,LINETHICK1,pointdot; 
{PARTLINE(PMA>REF(PMA,1),PMA),COLORRED,LINETHICK2; 
PARTLINE(PMA<REF(PMA,1),PMA),COLORGREEN,LINETHICK2;} 
X:=(3*C+L+O+H)/6; 
多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) 
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) 
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ 
REF(X,20))/210,COLORFF00FF,LINETHICK1,pointdot; 
DD:=多空线<REF(多空线,1); 
{PARTLINE(DD,多空线),COLOR00FFFF,LINETHICK2;} 
上升趋势:PMA>多空线,linethick0; 
{IF(Aa,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;} 
STICKLINE(上升趋势,PMA,多空线,3,1),COLORff00ff; 
{FILLRGN(Aa,PMA,多空线),COLORffff00;} 
drawtext(cross(pma,多空线),h*1.003,'见红买'); 
TY:=C; 
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); 
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); 
A:=REF(C,BARSLAST(HD)); B:=REF(L,BARSLAST(LD)); 
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; 
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 
顶:IF(T1,A,A),COLORYELLOW,POINTDOT; 
底:IF(T2,B,B),COLORGREEN,POINTDOT; 
最新价:c,linethick0; 
TYP := (HIGH + LOW + CLOSE)/3; 
CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6)); 
差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0; 
CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10)); 
差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)); 
差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0; 
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30)); 
差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0; 
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60)); 
差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0; 
CCI:=CCI1+CCI2+CCI3+CCI4+CCI5; 
AAA:=(3*C+H+L+O)/6; 
VAR111:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36; 
VAR21:=(HHV(VAR111,5)+HHV(VAR111,10)+HHV(VAR111,20))/3; 
VAR31:(LLV(VAR111,5)+LLV(VAR111,10)+LLV(VAR111,20))/3; 
VAR41:(HHV(VAR21,5)+HHV(VAR21,10)+HHV(VAR21,20))/3,linethick2,colorffff00; 
VAR51:(LLV(VAR31,5)+LLV(VAR31,10)+LLV(VAR31,20))/3; 
VAR61:=(LLV(VAR111,2)+LLV(VAR111,4)+LLV(VAR111,6))/3; 
短线:VAR111,COLORWHITE,linethick2; 
中线:VAR61,COLORYELLOW,linethick2; 
PARTLINE(VAR111=VAR61,VAR61),COLORGREEN,linethick2; 
PARTLINE(VAR111=VAR41,VAR111),COLORREd,linethick2;   
PARTLINE(VAR111<VAR41 and VAR111>VAR61 and VAR111>ref(VAR111,1),VAR111),COLORff00ff,linethick2;   
PARTLINE(VAR111=VAR61 and VAR111=VAR31,VAR111),COLOR00ab00,linethick2;   
PARTLINE(VAR111=VAR61 and VAR111=VAR31 and VAR111=VAR51,VAR111),COLORff4b00,linethick2; 
变红:VAR111=VAR41 and ref(VAR111,1)<ref(VAR41,1),linethick0; 
红线:VAR111=VAR41,linethick0; 
探底反弹:ref(VAR111,1)=ref(VAR61,1) and ref(VAR111,1)=ref(VAR31,1) and ref(VAR111,1)=ref(VAR51,1)
 
and VAR111>VAR51 and  VAR111>VAR31 and VAR111>VAR61,linethick0; 
反弹: ref(VAR111,1)=ref(VAR61,1) and VAR111>VAR61,linethick0,colorffff00;
 
{用法:黄托底买进,绿压顶卖出。}
 
var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); 
var2:=REF(var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var3:=REF(var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var4:=REF(var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var5:=REF(var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var6:=REF(var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var7:=REF(var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var8:=REF(var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var9:=REF(var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
varA:=REF(var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
varB:=REF(varA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
varC:=REF(varB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
STICKLINE(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR var8 OR var9 OR varA OR varB OR varC,CLOSE,REF(CLOSE,1),6,1),COLORRED;{红1} 
varD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); 
varE:=REF(varD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
varF:=REF(varE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var10:=REF(varF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var11:=REF(var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var12:=REF(var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var13:=REF(var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var14:=REF(var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var15:=REF(var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var16:=REF(var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
var17:=REF(var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); 
var18:=REF(var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); 
STICKLINE(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR var14 OR var15 OR var16 OR var17 OR var18,CLOSE,REF(CLOSE,1),6,0),COLORFFCC66; 
var19:=REF(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR var14 OR var15 OR var16 OR var17 OR var18,1) AND var1; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,1),COLORYELLOW; 
var1A:=REF(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR var8 OR var9 OR varA OR varB OR varC,1) AND varD; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,2),Color00ff00; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00ffff; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00c8ff; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ecff; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ffff; 
STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10f0ff; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00d900; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR93ffd1; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR93ff22; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR24ff22; 
STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090ff2; 
aaa:=Close > Ref(Close, 1) and Ref(Close, 1) > Ref(Close, 2) and Ref(Close, 1) < Ref(Close, 3) and If(Ref(Close, 3) < Ref(Close, 4), 1, If(Ref(Close, 4) < Ref(Close, 5),Ref(Close, 1) < Ref(Close, 4) or( Ref(Close, 2) < Ref(Close, 4) and Ref(Close, 3) >= Ref(Close, 5) ),If(Ref(Close, 5) < Ref(Close, 6), 1,Ref(Close, 6) < Ref(Close, 7)))); 
bbb:=Close < Ref(Close, 1) and Ref(Close, 1) < Ref(Close, 2) and Ref(Close, 1) > Ref(Close, 3) and If(Ref(Close, 3) > Ref(Close, 4), 1, If(Ref(Close, 4) > Ref(Close, 5),Ref(Close, 1) > Ref(Close, 4) or( Ref(Close, 2) > Ref(Close, 4) and Ref(Close, 3) <
[url=http://www.70822.com/soft/sort013/sort02/down-50451.html]【舍】指标名称:CCI主图+宝塔线(源码-贴图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒