以下是大智慧一直用的很实用指标公式源码和使用说明
大智慧一直用的很实用指标公式源码:
AA:=MA(C,5)>MA(C,10);
LB:=V/REF(V,1);
BB:=MA(C,30)>MA(C,120);
涨幅:=REF(C,1)/REF(C,8);
振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12);
RR:=LB>=2.70ANDC>REF(C,1)ANDCOUNT(REF(C/O>=1.095,1),8)<1AND
振幅<=1.10ANDC/O>=1AND涨幅>=0.9ANDCOUNT(REF(C/O>=1.04,1),8)<1
ANDCOUNT(REF(C/O<=0.95,1),8)<1};
CC:=MA(C,120)>MA(C,250);
主升买点:IF(RRANDAAANDBBANDCC,1,0);
MA5:MA(CLOSE,5),colorwhite,linethick1,layer0;
MA10:MA(CLOSE,10),coloryellow,layer0;
MA20:MA(CLOSE,20),colormagenta,layer0;
MA40:MA(CLOSE,40),colorblue,layer0;
MA60:MA(CLOSE,60),colorgreen,layer0;
MA120:MA(CLOSE,120),COLORRED,layer0;
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);
压力:REF(C,BARSLAST(HD)),coloryellow,POINTDOT;
支撑:REF(C,BARSLAST(LD)),COLOR00Ff00,POINTDOT;
{DRAWtext(cross(MA60,MA120),ma60*0.98,’牛’),coloryellow;
DRAWtext(cross(MA120,MA60),ma60*0.98,’熊’),coloryellow;}
{stickline(h>ref(h,1)andl<ref(l,1)andc<ref(c,1),o,c,3.8,0),colorblue;}{穿头破脚大笨熊}
流通:=FINANCE2(37)/10000;总股本:=FINANCE2(35)/10000;
DRAWTEXTABS(0,25,’流通:’+流通+’亿’),LINETHICK1,coloryellow,layer0;
{DRAWTEXTABS(0,28,’总股本:’+总股本+’亿’),LINETHICK1,Color00FF00,layer0;}
drAWTEXTABS(0,40,’看一浪,等二浪,做三浪,避四浪,驾五浪。破线回弹跑的快’),LINETHICK1,colorwhite,layer0;
drAWTEXTABS(0,60,’三阳+分时三浪出三阴+分时三浪进’),LINETHICK1,coloryellow,layer0;
DRAWTEXTABS(5,10,STKLABEL+BKNAME),LINETHICK1,Color0000FF,layer0;
AA:=CLOSE/REF(C,1)>=1.096;
STICKLINE(AA,O,C,8,1),COLORYELLOW;
A:=BARSLAST(DISPSTATUS=1)+1;
HH:=HHV(H,A);
LL:=LLV(L,A);
上涨:BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(L=LL)+1)),COLOR0000FF,linethick0;
↑空间%:(C/REF(L,上涨)-1)*100,COLOR00FFFF,linethick0;
最高%:(HHVALL(HH)/REF(L,上涨)-1)*100,COLORFF00FF,linethick0;
下跌:BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(H=HH)+1)),COLOR00FF00,linethick0;
↓空间%:(C/REF(H,下跌)-1)*100,COLOR998888,linethick0;
最低%:(LLVALL(LL)/REF(H,下跌)-1)*100,COLORFF0000,linethick0;
{高:REF(H,下跌),COLOR0000FF,DOTLINE;
低:REF(L,上涨),COLOR00FF00,DOTLINE;
VERTLINE(上涨=0,4),COLOR0000FF;
VERTLINE(下跌=0,3),COLOR00FF00;}
DRAWTEXT(上涨=2,L,’3′),COLOR00FFFF;
DRAWTEXT(上涨=4,L,’5′),COLOR00FFFF;
DRAWTEXT(上涨=7,L,’8′),COLOR00FFFF;
DRAWTEXT(上涨=12,L,’13’),COLOR00FFFF;
DRAWTEXT(上涨=20,L,’21’),COLOR00FFFF;
DRAWTEXT(上涨=33,L,’34’),COLOR00FFFF;
DRAWTEXT(上涨=54,L,’55’),COLOR00FFFF;
DRAWTEXT(上涨=88,L,’89’),COLOR00FFFF;
DRAWTEXT(上涨=143,L,’144′),COLOR00FFFF;
DRAWTEXT(上涨=179,L,’180′),COLOR00FFFF;
DRAWTEXT(上涨=249,L,’250′),COLOR00FFFF;
DRAWTEXT(下跌=2,L,’-3′),COLOR00FF00;
DRAWTEXT(下跌=4,L,’-5′),COLOR00FF00;
DRAWTEXT(下跌=7,L,’-8′),COLOR00FF00;
DRAWTEXT(下跌=12,L,’-13′),COLOR00FF00;
DRAWTEXT(下跌=20,L,’-21′),COLOR00FF00;
DRAWTEXT(下跌=33,L,’-34′),COLOR00FF00;
DRAWTEXT(下跌=54,L,’-55′),COLOR00FF00;
DRAWTEXT(下跌=88,L,’-89′),COLOR00FF00;
DRAWTEXT(下跌=143,L,’-144′),COLOR00FF00;
DRAWTEXT(下跌=179,L,’-180′),COLOR00FF00;
DRAWTEXT(下跌=249,L,’-250′),COLOR00FF00;
D14:skdj.D(196,14),COLOR222222;
D12:Skdj.D(144,12),COLOR333333;
D11:SkdJ.D(121,11),COLOR444444;
D10:SKDJ.D(100,10),COLOR555555;
D9:SKDJ.D(81,9),COLOR666666;
D8:SKDJ.D(64,8),COLOR777777;
D7:SKDJ.D(49,7),COLOR888888;
D6:SKDJ.D(36,6),COLOR999999;
D5:SKDJ.D(25,5),COLORBBBBBB;
D4:SKDJ.D(16,4),COLORDDDDDD;
D3:SKDJ.D(16,3),COLORFFFFFF;
D36:SKDJ.D(888,30),COLORRED;
D2:SKDJ.D(16,2),LINETHICK2,COLORBLUE;
DRAWICON(D2<REF(D2,1)ANDREF(D2,1)>=REF(D2,2)
ANDREF(D2,1)>93ANDREF(D2,1)<=97,REF(D2,1),3);
DRAWICON(D2>97,D2,2);
DRAWICON(D2<4,D2,1);
大智慧一直用的很实用指标公式截图
评论(0)