当前位置:→ 股海网大智慧公式 → 正文
  • 【黄金四区】拼盘的主图

  • 相关简介:DRAWGBKlast(DATE900101,strip(RGB(0,0,150),RGB(0,0,50),1)); DRAWTEXTABS(15,5,'('+STKLABEL+') '+ STKNAME+''),Color00FFFF,LINETHICK2; DRAWTEXTABS(10,20,'总股本: '+NUMTOSTRn(FINANCE2(35)/10000,1)+'亿股'),Color0088ff,LINETHICK2; DRAWTEXTABS(10,35,'流通A股: '+NUMT

  • 文章来源:股海网作者:股海网发布时间:2013-11-08浏览次数:下载次数:0

DRAWGBKlast(DATE>900101,strip(RGB(0,0,150),RGB(0,0,50),1));
DRAWTEXTABS(15,5,'('+STKLABEL+') '+ STKNAME+''),Color00FFFF,LINETHICK2;
DRAWTEXTABS(10,20,'总股本:     '+NUMTOSTRn(FINANCE2(35)/10000,1)+'亿股'),Color0088ff,LINETHICK2;
DRAWTEXTABS(10,35,'流通A股:    '+NUMTOSTRn(FINANCE2(37)/10000,1)+'亿股'),Color00ff00,LINETHICK2;
DRAWTEXTABS(10,50,'市盈率:     '+NUMTOSTRn(DYNAINFO(39),1)+'倍'),Color8800ff,LINETHICK2;
{K线}
STICKLINE(OPEN>=CLOSE ,H ,L,0,0 ),COLOR00FF00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFFF00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR777700,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR668800,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR559900,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR44AA00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR33BB00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR22CC00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00EE00,LAYER2;
STICKLINE(CLOSE>OPEN,H,L,0,0) ,COLOR0000FF,LAYER2;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000088;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF;
BC:=(2*C+H+L)/4;
MC5:EMA(MA(BC,5),2),Color99FF99,DOTLINE;
PARTLINE(MC5,(MC5>REF(MC5,1)),rgb(255,0,0) ),LINETHICK3,LAYER0;
X:=BARSLAST(DISPSTATUS=1)+1;   
P:=BACKSET(DISPSTATUS=2,X/2+1);
K:=BARSLAST(CROSS(P,0.5))+1;
KJ:=HHVALL(HIGH)-LLVALL(LOW);
平衡:=IF(K>=0,LLVALL(LOW)+KJ/2,0);
压力:=IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡);
支撑:=IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡);
DRAWRECTABS(180,1,200+(HHV(HIGH,K))*300/C ,80 ,rgb(0,0,255)),Color0000FF,LINETHICK2,LAYER3;
DRAWRECTABS(185,4,200+(压力)*300/C ,70 ,rgb(140,0,60)),Color99FF99,LAYER2;
DRAWRECTABS(190,7,200+(平衡)*300/C ,60 ,rgb(0,120,0)),Colorff00FF,LAYER1;
DRAWRECTABS(195,10,200+(支撑)*300/C ,50 ,rgb(80,0,80)),Color00ffFF,LAYER0;
DRAWRECTABS(200,21,200+(C)*300/C ,39 ,rgb(10,10,10)),Color0077FF,LINETHICK1,LAYER0;
DRAWTEXTABS(170,90,'【支撑 '+NUMTOSTRn(支撑,2)+' 元】'),Color00FFff,LINETHICK2,LAYER0;
DRAWTEXTABS(305,90,'【平衡 '+NUMTOSTRn(平衡,2)+' 元】'),Color44FF99,LINETHICK2,LAYER0;
DRAWTEXTABS(440,90,'【压力 '+NUMTOSTRn(压力,2)+' 元】'),Color0044FF,LINETHICK2,LAYER0;
DRAWTEXTABS(220,23,'【四区周期:--→ '+K+'天】'),Color00FFFF,LINETHICK2,LAYER0;
FILLRGN(压力,HHVALL(HIGH),X>K,RGB(0,0,255)),PRECIS2,LAYER7;{该行设置背景色A}
FILLRGN(平衡,压力,X>K,RGB(90,0,60)),PRECIS2,LAYER7;{该行设置背景色B}
FILLRGN(支撑,平衡,X>K,RGB(0,80,0)),PRECIS2,LAYER7;{该行设置背景色C}
FILLRGN(LLVALL(LOW),支撑,X>K,RGB(60,40,0)),PRECIS2,LAYER7;{该行设置背景色D}
 
