分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]上下行主图(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2024-12-17 00:15:22
软件简介:

上下行主图

 
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
DRAWKLINE(H,O,L,C);
下行:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,10),HHV(LOW,4),0),LINETHICK1,COLORLIBLUE;
上涨:DRAWLINE(LOW<=LLV(LOW,10),LOW,HIGH>=HHV(HIGH,10),LLV(HIGH,4),0),LINETHICK1,COLORYELLOW;
下压线:DRAWLINE(H>=HHV(HIGH,10),H,REF(H>=HHV(HIGH,10),3) AND H<REF(H,1) AND REF(H,1)<REF(H,2),H,0),COLORGREEN ,LINETHICK1;
 
{庄家成本}
AL0:=SUMBARS(V,CAPITAL*1);
AL1:=SUM(COST(10),AL0)/AL0;
AL2:=SUM(COST(20),AL0)/AL0;
AL3:=SUM(COST(30),AL0)/AL0;
AL4:=SUM(COST(40),AL0)/AL0;
AL5:=SUM(COST(50),AL0)/AL0;
庄家成本2:=(5*AL1+4*AL2+3*AL3+2*AL4+AL5)/15,COLOR0080FF,DOTLINE;
庄家成本1:REFDATE(庄家成本2,DATE),COLORWHITE,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=50,庄家成本1,STRCAT('庄本:',CON2STR(庄家成本1,2))),COLORWHITE;
 
{快逃绿箭头}
VAR30:=PEAKBARS(3,15,1)<10;
VAR50:=IF(VAR30=1,2,0);
顶1:= IF(VAR50=2,2,0);
顶A:=IF(顶1>REF(顶1,1),2,0),COLORGREEN;
DRAWICON(顶A=2,H*1.02,2);
 
{买点红箭头}
AR1:=EMA(OPEN,7);
AR2:=EMA(AR1,21);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,16)-LLV(LOW,20))*100,8,1),3);
短买:=IF(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,2,0),COLORRED;
DRAWICON(短买=2,L*0.98,1);
{分析家公式网HTTP://WWW.70822.COM}
MA5:=MA(C,5),COLORWHITE;
MA10:=MA(C,10),COLORRED;
{DRAWBAND(MA5,RGB(116,0,0),MA10,RGB(34,139,34));}
MA21:=MA(C,21),COLORGREEN;
五:=MA(C,5),COLORWHITE;
十:=MA(C,10),COLORYELLOW;
三十:=MA(C,21),COLORGREEN;
M120:=MA(C,120),LINETHICK2,COLORLIGRAY;
山谷:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,21) AND CROSS(MA(C,10),MA(C,21));
DRAWTEXT(山谷AND MA(C,5)<MA(C,120),MA(C,21)-0.08,'银山谷'),COLORLIGRAY;
DRAWTEXT(山谷AND MA(C,21)>MA(C,120),MA(C,21)-0.08,'金山谷'),COLORYELLOW;
 
 
 
 

[url=http://www.70822.com/soft/sort013/sort05/down-175893.html]上下行主图(通达信公式 主图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:31.25000 毫秒