大智慧量价增减指标公式,大智慧心悦诚服主图指标公式
admin888
|大智慧量价增减指标公式,大智慧心悦诚服主图指标公式
大智慧量价增减指标公式
input:k(3,0,50);
DRAWGBKlast(DATE>900101,strip(RGB(40,0,40),RGB(0,0,0),0));
0,ColorFF9900;
JV:=(V-REF(V,1))/REF(V,1)*100;
JVH:=EMA(SUM(JV,k),k);
PARTLINE(JVH,(JVH>REF(JVH,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYER4;
DRAWTEXT(BARSTATUS=2,0,' 换手:'),ALIGN0,COLOR00ffFF,LINETHICK2,LAYER0;
X:=BARSLAST(DISPSTATUS=1)+1;
ahx:=hhvall(hhv(JVH,X));
VERTLINE(JVH=ahx,4),COLOR00FFFF,LAYER0;
STICKLINE(JV>0,JV,0,5,0),Color000055,LAYER7;
STICKLINE(JV>0,JV,0,4,0),Color000077,LAYER7;
STICKLINE(JV>0,JV,0,3,0),Color000099,LAYER7;
STICKLINE(JV>0,JV,0,2,0),Color0000CC,LAYER7;
STICKLINE(JV>0,JV,0,1,0),Color0000FF,LAYER7;
STICKLINE(JV<0,JV,0,5,0),Color005500,LAYER7;
STICKLINE(JV<0,JV,0,4,0),Color007700,LAYER7;
STICKLINE(JV<0,JV,0,3,0),Color009900,LAYER7;
STICKLINE(JV<0,JV,0,2,0),Color00CC00,LAYER7;
HS:=vol/capital*100;
DRAWTEXT(JV and HS>2 ,-10,''+NUMTOSTRN(HS,0)+''),ALIGN1,color00FFff,linethick1,LAYER5;
IF (BARSTATUS=2 and c<200 and HS) THENDRAWTEXTABS(450,5, '■可视'+NUMTOSTRN(X,0)+'天累计换手 ' +NUMTOSTRN(SUM(HS,X),1)+'%, 平均换手 ' +NUMTOSTRN(SUM(HS,X)/X,1)+'%: '),COLOR00ffFF,LINETHICK3;DRAWRECTABS(3,0 ,315 ,150 , rgb(0,0,80)),color00FFFF,LINETHICK2,LAYER0;
W1:=IF((V-REF(V,1))>0 AND ABS(C-REF(C,1))/REF(C,1)*100<0.1,1,0);
IF (BARSTATUS=2 and c<200 and W1) THEN
DRAWTEXTABS(0,5,' ?'+W1+'? '),color0000FF,LINETHICK2,LAYER0;
DRAWTEXTABS(0,5,' 【加仓】:-- 1.量增价平,转阳信号。'),color0000FF,LINETHICK2,LAYER0;
W2:=IF((V-REF(V,1))>0 and (C-REF(C,1))>0,2,0);
IF (BARSTATUS=2 and c<200 and W2) THENDRAWTEXTABS(0,22,' ?'+W2+'? '),color0055FF,LINETHICK2,LAYER0;
DRAWTEXTABS(0,22,' 【买入】:-- 2.量增价升,买入信号。'),color0055FF,LINETHICK2,LAYER0;
W3:=IF(ABS(V-REF(V,1))/REF(V,1)*100<0.1 and (C-REF(C,1))>0,3,0);
IF (BARSTATUS=2 and c<200 and W3) THENDRAWTEXTABS(0,39,' ?'+W3+'? '),color0077FF,LINETHICK2;
DRAWTEXTABS(0,39,' 【加仓】:-- 3.量平价升,持续买入。'),color0077FF,LINETHICK2,LAYER0;
W4:=IF((V-REF(V,1))<0 and (C-REF(C,1))>0,4,0);
IF (BARSTATUS=2 and c<200 and W4) THENDRAWTEXTABS(0,56,' ?'+W4+'? '),color0099FF,LINETHICK2;
DRAWTEXTABS(0,56,' 【持有】:-- 4.量减价升,继续有。'),color0099FF,LINETHICK2,LAYER0;
W5:=IF((V-REF(V,1))<0 AND ABS(C-REF(C,1))/REF(C,1)*100<0.1,5,0);
IF (BARSTATUS=2 and c<200 and W5) THENDRAWTEXTABS(0,76,' ?'+W5+'? '),color00FF00,LINETHICK2,LAYER0;
DRAWTEXTABS(0,76,' 【警戒】:-- 5.量减价平,警戒号。'),color00FF00,LINETHICK2,LAYER0;
W6:=IF((V-REF(V,1))<0 and (C-REF(C,1))<0,6,0);
IF (BARSTATUS=2 and c<200 and W6) THENDRAWTEXTABS(0,93,' ?'+W6+'? '),colorFFDD00,LINETHICK2,LAYER0;
DRAWTEXTABS(0,93,' 【卖出】:-- 6.量减价跌,卖出信号。'),colorFFDD00,LINETHICK2,LAYER0;
W7:=IF(ABS(V-REF(V,1))/REF(V,1)*100<0.1 and (C-REF(C,1))>0,7,0);
IF (BARSTATUS=2 and c<200 and W7) THEN
DRAWTEXTABS(0,110,' ?'+W7+'? '),colorFFCC00,LINETHICK2,LAYER0;
DRAWTEXTABS(0,110,' 【卖出】:-- 7.量平价跌,继续卖出。'),colorFFCC00,LINETHICK2,LAYER0;
W8:=IF((V-REF(V,1))>0 and (C-REF(C,1))<0,8,0);
IF (BARSTATUS=2 and c<200 and W8) THEN
DRAWTEXTABS(0,127,' ?'+W8+'? '),colorFF9900,LINETHICK2,LAYER0;
DRAWTEXTABS(0,127,' 【观望】:-- 8.量增价跌,弃卖观望。'),colorFF9900,LINETHICK2,LAYER0;
大智慧心悦诚服主图指标公式
input:N(10,0,90);
DRAWTEXTREL(10,15,'★可调【买卖标记:N='+N+', [0---不显示,优化:
个股N=20,大盘N=30]】'),COLOR00FFFF,linethick2;
{K线}STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF22FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;
{卖黄金,RSI=80}LC:=REF(C,1);
卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0;
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
STICKLINE(CROSS(80,卖黄金) AND C
{心悦诚服}BBI:=(2*C+H+L+O/2)/4.5;
心悦:EMA(((SLOPE(BBI,18)*21)+C),43),COLOR00FF00,LINETHICK1;
PARTLINE(心悦,心悦>ref(心悦,1),rgb(255,0,0)),LINETHICK3,LAYER3;
阻拦:EMA(REF(HHV(H*0.987,30),1),2),COLOR0077FF;
支护:EMA(REF(LLV(L*1.013,30),1),2),COLOR99ff99;
FILLRGN(阻拦,心悦,阻拦>心悦,RGB(0,80,0)),COLORFF9900,LAYER7;
FILLRGN(支护,心悦,支护<心悦,RGB(50,0,30)),COLOR00FF00,LAYER7;
FILLRGN(阻拦,支护,心悦>ref(心悦,1),RGB(0,0,255)),COLORFF9900,LAYER5;
诚服:WMA(BBI,8),COLOR00FFFF,PRECIS2;
{买卖标记}A3:=REF(H,N)=HHV(H,2*N+1);
B3:=FILTER(A3,N);
C3:=BACKSET(B3,N+1);
D3:=FILTER(C3,N);
{高点}A4:=REF(L,N)=LLV(L,2*N+1);
B4:=FILTER(A4,N);
C4:=BACKSET(B4,N+1);
D4:=FILTER(C4,N);
{低点}drawbmp(D3 or (D3 AND C
drawbmp(D4 or (D4 AND C>O AND VOL>ref(LLV(VOL,60),1)),(l)*0.99,'LR.bmp'),align1,layer0;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。