大智慧江恩主图指标公式,大智慧做多周期指标公式
admin888
|大智慧江恩主图指标公式,大智慧做多周期指标公式
大智慧江恩主图指标公式
input:K(1,1,3);
T := BArslAst(DISPSTATUS=1)+1;
A := DISPSTATUS=2;
HH := HHV(H, T);
LL := LLV(L, T);
HL := HH-LL;
wH := HHVBARS(H, T);
wL := LLVBARS(L, T);
KK := wH-wL;
mHL := HH-HL*0.5;
if K=1 then begin
HL191 := (HH-LL)*0.191;
HL382 := (HH-LL)*0.382;
HL618 := (HH-LL)*0.618;
HL809 := (HH-LL)*0.809;
if KK<0 then begin
a1 := HH-HL191;
a2 := HH-HL382;
a3 := HH-HL618;
a4 := HH-HL809;
end else begin
a1 := LL+HL191;
a2 := LL+HL382;
a3 := LL+HL618;
a4 := LL+HL809;
endendif k=1 then beginHL125 := (HH-LL)*0.125;
HL250:= (HH-LL)*0.25;
HL375 := (HH-LL)*0.375;
HL625 := (HH-LL)*0.625;
HL750 := (HH-LL)*0.75;
HL875 := (HH-LL)*0.875;
if kk<0 then begin
b1 := HH-HL125;
b2 := HH-HL250;
b3 := HH-HL375;
b4 := HH-HL625;
b5 := HH-HL750;
b6 := HH-HL875;
end else beginb1 := LL+HL125;
b2 := LL+HL250;
b3 := LL+HL375;
b4 := LL+HL625;
b5 := LL+HL750;
b6 := LL+HL875;
endendDRAWTEXT(A and K<>3,HH, '最高价:'+HH),ALIGN2,color00ffff;
DRAWTEXT(A and K<>3,LL, ' 最低价:'+ll),ALIGN2,VALIGN2,color00ffff;
DRAWTEXT(A and K<>3,mHL,' 中间价:'+mHL),ALIGN2,color00ffff;
{DRAWTEXT(A and K=1, a1, ' 0.191:'+NUMTOSTRN(a1,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, a2, ' 0.382:'+NUMTOSTRN(a2,2)),ALIGN0,color00ffff;
DRAWTEXT(A and K=1, a3, ' 0.618:'+NUMTOSTRN(a3,2)),ALIGN0,color00ffff;
DRAWTEXT(A and K=1, a4, ' 0.809:'+NUMTOSTRN(a4,2)),ALIGN2,color00ffff;}
DRAWTEXT(A and K=1, b1, ' 1/8:'+NUMTOSTRN(b1,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, b2, ' 1/4:'+NUMTOSTRN(b2,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, b3, ' 3/8:'+NUMTOSTRN(b3,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, b4, ' 5/8:'+NUMTOSTRN(b4,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, b5, ' 3/4:'+NUMTOSTRN(b5,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K=1, b6, ' 7/8:'+NUMTOSTRN(b6,2)),ALIGN2,color00ffff;
DRAWTEXT(A and K<>3,HH, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3,LL, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3,mHL,'????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
{DRAWTEXT(A and K=1, a1, '? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '),ALIGN2,color208FFF,linethick0;
DRAWTEXT(A and K=1, a2, '? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '),ALIGN2,color208FFF,linethick0;
DRAWTEXT(A and K=1, a3, '? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '),ALIGN2,color208FFF,linethick0;
DRAWTEXT(A and K=1, a4, '? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '),ALIGN2,color208FFF,linethick0;}
DRAWTEXT(A and K<>3, b1, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3, b2, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3, b3, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3, b4, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3, b5, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXT(A and K<>3, b6, '????????????????????????????????????????????????????????????????????????????????????????????????????'),ALIGN2,color00FF00;
DRAWTEXTAbs(50,20,'所属板块:'+BKNAME),Color00FF00;
大智慧做多周期指标公式
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:Sma(拉升力A,3,1),COLORFF00FF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;
做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;
partline(做空,做空>=REF(做空,1) ),COLORRED,LINETHICK3;
多头:IF(做空>=REF(做空,1) ,做空,0),COLORRED,LINETHICK0;
DRAWICON(做空>=REF(做空,1) AND REF(做空,1)
DRAWICON(做空<=REF(做空,1) AND REF(做空,1)>REF(做空,2),做空,8);
短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;
中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;
红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;
蓝柱:SMA(中线,3,1),COLORstICK,COLORFFFF00;
{红柱}STICKLINE(红柱0,0,红柱,2*3,0),COLOR888800;
STICKLINE(红柱0,0,红柱,1.5*3,0),COLORAAAA00;
STICKLINE(红柱0,0,红柱,0.8*3,0),COLORDDDD00;
STICKLINE(红柱0,0,红柱,0.3*3,0),COLORFFFF00;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2*3,0),COLOR000088;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,1.5*3,0),COLOR0000AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.8*3,0),COLOR0000DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.3*3,0),COLOR0000FF;
STICKLINE(蓝柱0,0,蓝柱,2*3,0),COLOR008800;
STICKLINE(蓝柱0,0,蓝柱,1*3,0),COLOR00AA00;
STICKLINE(蓝柱0,0,蓝柱,0.8*3,0),COLOR00DD00;
STICKLINE(蓝柱0,0,蓝柱,0.3*3,0),COLOR00FF00;
{蓝柱}STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2*3,0),COLOR880088;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1.5*3,0),COLORAA00AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.8*3,0),COLORDD00DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.3*3,0),COLORFF00FF;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,2*3,0),COLOR009999;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,1.5*3,0),COLOR00BBBB;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.8*3,0),COLOR00DDDD;
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.3*3,0),COLOR00FFFF;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=ema(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=crOSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(A1,5,0,4*2,0),COLOR770077;
STICKLINE(A1,5,0,3*2,0),COLOR990099;
STICKLINE(A1,5,0,2*2,0),COLORBB00BB;
STICKLINE(A1,5,0,1*2,0),COLORDD00DD;
STICKLINE(A1,5,0,0.3*2,0),COLORFF00FF;
DRAWTEXT(A1,5.2,'全仓'),COLORRED;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。