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

软件名称:[B]黄金四色,公开通达信公式源码分享 主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2020-08-11 00:16:38
软件简介:

 {公式名称: 黄金四色

公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式源码:}
DRAWGBK(CLOSE>0,RGB(20,0,28),RGB(20,0,28),0,0,1);
VAR1:=120;
VAR2:=BARSLAST(CURRBARSCOUNT=VAR1);
VAR3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,VAR2),0));
VAR4:=CONST(IF(ISLASTBAR=1,LLV(LOW,VAR2),0));
VAR5:=VAR3-VAR4;
高:IF(CURRBARSCOUNT<=VAR1,VAR3,DRAWNULL),POINTDOT,COLORYELLOW;
压:IF(CURRBARSCOUNT<=VAR1,VAR3-VAR5*0.191,DRAWNULL),NODRAW,COLORMAGENTA;
平衡:IF(CURRBARSCOUNT<=VAR1,VAR4+VAR5/2,DRAWNULL),NODRAW,COLORYELLOW;
支撑:IF(CURRBARSCOUNT<=VAR1,VAR4+VAR5*0.191,DRAWNULL),NODRAW,COLORGREEN;
低:IF(CURRBARSCOUNT<=VAR1,VAR4,DRAWNULL),POINTDOT,COLORGREEN;
天:BARSLAST(LOW=VAR4),NODRAW,COLORYELLOW;
STICKLINE(CURRBARSCOUNT<=VAR1,平衡,平衡,3,(-1)),COLORWHITE;
STICKLINE(CURRBARSCOUNT<=VAR1,压,压,3,(-1)),COLORRED;
STICKLINE(CURRBARSCOUNT<=VAR1,支撑,支撑,3,(-1)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,压,1),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,平衡,2),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,支撑,3),COLORYELLOW;
{公式指标网 WWW.70822.com 整理}
VAR6:=EMA(CLOSE,21);
VAR7:=VAR6<REF(VAR6,1);
VAR8:=IF(VAR7-1,VAR6,DRAWNULL);
VAR9:=EMA(CLOSE,3)>EMA(CLOSE,21);
VAR10:=EMA(CLOSE,3)<EMA(CLOSE,21);
VAR11:=EMA(CLOSE,3)>EMA(CLOSE,8);
VAR12:=EMA(CLOSE,3)<EMA(CLOSE,8);
STICKLINE(VAR9,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(VAR9,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(VAR9,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(VAR9,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(VAR9,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(VAR9,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(VAR9,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(VAR9,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(VAR9,CLOSE,OPEN,0.2,0),COLORYELLOW;
STICKLINE(VAR10,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR10,CLOSE,OPEN,3.2,0),COLOR006600;
STICKLINE(VAR10,CLOSE,OPEN,2.6,0),COLOR008800;
STICKLINE(VAR10,CLOSE,OPEN,1.9,0),COLOR00AA00;
STICKLINE(VAR10,CLOSE,OPEN,1.1,0),COLOR00CC00;
STICKLINE(VAR10,CLOSE,OPEN,0.3,0),COLORGREEN;
STICKLINE(VAR10 AND VAR11,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(VAR10 AND VAR11,CLOSE,OPEN,3.2,0),COLOR880088;
STICKLINE(VAR10 AND VAR11,CLOSE,OPEN,2.6,0),COLORAA00AA;
STICKLINE(VAR10 AND VAR11,CLOSE,OPEN,1.9,0),COLORCC00CC;
STICKLINE(VAR10 AND VAR11,CLOSE,OPEN,1.1,0),COLOREE00EE;
STICKLINE(VAR10 AND VAR11,CLOSE,OPEN,0.3,0),COLORFF44FF;
STICKLINE(VAR9 AND VAR12,HIGH,LOW,0,1),COLORFF8800;
STICKLINE(VAR9 AND VAR12,CLOSE,OPEN,3.2,0),COLORFF2200;
STICKLINE(VAR9 AND VAR12,CLOSE,OPEN,2.6,0),COLORFF4400;
STICKLINE(VAR9 AND VAR12,CLOSE,OPEN,1.9,0),COLORFF6600;
STICKLINE(VAR9 AND VAR12,CLOSE,OPEN,1.1,0),COLORFF8800;
STICKLINE(VAR9 AND VAR12,CLOSE,OPEN,0.3,0),COLORFFAA00;
DRAWTEXT(CURRBARSCOUNT=VAR1/2+9,VAR3-VAR5/12,4),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=VAR1/2+9,VAR3-VAR5/3,5),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=VAR1/2+9,VAR4+VAR5/3,6),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=VAR1/2+9,VAR4+VAR5/10,7),COLORCYAN;
VAR13:=EMA(CLOSE,13)-EMA(CLOSE,55);
VAR14:=EMA(0.618*REF(VAR13,1)+0.382*VAR13,3);
VAR15:=REF(CLOSE,1);
VAR16:=EMA(HHV(HIGH,1),8);
VAR17:=EMA(CLOSE,8);
VAR18:=VAR17<REF(VAR17,1) AND CLOSE<VAR17;
VAR19:=IF(VAR16<REF(VAR16,1) OR VAR18,1,0);
VAR20:=SMA(MAX(CLOSE-VAR15,0),2,1)/SMA(ABS(CLOSE-VAR15),2,1)*100;
VAR21:=45;
VAR22:=20;
VAR23:=VAR20<VAR21 AND REF(VAR20,1)>VAR21;
VAR24:=VAR20<VAR22 AND REF(VAR20,1)>VAR22;
VAR25:=(COUNT(VAR19=1,4)=3 AND VAR19=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND (REF(VAR24,1) OR REF(VAR23,1)));
DRAWICON(VAR25,LOW,7);
STICKLINE(VAR25,LOW,LOW+(HIGH-LOW)/2,2.7,0),COLORYELLOW;
STICKLINE(VAR25,LOW+(HIGH-LOW)/2,HIGH,2.7,0),COLORRED;
.......
部分源码省略,请下载导入公式

 
 

[url=http://www.70822.com/soft/sort013/sort05/down-149722.html]黄金四色,公开通达信公式源码分享 主图[/url]

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