大智慧支撑压力主图指标公式,大智慧黄金分割线主图指标公式
admin888
|大智慧支撑压力主图指标公式,大智慧黄金分割线主图指标公式
大智慧支撑压力主图指标公式
N:=10;
var1:=(SMA(HIGH,20,2) * 1.05);
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;
TICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),OPEN,LOW,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,HIGH,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,9,0),colorFF00FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,6,0),colorFF62FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,4,0),colorFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,2,0),colorFFA8FF;
STICKLINE(l>ref(h,1),l,ref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TOSTRN(HLC,2)),ALIGN2,VALIGN2,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,WEKS,NUMTOSTRN(WEKS,2)),ALIGN2,VALIGN2,COLOR00ff00,LINETHICK1;
DRAWTEXT(nnl,MIDS,NUMTOSTRN(MIDS,2)),ALIGN2,VALIGN2,Color00FFff,LINETHICK1;
BBI:=(2*C+H+L+O/2)/4.5;
var2:EMA(((SLOPE(BBI,18)*27)+BBI),45),COLOR00FFff,LINETHICK0;
PARTLINE(var2,var2>ref(var2,1),rgb(255,0,0)),LINETHICK0,LAYER0;
}var3:(8*BBI+7*REF(BBI,1)+6*REF(BBI,2)+5*REF(BBI,3)+4*REF(BBI,4)+3*REF(BBI,5)+2*REF(BBI,6)+1*REF(BBI,7))/36,COLORff00FF,LINETHICK0;
DRAWGBK(var2>ref(var2,1),STRIP(RGB(0,0,255),RGB(120,0,80),0)),LAYER0;
重心:=(H+L+O+C*3)/6;
NX:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:=(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)+15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)+10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)+5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17)+2*REF(NX,18)+REF(NX,20))/210;
牛熊线:=MA(牛线,4);
partline(牛熊线,牛熊线<=牛线,rgb(255,0,0),牛熊线>牛线,rgb(0,255,0)),linethick2;
大智慧黄金分割线主图指标公式
DRAWGBKLAST(v>1,STRIP(RGB(0,0,0),RGB(90,90,90),0));
ah:hhvall(h);
al:llvall(l);
{注意指标叠加该函数有循环或分支中将不准确,慎重使用叠加方式}ahl:=ah-al;
a19:al+ahl*0.191,coloraaaaaa;
a38:al+ahl*0.382,color00aaaa;
a50:al+ahl*0.500,LINETHICK1,POINTDOT,COLORGREEN;
a61:al+ahl*0.618,color00aaaa;
a80:al+ahl*0.809,coloraaaaaa;
{标注数字}y:=999;
DRAWTEXTREL(0,0,'100% '+ah),coloraaaaaa;
DRAWTEXTREL(0,y*0.191,'0.809% '+a80),coloraaaaaa;
DRAWTEXTREL(0,y*0.382,'0.618% '+a61),color00aaaa;
DRAWTEXTREL(0,y*0.500,'0.50% '+a50),color00aaaa;
DRAWTEXTREL(0,y*0.618,'0.382% '+a38),color00aaaa;
DRAWTEXTREL(0,y*0.809,'0.191% '+a19),coloraaaaaa;
DRAWTEXTREL(0,y-30,'最高 '+ah),coloraaaaaa;
DRAWTEXTREL(900,0,'100% '+ah),coloraaaaaa;
DRAWTEXTREL(900,y*0.191,'0.809% '+a80),coloraaaaaa;
DRAWTEXTREL(900,y*0.382,'0.618% '+a61),color00aaaa;
DRAWTEXTREL(900,y*0.500,'0.50% '+a50),color00aaaa;
DRAWTEXTREL(900,y*0.618,'0.382% '+a38),color00aaaa;
DRAWTEXTREL(900,y*0.809,'0.191% '+a19),coloraaaaaa;
DRAWTEXTREL(900,y-30,'最高 '+ah),coloraaaaaa;
{竖线}W:=BARSLAST(DISPSTATUS=1);
P:=BACKSET(DISPSTATUS=2,W/2+1);
VERTLINE(CROSS(P,0.5),4),COLOR889999;
DRAWTEXTREL(500,0,'最高' ),COLORRED;
DRAWTEXTREL(500,900+76,'最低'),color00ff00;
DRAWTEXTREL(500,0.50*(900+76),'0.5'),color0099ff;
DRAWTEXTREL(500,0.191*(900+76),'0.809'),COLORYELLOW;
DRAWTEXTREL(500,0.382*(900+76),'0.618'),COLORYELLOW;
DRAWTEXTREL(500,0.618*(900+76),'0.382'),COLORYELLOW;
DRAWTEXTREL(500,0.809*(900+76),'0.191'),COLORYELLOW;
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=((3 * K24) - (2 * D24));
压力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J))));
支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));
TJ:=IF((C-REF(C,1))/REF(C,1)>0.025,1,0);
yl:=IF(C>REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),0);
FT:=BARSLAST(yl);
YLX:=REF(yl,FT);
bt:=IF(C
XFT:=BARSLAST(bt);
XYLX:=REF(bt,XFT);
平台调下:=CROSS(XYLX,C);
平台突破:=CROSS(C,YLX);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
主力进场:=VAR8>REF(VAR8,1);
进场:=ref(主力进场,1);
DRAWTEXT(进场 and 平台突破 ,L * 0.97,'进'),ALIGN1,COLOR0000FF;
DRAWTEXT(进场 and 平台突破 ,L * 0.94,'场'),ALIGN1,COLOR0000FF;
DRAWICON(进场 and 平台突破 and L=支撑位,L* 0.93,1),ALIGN1,VALIGN2;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。