大智慧组合主图指标公式

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

大智慧组合主图指标公式

K线美化,无未来,可单独删除

STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;

STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;

STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;

{红买绿卖点显示,无未来,可单独删除}

DRAWGBK(c>=0),Color2B5516;平衡:EMA(C,20),CIRCLEDOT,COLORwhite;

STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff;

STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600;

{画线显示,带未来,正常,可单独删除}

Var1:=DATE>900101 AND DATE<2098108;

Var2:=DATE>2098106;

Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4*Var1; Var4:=IF(DATE<2098231,IF(Var3>23.16,Var3,0),0);

Var5:=Var3<10;

Var6:=Var3<2;

Var7:=Var5 OR Var6;

长期趋势: ZIG(3,19)*Var1,COLORBLUE;

短期趋势: ZIG(3,6.5)*Var1,COLORYELLOW;

{压力支撑显示,带未来,正常,可单独删除}

TY:=C;

A1:=REF(TY,10)=HHV(TY,2*10+1); vB1:=FILTER(A1,10); C1:=BACKSET(vB1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); vB2:=FILTER(A2,10); C2:=BACKSET(vB2,10+1); LD:=FILTER(C2,10); A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));

t1:=BARSLAST(HD)

t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);

压力线:IF(t1,A,A),ColorFF00FF,POINTDOT;

STICKLINE(t1,A,A,9,0),ColorFF00FF;

支撑线:IF(t2,B,B),Color80FF00,POINTDOT;

STICKLINE(t2,B,B,9,0),Color80FF00;

{BS买卖点显示,无未来,可单独删除}

a:="LTFunc5@FORLT2"; {计算BS点}

s1:="LTFunc5@LT_S1"; {s1=0,向下; s1=1,向上}

hs:="LTFunc5@LT_HS"; {短线买入机会}

ls:="LTFunc5@LT_LS"; {短线卖出机会}

p1:="LTFunc5@LT_P1"; {p1=1,显示BS,p1上穿0线,B点 ; p1下穿1线,S点}

upp:="LTFunc5@LT_UPP";{明日B点预测}

udd:="LTFunc5@LT_UDD";{明日S点预测}

drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;

drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;

drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;

drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;

{筹码成本显示,带未来,正常,可单独删除}

Zyz:=cost(99.9);

Zyx:=cost(0.1);

Zy:=(Zyz-Zyx)/50;

Zy1:=Zyz-Zy;

Zy2:=Zyz-2*Zy;

Zy3:=Zyz-3*Zy;

Zy4:=Zyz-4*Zy;

Zy5:=Zyz-5*Zy;

Zy6:=Zyz-6*Zy;

Zy7:=Zyz-7*Zy;

Zy8:=Zyz-8*Zy;

Zy9:=Zyz-9*Zy;

Zy10:=Zyz-10*Zy;

Zy11:=Zyz-11*Zy;

Zy12:=Zyz-12*Zy;

相关文档
最新文档