当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧股票的状态情报站一目了然副团源码(无源码的请下载附件导入)
我们每时每刻都想知道我们的股票现在是处于什么状态,就要看【MA】【BOLL】【KDJ】【主力买卖---DDX】最好还要看【四区主图】(你应该有的)可以知道现在你的股票在哪一个区里----【四个分区】 就要一个一个去翻每个公式岂不麻烦,我们给自己建立一个【情报站】一个图全都能看到这一切真是一目了然,十分方便.
【注意】:【四区】包括 1----弱势区。2---反弹中.3---震荡整理.4---强势区一看便知收盘价在那一区,参数可调 30.60.120.均可
{公式在线提供:www.gszx.com.cn}
{情报站}
input:n(30,0,300);
DRAWGBKlast(DATE>900101,strip(RGB(0,40,0),RGB(0,0,60),0));
DRAWTEXTABS(650,5,'★四区:[N]:'+NUMTOSTRN(N,0)+'天.(短期30天,中期120天)'),ColoR00FFff,LINETHICK3;
平衡:LLV(LOW,n)+(HHV(HIGH,n)-LLV(LOW,n))/2,COLOR00FFFF,LINETHICK0;
压力:HHV(HIGH,n)-(HHV(HIGH,n)-LLV(LOW,n))*0.191,COLORFF00FF,LINETHICK0;
支撑:LLV(LOW,n)+(HHV(HIGH,n)-LLV(LOW,n))*0.191,COLOR00FF00,LINETHICK0;
DRAWRECTABS(5,0 ,198 ,132 , rgb(20,0,20)),COLOR00FF30,LINETHICK1,LAYER2;
DRAWTEXTABS(5,3,'四区['+N+'天] 压力: '+NUMTOSTRN(压力,2)+'元 ' ),Color00FF00,LINETHICK2;
DRAWTEXTABS(10,20,' ◆收盘价: '+NUMTOSTRN(C,2)+'元 ' ),Color0077FF,LINETHICK2;
DRAWTEXTABS(10,40,'◆历史最高价: '+NUMTOSTRN(HHV(HIGH,0),2)+'元 ' ),Color00FFFF,LINETHICK2;
DRAWTEXTABS(10,55,'◆历史最低价: '+NUMTOSTRN(LLV(LOW,0),2)+'元 ' ),Color00FF00,LINETHICK2;
DRAWTEXTABS(10,70,'◆'+N+'日内最高价:'+NUMTOSTRN(hhv(h,N),2)+'元'),Color00FFFF,LINETHICK2;
DRAWTEXTABS(10,85,'◆'+N+'日内最低价:'+NUMTOSTRN(LLV(LOW,N),2)+'元'),ColorFFFF00,LINETHICK2;
DRAWTEXTABS(10,100,'◆十日内最高价 '+NUMTOSTRN(hhv(h,10),2)+'元'),Color0099FF,LINETHICK2;
DRAWTEXTABS(10,115,'◆十日内最低价:'+NUMTOSTRN(LLV(LOW,10),2)+'元'),ColorFF9900,LINETHICK2;
DRAWRECTABS(200,0,200+(C)*300/C ,132 ,rgb(0,0,55)),COLOR0077ff,LAYER4;
DRAWRECTABS(200,0,200+(HHV(HIGH,n))*300/C ,42 ,rgb(0,0,255)),Color0000FF,LAYER3;
DRAWRECTABS(200,0,200+(压力)*300/C ,42 ,rgb(180,0,155)),Color00FF00,LAYER2;
DRAWRECTABS(200,0,200+(平衡)*300/C ,42 ,rgb(0,120,0)),Color00FFFF,LAYER1;
DRAWRECTABS(200,0,200+(支撑)*300/C ,42 ,rgb(80,0,80)),Color9977FF,LAYER0;
DRAWRECTABS(200,0,200+(LLV(LOW,n))*300/C ,42 ,rgb(0,40,40)),ColorFF9900,LAYER0;
DRAWRECTABS(200,20,200+(C)*300/C ,33 ,rgb(0,0,255)),Color0099FF,LINETHICK1,LAYER0;
DRAWRECTABS(200,45,200+(HHV(HIGH,0))*300/C ,52 , rgb(120,255,0)),LAYER2;
DRAWRECTABS(200,60,200+(LLV(LOW,0))*300/C ,67 , rgb(255,255,0)),LAYER2;
DRAWRECTABS(200,75,200+(hhv(h,N))*300/C ,82 , rgb(255,100,0)),LAYER2;
DRAWRECTABS(200,90,200+(LLV(LOW,N))*300/C ,97 , rgb(0,255,0)),LAYER2;
DRAWRECTABS(200,105,200+(hhv(h,10))*300/C ,112 , rgb(255,0,255)),LAYER2;
DRAWRECTABS(200,120,200+(LLV(LOW,10))*300/C ,127 , rgb(155,0,155)),LAYER2;
DRAWRECTABS(5,135 ,240+150 ,280 , rgb(0,80,155)),COLOR0077ff;
DRAWRECTABS(5,135 ,240+1*100 ,280 , rgb(0,0,80)),COLOR0000ff;
DRAWRECTABS(240,140 ,240+C /C*100 ,150 , rgb(255,100,0));
DRAWRECTABS(240,160 ,240+"MA.MA1#DAY" /C*100 ,170 , rgb(255,0,0));
DRAWRECTABS(240,180 ,240+"MA.MA2#DAY"/C*100 ,190 , rgb(0,255,0));
DRAWRECTABS(240,200 ,240+"MA.MA3#DAY"/C*100 ,210 , rgb(255,255,0));
DRAWRECTABS(240,220 ,240+"MA.MA4#DAY"/C*100 ,230 , rgb(0,150,100));
DRAWRECTABS(240,240 ,240+"MA.MA5#DAY"/C*100 ,250 , rgb(150,100,0));
DRAWRECTABS(240,260 ,240+"MA.MA6#DAY"/C*100 ,270 , rgb(0,50,100));
DRAWTEXTABS(15,200,'[MA]'),Color00ff00,LINETHICK3;
DRAWTEXTABS(60,140,'★收盘: '+NUMTOSTRN(C,2)+'元'),ColorFFFFff,LINETHICK3;
DRAWTEXTABS(60,160,'★MA5: '+NUMTOSTRN("MA.MA1#DAY",2)+'元'),Color0000ff,LINETHICK3;
DRAWTEXTABS(60,180,'★MA10: '+NUMTOSTRN("MA.MA2#DAY",2)+'元'),Color00ff00,LINETHICK3;
DRAWTEXTABS(60,200,'★MA20: '+NUMTOSTRN("MA.MA3#DAY",2)+'元'),COLOR00FFFF,LINETHICK3;
DRAWTEXTABS(60,220,'★MA30: '+NUMTOSTRN("MA.MA4#DAY",2)+'元'),COLOR00FF99,LINETHICK3;
DRAWTEXTABS(60,240,'★MA60: '+NUMTOSTRN("MA.MA5#DAY",2)+'元'),COLOR0888FF,LINETHICK3;
DRAWTEXTABS(60,260,'★MA120: '+NUMTOSTRN("MA.MA6#DAY",2)+'元'),COLOR0044FF,LINETHICK3;
DRAWRECTABS(400,140 ,600+130 ,280 , rgb(0,100,155)),COLOR00ff99;
DRAWRECTABS(400,140 ,600+80 ,280 , rgb(0,0,40)),COLOR00ff00;
DRAWRECTABS(600,145 ,600+"KDJ.J#DAY"(9,3,3) ,155 , rgb(255,0,0));
DRAWRECTABS(600,165 ,600+"KDJ.J#DAY"(18,3,3) ,175 , rgb(0,255,0));
DRAWRECTABS(600,185 ,600+"KDJ.J#DAY"(27,3,3) ,195 , rgb(255,255,0));
DRAWRECTABS(600,205 ,600+"KDJ.J#DAY"(36,3,3) ,215 , rgb(255,100,100));
DRAWRECTABS(600,225 ,600+"KDJ.J#DAY"(45,3,3) ,235 , rgb(0,100,100));
DRAWRECTABS(600,245 ,600+"KDJ.J#DAY"(54,3,3) ,255 , rgb(100,100,0));
DRAWTEXTABS(405,200,'[KDJ]'),Color00ffFF,LINETHICK3;
DRAWTEXTABS(450,145,'★KDJ9: '+NUMTOSTRN("KDJ.J#DAY"(9,3,3),1)+''),ColorFFFFFF,LINETHICK3;
DRAWTEXTABS(450,165,'★KDJ18: '+NUMTOSTRN("KDJ.J#DAY"(18,3,3),1)+''),Color0000ff,LINETHICK3;
DRAWTEXTABS(450,185,'★KDJ27: '+NUMTOSTRN("KDJ.J#DAY"(27,3,3),1)+''),Color00ff00,LINETHICK3;
DRAWTEXTABS(450,205,'★KDJ36: '+NUMTOSTRN("KDJ.J#DAY"(36,3,3),1)+''),COLOR00FFFF,LINETHICK3;
DRAWTEXTABS(450,225,'★KDJ45: '+NUMTOSTRN("KDJ.J#DAY"(45,3,3),1)+''),COLOR0044FF,LINETHICK3;
DRAWTEXTABS(450,245,'★KDJ54: '+NUMTOSTRN("KDJ.J#DAY"(54,3,3),1)+''),COLOR00FF00,LINETHICK3;
DRAWRECTABS(740,60 ,940+160 ,155 , rgb(0,100,155)),COLOR0044ff;
DRAWRECTABS(740,60 ,940+1*100 ,155 , rgb(0,0,40)),COLOR00ffff;
DRAWRECTABS(940,70 ,940+C /C*100 ,80 , rgb(255,100,0));
DRAWRECTABS(940,90 ,940+"BOLL.UPPER#DAY" /C*100 ,100 , rgb(200,20,0));
DRAWRECTABS(940,110 ,940+"BOLL.MID#DAY" /C*100 ,120 , rgb(0,255,0));
DRAWRECTABS(940,130 ,940+"BOLL.LOWER#DAY" /C*100 ,140 , rgb(255,255,0));
DRAWTEXTABS(745,100,'[BOLL]'),Color0000ff,LINETHICK3;
DRAWTEXTABS(800,68,'★收盘:'+NUMTOSTRN(C,2)+'元'),ColorFFFFff,LINETHICK3;
DRAWTEXTABS(800,88,'★上轨:'+NUMTOSTRN("BOLL.UPPER#DAY",2)+'元'),Color0000ff,LINETHICK3;
DRAWTEXTABS(800,108,'★中轨:'+NUMTOSTRN("BOLL.MID#DAY",2)+'元'),Color00ff00,LINETHICK3;
DRAWTEXTABS(800,128,'★下轨:'+NUMTOSTRN("BOLL.LOWER#DAY",2)+'元'),COLOR00FFFF,LINETHICK3;
DRAWRECTABS(740,160 ,1000+100 ,280 , rgb(0,0,255)),COLOR0044ff,LAYER6;
DRAWRECTABS(740,160,1000 ,280 , rgb(0,0,40)),Color00ffff,LINETHICK1,LAYER5;
DRAWRECTABS(1000,170 ,1000+("DDX.DDX#DAY")*150 ,180 , rgb(255,0,0)),LAYER0;
DRAWRECTABS(1000,190 ,1000+(SUM("DDX.DDX#DAY",2))/2*150 ,200 , rgb(0,255,0)),LAYER0;
DRAWRECTABS(1000,210 ,1000+(SUM("DDX.DDX#DAY",5))/5*150 ,220 , rgb(255,255,0)),LAYER0;
DRAWRECTABS(1000,230 ,1000+(SUM("DDX.DDX#DAY",10))/10*150 ,240 , rgb(150,205,10)),LAYER0;
DRAWRECTABS(1000,250 ,1000+(SUM("DDX.DDX#DAY",20))/20*150 ,260 , rgb(255,100,100)),LAYER0;
DRAWTEXTABS(745,200,'[DDX平均]'),Color0044ff,LINETHICK1;
DRAWTEXTABS(800,170,'★DDX: '+NUMTOSTRN("DDX.DDX#DAY",2)+'%'),Color00FF00,LINETHICK3;
DRAWTEXTABS(800,190,'★DDX2: '+NUMTOSTRN(SUM("DDX.DDX#DAY",2)/2,2)+'%'),Color0000ff,LINETHICK3;
DRAWTEXTABS(800,210,'★DDX5: '+NUMTOSTRN(SUM("DDX.DDX#DAY",5)/5,2)+'%'),Color0044ff,LINETHICK3;
DRAWTEXTABS(800,230,'★DDX10: '+NUMTOSTRN(SUM("DDX.DDX#DAY",10)/10,2)+'%'),COLOR00FFFF,LINETHICK3;
DRAWTEXTABS(800,250,'★DDX20: '+NUMTOSTRN(SUM("DDX.DDX#DAY",20)/20,2)+'%'),COLOR00FF00,LINETHICK3;