当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:绝代双娇,通达信主图,和谐源码分享
软件名称:[B]绝代双娇,通达信主图,和谐源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2020-04-22 00:15:46
软件简介:
{公式名称: 绝代双娇
公式描述: 李玉指标
参数数量: 2
参数1: K, 最小: 1, 最大: 1000, 缺省: 8
参数2: M, 最小: 1, 最大: 1000, 缺省: 100
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
K: Param#0 (1.00--1000.00)
M: Param#1 (1.00--1000.00)
用法注释:无
公式源码:}
VAR1:=HIGH-CLOSE<=CLOSE-OPEN;
VAR2:=CLOSE>=OPEN;
VAR3:=LOW>REF(CLOSE,1) AND REF(HIGH,1)<REF(CLOSE,2);
VAR4:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND REF(HIGH,1)<REF(CLOSE,3) AND REF(HIGH,2)<REF(CLOSE,3);
VAR5:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND REF(HIGH,1)<REF(CLOSE,4) AND REF(HIGH,2)<REF(CLOSE,4) AND REF(HIGH,3)<REF(CLOSE,4);
VAR6:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND REF(HIGH,1)<REF(CLOSE,5) AND REF(HIGH,2)<REF(CLOSE,5) AND REF(HIGH,3)<REF(CLOSE,5) AND REF(HIGH,4)<REF(CLOSE,5);
VAR7:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND REF(HIGH,1)<REF(CLOSE,6) AND REF(HIGH,2)<REF(CLOSE,6) AND REF(HIGH,3)<REF(CLOSE,6) AND REF(HIGH,4)<REF(CLOSE,6) AND REF(HIGH,5)<REF(CLOSE,6);
VAR8:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND REF(HIGH,1)<REF(CLOSE,7) AND REF(HIGH,2)<REF(CLOSE,7) AND REF(HIGH,3)<REF(CLOSE,7) AND REF(HIGH,4)<REF(CLOSE,7) AND REF(HIGH,5)<REF(CLOSE,7) AND REF(HIGH,6)<REF(CLOSE,7);
VAR9:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND REF(HIGH,1)<REF(CLOSE,8) AND REF(HIGH,2)<REF(CLOSE,8) AND REF(HIGH,3)<REF(CLOSE,8) AND REF(HIGH,4)<REF(CLOSE,8) AND REF(HIGH,5)<REF(CLOSE,8) AND REF(HIGH,6)<REF(CLOSE,8) AND REF(HIGH,7)<REF(CLOSE,8);
VAR10:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND REF(HIGH,1)<REF(CLOSE,9) AND REF(HIGH,2)<REF(CLOSE,9) AND REF(HIGH,3)<REF(CLOSE,9) AND REF(HIGH,4)<REF(CLOSE,9) AND REF(HIGH,5)<REF(CLOSE,9) AND REF(HIGH,6)<REF(CLOSE,9) AND REF(HIGH,7)<REF(CLOSE,9) AND REF(HIGH,8)<REF(CLOSE,9);
VAR11:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND REF(HIGH,1)<REF(CLOSE,10) AND REF(HIGH,2)<REF(CLOSE,10) AND REF(HIGH,3)<REF(CLOSE,10) AND REF(HIGH,4)<REF(CLOSE,10) AND REF(HIGH,5)<REF(CLOSE,10) AND REF(HIGH,6)<REF(CLOSE,10) AND REF(HIGH,7)<REF(CLOSE,10) AND REF(HIGH,8)<REF(CLOSE,10) AND REF(HIGH,9)<REF(CLOSE,10);
VAR12:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND REF(HIGH,1)<REF(CLOSE,11) AND REF(HIGH,2)<REF(CLOSE,11) AND REF(HIGH,3)<REF(CLOSE,11) AND REF(HIGH,4)<REF(CLOSE,11) AND REF(HIGH,5)<REF(CLOSE,11) AND REF(HIGH,6)<REF(CLOSE,11) AND REF(HIGH,7)<REF(CLOSE,11) AND REF(HIGH,8)<REF(CLOSE,11) AND REF(HIGH,9)<REF(CLOSE,11) AND REF(HIGH,10)<REF(CLOSE,11);
VAR13:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND LOW>REF(HIGH,11) AND REF(HIGH,1)<REF(CLOSE,12) AND REF(HIGH,2)<REF(CLOSE,12) AND REF(HIGH,3)<REF(CLOSE,12) AND REF(HIGH,4)<REF(CLOSE,12) AND REF(HIGH,5)<REF(CLOSE,12) AND REF(HIGH,6)<REF(CLOSE,12) AND REF(HIGH,7)<REF(CLOSE,12) AND REF(HIGH,8)<REF(CLOSE,12) AND REF(HIGH,9)<REF(CLOSE,12) AND REF(HIGH,10)<REF(CLOSE,12) AND REF(HIGH,11)<REF(CLOSE,12);
VAR14:=BARSLAST(CLOSE<REF(LOW,1));
VAR15:=HHV(HIGH,VAR14+1);
VAR16:=LOW>VAR15;
DRAWICON(VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11 OR VAR12 OR VAR13,LOW*0.99,1);
DRAWICON(VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11 OR VAR12 OR VAR13,LOW*0.97,25);
DRAWTEXT(VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11 OR VAR12 OR VAR13,LOW*0.94,1),COLORYELLOW;
DRAWNUMBER(VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VAR10 OR VAR11 OR VAR12 OR VAR13,LOW*0.91,REF(CLOSE,1)),LINETHICK9;
VAR17:=HIGH<REF(CLOSE,1) AND REF(LOW,1)>REF(CLOSE,2);
VAR18:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND REF(LOW,1)>REF(CLOSE,3) AND REF(LOW,2)>REF(CLOSE,3);
VAR19:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND REF(LOW,1)>REF(CLOSE,4) AND REF(LOW,2)>REF(CLOSE,4) AND REF(LOW,3)>REF(CLOSE,4);
VAR20:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND REF(LOW,1)>REF(CLOSE,5) AND REF(LOW,2)>REF(CLOSE,5) AND REF(LOW,3)>REF(CLOSE,5) AND REF(LOW,4)>REF(CLOSE,5);
VAR21:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND REF(LOW,1)>REF(CLOSE,6) AND REF(LOW,2)>REF(CLOSE,6) AND REF(LOW,3)>REF(CLOSE,6) AND REF(LOW,4)>REF(CLOSE,6) AND REF(LOW,5)>REF(CLOSE,6);
VAR22:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND HIGH<REF(LOW,6) AND REF(LOW,1)>REF(CLOSE,7) AND REF(LOW,2)>REF(CLOSE,7) AND REF(LOW,3)>REF(CLOSE,7) AND REF(LOW,4)>REF(CLOSE,7) AND REF(LOW,5)>REF(CLOSE,7) AND REF(LOW,6)>REF(CLOSE,7);
VAR23:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND HIGH<REF(LOW,6) AND HIGH<REF(LOW,7) AND REF(LOW,1)>REF(CLOSE,8) AND REF(LOW,2)>REF(CLOSE,8) AND REF(LOW,3)>REF(CLOSE,8) AND REF(LOW,4)>REF(CLOSE,8) AND REF(LOW,5)>REF(CLOSE,8) AND REF(LOW,6)>REF(CLOSE,8) AND REF(LOW,7)>REF(CLOSE,8);
DRAWICON(VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23,HIGH*1.01,2);
DRAWICON(VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23,HIGH*1.03,27);
DRAWTEXT(VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23,HIGH*1.05,2),COLORGREEN;
DRAWNUMBER(VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23,HIGH*1.08,REF(CLOSE,1)),LINETHICK9;
MA8:MA(CLOSE,8),COLORWHITE,LINETHICK2;
MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
VAR24:=IF(CLOSE>REF(CLOSE,1),VOL,0);
VAR25:=IF(CLOSE<REF(CLOSE,1),VOL,0);
VAR26:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR27:=EMA(VAR26,9);
VAR28:=(VAR26-VAR27)*2;
VAR29:=MA(CLOSE,60);
VAR30:=MA(CLOSE,3);
VAR31:=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);
VAR32:=13;
VAR33:=M;
VAR34:=BARSLAST(VAR31=LLV(VAR31,21));
VAR35:=CROSS(REF(VAR31,3),REF(VAR32,3)) AND (REF(CLOSE,3)<REF(MA8,3) AND REF(CLOSE,2)<REF(MA8,2) AND REF(CLOSE,1)<REF(MA8,1)
[url=http://www.70822.com/soft/sort013/sort05/down-147084.html]绝代双娇,通达信主图,和谐源码分享[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-147084.html]绝代双娇,通达信主图,和谐源码分享[/url]