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

软件名称:[B]一线定江山,叠加公式到主图(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2021-09-25 00:15:30
软件简介:

 一线定江山,叠加公式到主图

N:=5;
 M1:=3;
 M2:=3;
 QWX1:=HHV(CLOSE,30);
 QWX2:=LLV(CLOSE,30);
 QWX3:=CONST((QWX1+QWX2)/2);
 QWX4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); 
 QWX5:=CONST((1-7/100)*(DMA(CLOSE,QWX4)));
 QWX6:=CONST((1+7/100)*(DMA(CLOSE,QWX4)));
 {KDJ}
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 KX:=SMA(RSV,3,1);
 DX:=SMA(KX,3,1);
 JX:=3*KX-2*DX;
 {MACD}
 DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*2+QWX3,COLORWHITE;
 DEA:=EMA(DIF,9),COLORYELLOW; 
 MCD:=(DIF-DEA)*2+QWX3;
 DRAWBAND(MCD,RGB(120,0,100),QWX3,RGB(60,100,50));
 DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
分水岭:(EMA(CLOSE,30)+EMA(CLOSE,72))/2,LINETHICK2,COLORGREEN;
 M5:MA(CLOSE,N),COLORWHITE;
 M10:MA(CLOSE,M1),COLORYELLOW;
 M20:MA(CLOSE,M2),COLORFF00FF;
 VAR1:=IF(CLOSE>OPEN,CLOSE,OPEN);
 VAR2:=MEMA(CLOSE,5);
 VAR3:=ATAN((VAR2/REF(VAR2,1)-1)*100);
 VAR4:=IF(VAR3>0,VAR3,VAR3);
 VAR5:=(CLOSE/REF(CLOSE,1)-1)*100;
 VAR6:=VAR5<1.5 AND VAR5>-1.5;
今日之升★:LAST(VAR6,4,1) AND VAR5>2 AND VOL>REF(VOL,1),NODRAW,COLORYELLOW;
 DRAWTEXT(今日之升★,L/1.01,'★'),COLORYELLOW;
强势:IF(VAR4>=REF(VAR4,1) AND VAR4>=0,M10,DRAWNULL),COLORRED,LINETHICK2;
整理:IF(VAR4<REF(VAR4,1) AND VAR4>0,M10,DRAWNULL),COLORGREEN,LINETHICK2;
支撑:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=5),QWX5,DRAWNULL),DRAWNULL),COLORCYAN;
阻力:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=5),QWX6,DRAWNULL),DRAWNULL),COLORYELLOW;
 {柱型显示 分析家公式网}
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;
 STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;
 {蓝}
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
 {红} 
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF; 
 STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
 {绿}
STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,3,0),COLOR009900; 
 STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00;
 STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,1.5,0),COLOR00DD00; 
 STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;
 {灰} 
STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;
 STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; 
 STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD; 
 STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;
 STICKLINE(CROSS(JX,DX),OPEN,CLOSE,0.5,0),COLORYELLOW;
 STICKLINE(CROSS(DX,JX),OPEN,CLOSE,0.5,0),COLOR000099;
 
 
通达信公式
 

[url=http://www.70822.com/soft/sort013/sort05/down-158257.html]一线定江山,叠加公式到主图(通达信公式 主图 源码 测试图)[/url]

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