起涨主图指标 X_1:=IF(DATE<=1261231,1,1);
X_2:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
IF(X_1=1,X_2,DRAWNULL),COLORYELLOW,LINETHICK6;
IF(CLOSE>X_2 AND X_1=1,X_2,DRAWNULL),COLORRED,LINETHICK6;
IF(CLOSE< X_2 AND X_1=1,X_2,DRAWNULL),COLORGREEN,LINETHICK6;
X_3:=REF(CLOSE,1);
X_4:=IF((CLOSE-X_3)*100/X_3>=10-0.07*100/X_3,1,0);
STICKLINE(X_4,OPEN,CLOSE,0.2,0),COLORYELLOW;
X_5:=IF((X_3-CLOSE)*100/X_3>=10-0.03*100/X_3,1,0);
STICKLINE(X_5,OPEN,CLOSE,1,0),COLORBLUE;
DRAWTEXT_FIX(CLOSE< 0,0.01,0.9,0,22),COLORBLACK;
X_6:=STRCAT(HYBLOCK,4);
X_7:=STRCAT(X_6,DYBLOCK);
X_8:=STRCAT(X_7,4);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(X_8,GNBLOCK)),COLORWHITE;
X_9:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;
X_10:=MA(CLOSE,5);
X_11:=MA((LOW+HIGH+CLOSE)/3,5);
X_12:=MA(CLOSE,5);
X_13:=CLOSE*VOL;
X_14:=EMA((EMA(X_13,3)/EMA(VOL,3)+EMA(X_13,6)/EMA(VOL,6)+EMA(X_13,12)/EMA(VOL,12)+EMA(X_13,24)/EMA(VOL,24))/4,13);
X_15:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);
X_16:=LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58);
X_17:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_16,2);
X_18:=(3*X_13-2*SMA(X_17,5,1))*0.3;
X_19:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
X_20:=EMA(3*X_19-2*SMA(X_19,18,1),5);
X_21:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
X_22:=3*SMA(X_21,3,1)-2*SMA(SMA(X_21,3,1),5,1);
X_23:=(INDEXC*2+INDEXH+INDEXL)/4;
X_24:=EMA(X_23,13)-EMA(X_23,34);
X_25:=EMA(X_24,5);
X_26:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34);
X_27:=SMA(CLOSE,160,1);
X_28:=(55*X_27+34*REF(X_27,1)+22*REF(X_27,2)+15*REF(X_27,3)+8*REF(X_27,4)+5*REF(X_27,5)+3*REF(X_27,6)+2*REF(X_27,7)+REF(X_27,8)+REF(X_27,9))/155;
X_29:=REF(X_28,1);
X_30:=CLOSE=HHV(CLOSE,20);
X_31:=BARSLAST(X_30);
X_32:=IF(X_31>0,REF(CLOSE,X_31),REF(CLOSE,X_31));
X_33:=CROSS(CLOSE,REF(X_32,1));
X_34:=X_33 AND COUNT(X_33,5)=1 AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,10);
DRAWICON(X_34,LOW*0.95,9);
X_35:=(CLOSE+LOW+HIGH)/3;
X_36:=ATAN(EMA(X_35,13)-REF(EMA(X_35,13),1))*3.1416*10;
X_37:=EMA(CLOSE,8);
X_38:=MA(CLOSE,5);
X_39:=(CLOSE-X_38)/X_38*100;
X_40:=ATAN((X_38/REF(X_38,1)-1)*100)*180/3.1416;
X_41:=SMA(EMA((X_38-REF(X_38,1))/REF(X_38,1),3)*100,3,1);
X_42:=EMA(X_41-REF(X_41,1),3);
X_43:=MA(CLOSE,10);
X_44:=MA(CLOSE,20);
X_45:=ATAN((X_43/REF(X_43,1)-1)*100)*180/3.1416;
X_46:=MA(CLOSE,30);
X_47:=(CLOSE-X_46)/X_46*100;
X_48:=X_44-X_46>REF(X_44-X_46,1) AND X_44>REF(X_44,1) AND X_46>REF(X_46,1);
X_49:=X_46-X_44< REF(X_46-X_44,1) AND X_44< REF(X_44,1) AND X_46< REF(X_46,1);
X_50:=ATAN((X_46/REF(X_46,1)-1)*100)*180/3.1416;
X_51:=FILTER(X_50>30 AND X_45>45 AND CROSS(X_40,60),10);
X_52:=FILTER(COUNT(CROSS(X_40,30),5)>=1 AND X_38>REF(X_38,1) AND X_47>REF(X_47,1) AND X_43>REF(X_43,1) AND X_42>REF(X_42,1) AND X_41>REF(X_41,1),10) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,20);
DRAWTEXT(X_52,LOW*0.95,'加仓'),COLORRED;
X_53:=MA(CLOSE,24)+2*STD(CLOSE,24);
X_54:=MA(CLOSE,5);
X_55:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND X_53>REF(X_53,1) AND X_53/MA(CLOSE,5)< 1.07 AND OPEN< X_53 AND CLOSE>X_53 AND CLOSE/REF(CLOSE,1)>1.031;
X_56:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;
X_57:=X_55 AND CLOSE>X_56;
X_58:=OPEN< MA(CLOSE,5) AND X_55 AND CLOSE< X_56;
X_59:=X_57 OR X_58;
X_60:=X_59 AND NOT(REF(X_59,1));
上轨:(1+11/100)*MA(CLOSE,10),DOTLINE,COLORWHITE;
X_61:=(1-9/100)*MA(CLOSE,10);
下轨:(上轨+X_61)/2.2,DOTLINE,COLORRED;
X_62:=OPEN;
X_63:=CLOSE;
X_64:=MA(REF(HHV(X_63,30),1),2);
X_65:=MA(REF(LLV(X_63,30),1),2);
X_66:=EMA(CLOSE,2);
X_67:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
X_68:=MA(CLOSE,60);
X_69:=88;
X_70:=6;
X_71:=EMA(EMA(EMA(CLOSE,2),2),2);
X_72:=MA(X_71,13)*0.99;
X_73:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_74:=MA(X_73,13);
X_75:=REF(CLOSE,1)-REF(X_74,1);
支撑线:HHV(X_75,15),COLORMAGENTA,LINETHICK2;
X_76:=EMA(AMOUNT/VOL/100,3);
X_77:=MA(CLOSE,5);
X_78:=MA(CLOSE,10);
X_79:=MA(CLOSE,20);
X_80:=MA(CLOSE,60);
X_81:=MA(CLOSE,120);
X_82:=CLOSE>X_77 AND X_77>X_78 AND X_78>X_79 AND X_79>X_80 AND X_80>X_81;
X_83:=X_82 AND REF(NOT(X_82),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);
DRAWICON(X_83,HIGH*1.046,17);
X_84:=CLOSE>MAX(X_77,MAX(X_78,X_79)) AND X_68>X_81 AND CLOSE>X_80;
X_85:=X_84 AND REF(NOT(X_84),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);
DRAWICON(X_85,HIGH*1.028,18);
X_86:=CLOSE>MAX(X_77,MAX(X_78,X_79)) AND CLOSE>MAX(X_80,X_81) AND NOT(X_68>X_81);
X_87:=X_86 AND REF(NOT(X_86),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);
DRAWICON(X_87,HIGH*0.97,16);
X_88:=CLOSE>X_77 AND X_77>X_78 AND X_78>X_79;
X_89:=X_88 AND REF(NOT(X_88),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);
DRAWICON(X_89,HIGH*0.9,23);
X_90:=CLOSE>MAX(X_10,MAX(X_78,X_79));
X_91:=X_90 AND REF(NOT(X_90),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);
DRAWICON(X_91,HIGH*0.93,22);
X_92:=(2*CLOSE+HIGH+LOW)/4;
X_93:=MA(X_92,5);
X_94:=REF(CLOSE,1)< REF(X_11,1) AND CLOSE>X_11 AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,20) AND NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.09);
DRAWTEXT(X_94,LOW*0.94,'起涨'),COLORYELLOW;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!