M13:IF(K>=0,MA(C,13),0),COLOR00FFff;
M21:IF(K>=0,MA(C,21),0),COLOR00ff00;
M55:IF(K>=0,MA(C,55),0),COLOR0077ff;
A1:=hhv(h,X); {x:=500}  
A2:=llv(l,X);
A3:=(A1+A2)/2;
K0:(0.5*A1+0.5*A2),COLOR00ffff;
K1:IF(K>=0,(0.618*A1+0.382*A2),0),COLOR0000ff,DOTLINE;
K2:IF(K>=0,A2+(A1-A2)*0.74,0),DOTLINE;
K3:IF(K>=0,A2+(A1-A2)*0.865,0),DOTLINE;
K4:A2+(A1-A2)*0.98,COLOR0077ff,LINETHICK2;{最高}
K5:IF(K>=0,(0.382*A1+0.618*A2),0),COLOR0598ff,DOTLINE;
K6:IF(K>=0,A1-(A1-A2)*0.74,0),DOTLINE;
K7:IF(K>=0,A1-(A1-A2)*0.865,0),COLOR99ff99,DOTLINE;
K8:A1-(A1-A2)*0.98,COLORBLUE,LINETHICK2;{最低}
nnl:=DISPSTATUS=2;
DRAWTEXT(nnl,a1*0.998,'最高--→'+A1+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K3,'0.865-→'+NUMTOSTRN(K3,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K2,'0.742-→'+NUMTOSTRN(K2,2)+'元'),ALIGN1,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,K1,'0.618-→'+NUMTOSTRN(K1,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K0,'0.500-→'+NUMTOSTRN(K0,2)+'元'),ALIGN1,Color00FF00,LINETHICK1;
DRAWTEXT(nnl,K5,'0.382-→'+NUMTOSTRN(K5,2)+'元'),ALIGN1,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,K6,'0.258-→'+NUMTOSTRN(K6,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K7,'0.135-→'+NUMTOSTRN(K7,2)+'元'),ALIGN1,Color99FF99,LINETHICK1;
DRAWTEXT(nnl,a2*1,'最低--→'+A2+'元'),ALIGN1,VALIGN2,Color0047FF,LINETHICK1;
HX:=HHVALL(x);
GX:(HX- x )+1,PRECIS0,LINETHICK0;
DRAWTEXT(GX=6,K0,'6'),COLORYELLOW;
DRAWTEXT(GX=9,K0,'9'),COLORYELLOW;
DRAWTEXT(GX=12,K0,'12'),COLORYELLOW;
DRAWTEXT(GX=15,K0,'15'),COLORYELLOW;
DRAWTEXT(GX=18,K0,'18'),COLORYELLOW;
DRAWTEXT(GX=21,K0,'21'),COLORYELLOW;
DRAWTEXT(GX=24,K0,'24'),COLORYELLOW;
DRAWTEXT(GX=27,K0,'27'),COLORYELLOW;
DRAWTEXT(GX=30,K0,'30'),COLORYELLOW;
DRAWTEXT(GX=33,K0,'33'),COLORYELLOW;
DRAWTEXT(GX=36,K0,'36'),COLORYELLOW;
DRAWTEXT(GX=39,K0,'39'),COLORYELLOW;
DRAWTEXT(GX=42,K0,'42'),COLORYELLOW;
DRAWTEXT(GX=45,K0,'45'),COLORYELLOW;
DRAWTEXT(GX=50,K0,'50'),COLORYELLOW;
DRAWTEXT(GX=60,K0,'60'),COLORYELLOW;

【黄金四区】拼盘的主图

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

【黄金四区】拼盘的主图

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2013-11-08
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.