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

软件名称:[B]金屋藏娇通达信主图公式,和谐源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2020-04-22 00:15:46
软件简介:

 {公式名称: 金屋藏娇

公式描述: 李玉指标
参数数量: 2
参数1: M, 最小: 1, 最大: 1000, 缺省: 100
参数2: K, 最小: 1, 最大: 1000, 缺省: 8
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:
请设置计算参数:
M: Param#0 (1.00--1000.00)
K: Param#1 (1.00--1000.00)
用法注释:无
公式源码:}
 
MA8:MA(CLOSE,8),COLORWHITE,LINETHICK2;
MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
VAR2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
VAR3:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR4:=EMA(VAR3,9);
VAR5:=(VAR3-VAR4)*2;
VAR6:=MA(CLOSE,60);
VAR7:=MA(CLOSE,3);
VAR8:=3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1),3,1);
VAR9:=13;
VAR10:=M;
VAR11:=BARSLAST(VAR8=LLV(VAR8,21));
VAR12:=CROSS(REF(VAR8,3),REF(VAR9,3)) AND (REF(CLOSE,3)<REF(MA8,3) AND REF(CLOSE,2)<REF(MA8,2) AND REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND REF(CLOSE,2)<REF(MA20,2) AND REF(CLOSE,3)<REF(MA20,3) AND CLOSE>=MA20 AND REF(MA20,3)/REF(CLOSE,3)-1<2.8/100) OR (REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(OPEN,1))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>1.6/100 OR CLOSE>=MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
VAR13:=CROSS(REF(VAR8,2),REF(VAR9,2)) AND (REF(CLOSE,2)<REF(MA8,2) AND REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND REF(CLOSE,2)<REF(MA20,2) AND CLOSE>=MA20 AND REF(MA20,2)/REF(CLOSE,2)-1<3/100) OR (REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>=REF(OPEN,1))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>2/100 OR CLOSE>=MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND (LOW>REF(CLOSE,1) OR CLOSE-REF(CLOSE,1)>HIGH-CLOSE OR CLOSE-OPEN>HIGH-CLOSE OR OPEN-LOW>HIGH-CLOSE OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
VAR14:=CROSS(VAR8,VAR9) OR (CROSS(REF(VAR8,1),REF(VAR9,1)) AND (REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND CLOSE>=MA20 AND REF(MA20,1)/REF(CLOSE,1)-1<1.6/100) OR (REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1)))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>2/100 OR CLOSE>MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND (LOW>REF(CLOSE,1) OR CLOSE-REF(CLOSE,1)>HIGH-CLOSE OR CLOSE-OPEN>HIGH-CLOSE OR CLOSE-LOW>HIGH-CLOSE OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
DRAWICON(VAR12 OR VAR13 OR VAR14,LOW*0.9999,1),COLORYELLOW;
DRAWICON(VAR12 OR VAR13 OR VAR14,LOW*0.99,22),COLORYELLOW;
DRAWICON(VAR12 OR VAR13 OR VAR14 AND (MA20/CLOSE-1>4.8/100 OR CLOSE>MA20) AND HIGH-CLOSE<CLOSE-OPEN AND CLOSE>OPEN AND VOL>REF(VOL,1),LOW*0.965,29),COLORYELLOW;
VAR15:=CROSS(VAR4,VAR3) AND VAR3>0.1;
VAR16:=COUNT(CROSS(VAR4,VAR3),BARSLAST(VAR4<=0));
VAR17:=CROSS(VAR4,VAR3) AND VAR4>0 AND COUNT(VAR16=2,60)=1;
VAR18:=BARSLAST(REF(CROSS(VAR4,VAR3),1));
VAR19:=REF(CLOSE,VAR18+1)<CLOSE AND VAR3<REF(VAR3,VAR18+1) AND CROSS(VAR4,VAR3);
VAR20:=MA(CLOSE,K);
VAR21:=CLOSE<MA20 AND COUNT(VAR19=1,21)>=1 AND VAR5<0;
VAR22:=COUNT(VAR21,21)=1;
DRAWICON(CROSS(90,RSI.RSI1) AND CLOSE<=VAR7,HIGH*1.001,45),COLORGREEN;
DRAWICON(CROSS(VAR10,VAR8) AND CLOSE<=VAR20 OR (CROSS(REF(VAR10,1),REF(VAR8,1)) AND CLOSE<=VAR20 AND REF(CLOSE,1)>REF(VAR20,1)),HIGH*1.015,15),COLORGREEN;
DRAWICON(CROSS(VAR10,VAR8) AND CLOSE<=VAR20 OR (CROSS(REF(VAR10,1),REF(VAR8,1)) AND CLOSE<=VAR20 AND REF(CLOSE,1)>REF(VAR20,1)),HIGH*1.005,2),COLORGREEN;
 

[url=http://www.70822.com/soft/sort013/sort05/down-147083.html]金屋藏娇通达信主图公式,和谐源码分享[/url]

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