一箭双雕 ,和谐源码分享给大家 {公式名称: 一箭双雕
公式描述: 方璇指标
画线方法: 主图叠加}
MA8:MA(CLOSE,8),COLORWHITE,LINETHICK2;
MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
X_1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
X_2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
X_3:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_4:=EMA(X_3,9);
X_5:=(X_3-X_4)*2;
X_6:=MA(CLOSE,60);
X_7:=MA(CLOSE,3);
X_8:=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);
X_9:=13;
X_10:=90;
X_11:=BARSLAST(X_8=LLV(X_8,21));
X_12:=CROSS(REF(X_8,3),REF(X_9,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 X_8>=X_9;
X_13:=CROSS(REF(X_8,2),REF(X_9,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 X_8>=X_9;
X_14:=CROSS(X_8,X_9) OR (CROSS(REF(X_8,1),REF(X_9,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 X_8>=X_9;
DRAWICON(X_12 OR X_13 OR X_14,LOW*0.9999,1),COLORYELLOW;
DRAWICON(X_12 OR X_13 OR X_14,LOW*0.99,5),COLORYELLOW;
DRAWICON(X_12 OR X_13 OR X_14 AND X_11>=4 AND X_11<=10 AND (MA20/CLOSE-1>5/100 OR CLOSE>MA20) AND CLOSE-LOW>=HIGH-CLOSE,LOW*0.965,9),COLORYELLOW;
X_15:=CROSS(X_4,X_3) AND X_3>0.1;
X_16:=COUNT(CROSS(X_4,X_3),BARSLAST(X_4<=0));
X_17:=CROSS(X_4,X_3) AND X_4>0 AND COUNT(X_16=2,60)=1;
X_18:=BARSLAST(REF(CROSS(X_4,X_3),1));
X_19:=REF(CLOSE,X_18+1)<CLOSE AND X_3<REF(X_3,X_18+1) AND CROSS(X_4,X_3);
X_20:=MA(CLOSE,8);
X_21:=CLOSE<MA20 AND COUNT(X_19=1,21)>=1 AND X_5<0;
X_22:=COUNT(X_21,21)=1;
DRAWICON(CROSS(90,RSI.RSI1) AND CLOSE<=X_7,HIGH*1.001,45),COLORGREEN;
DRAWICON(CROSS(X_10,X_8) AND CLOSE<=X_20 OR (CROSS(REF(X_10,1),REF(X_8,1)) AND CLOSE<=X_20 AND REF(CLOSE,1)>REF(X_20,1)),HIGH*1.015,6),COLORGREEN;
DRAWICON(CROSS(X_10,X_8) AND CLOSE<=X_20 OR (CROSS(REF(X_10,1),REF(X_8,1)) AND CLOSE<=X_20 AND REF(CLOSE,1)>REF(X_20,1)),HIGH*1.005,2),COLORGREEN;
X_23:=HIGH-CLOSE<=CLOSE-OPEN;
X_24:=CLOSE>=OPEN;
X_25:=LOW>REF(CLOSE,1) AND REF(HIGH,1)<REF(CLOSE,2);
X_26:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND REF(HIGH,1)<REF(CLOSE,3) AND REF(HIGH,2)<REF(CLOSE,3);
X_27:=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);
X_28:=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);
X_29:=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);
X_30:=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);
X_31:=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);
X_32:=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);
X_33:=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);
X_34:=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);
X_35:=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);
X_36:=BARSLAST(CLOSE<REF(LOW,1));
X_37:=HHV(HIGH,X_36+1);
X_38:=LOW>X_37;
WWWFXJGSWCOM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWICON(X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 AND X_24,LOW*0.99,1);
DRAWICON(X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 AND X_24,LOW*0.97,25);
DRAWTEXT(X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 A |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!