{公式名称: 绝代双娇 公式描述: 李玉指标
参数数量: 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) |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!