本通达信公式:相似K线主图,最大的特点是:在右上角有预测 有明天上涨概率 DRAWGBK(OPEN>CLOSE,RGB(0,0,0),RGB(0,0,0),0,226,1);
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(1,0.99,0.99,1,STRCAT(227,EXTERNSTR(0,1))),COLORRED;
var1:=240/FROMOPEN;
var2:=var1;
var3:=HIGH-(HIGH-LOW)/3;
var4:=LOW+(HIGH-LOW)/3;
var5:=0.45;
var6:=CONST(HHV(HIGH,90));
var7:=CONST(LLV(LOW,100));
var8:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),1,0));
var9:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2),1,0));
var10:=CONST(IF(CLOSE=OPEN AND HIGH/LOW>1.03,1,0));
var11:=CONST(IF(CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH,1,0));
var12:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),1,0));
var13:=CONST(IF(REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2),1,0));
var14:=CONST(IF(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5),1,0));
var15:=CONST(IF(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5),1,0));
var16:=CONST(IF(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5),1,0));
var17:=CONST(IF(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5),1,0));
var18:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1) OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1)),1,0));
var19:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1),1,0));
var20:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1),1,0));
var21:=CONST(IF(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1)),1,0));
var22:=CONST(IF(ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND CLOSE<MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE>MIN(REF(CLOSE,1),REF(OPEN,1)),1,0));
var23:=CONST(IF(ABS(HIGH-REF(HIGH,1))/HIGH<0.001,1,0));
var24:=CONST(IF(ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001,1,0));
var25:=CONST(IF(CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018,1,0));
var26:=CONST(IF(REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1),1,0));
var27:=CONST(IF(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98,1,0));
var28:=CONST(IF(REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND CLOSE>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100,1,0));
var29:=CONST(IF(REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN,1,0));
var30:=CONST(IF(OPEN<EMA(CLOSE,20) OR OPEN<EMA(CLOSE,40) OR OPEN<EMA(CLOSE,60) AND CLOSE>MAX(EMA(CLOSE,20),MAX(EMA(CLOSE,40),EMA(CLOSE,60))) AND (VOL/MA(VOL,30)>1.2 AND CLOSE/REF(CLOSE,1)>1.049),1,0));
var31:=CONST(IF(REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4),1,0));
var32:=CONST(IF(REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4),1,0));
var33:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));
var34:=CONST(IF(REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1),1,0));
var35:=CONST(IF(LOW=CLOSE AND HIGH!=LOW,1,0));
var36:=CONST(IF(HIGH=CLOSE AND HIGH!=LOW,1,0));
var37:=CONST(IF(OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,1,0));
var38:=CONST(IF((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667,1,0));
var39:=CONST(IF((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,1,0));
var40:=CONST(IF(CLOSE=OPEN AND HIGH!=LOW,1,0));
var41:=CONST(IF(OPEN/CLOSE>1.05 AND HIGH/LOW<OPEN/CLOSE+0.018,1,0));
var42:=CONST(IF(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002 OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),1,0));
var43:=CONST(IF(REF(CLOSE,1)/REF(OPEN,1)>=1.03 AND OPEN<REF(CLOSE,1) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,1),1,0));
var44:=CONST(IF(EVERY(CLOSE<OPEN,4),1,0));
var45:=CONST(IF(EVERY(CLOSE>OPEN,4),1,0));
var46:=CONST(IF(VOL>REF(VOL,1) OR VOL>CAPITAL AND (OPEN>=REF(HIGH,1) AND REF(HIGH,1)>REF(HIGH,2)*1.06) AND CLOSE>REF(CLOSE,1)-REF(CLOSE,1)*0.01 AND (CLOSE<HIGH*0.965 AND HIGH>OPEN*1.05) AND (LOW<OPEN AND LOW<CLOSE AND HIGH>REF(CLOSE,1)*1.06) AND (HIGH-MAX(OPEN,CLOSE))/2>MIN(OPEN,CLOSE)-LOW AND ABS(OPEN-CLOSE)/2<MIN(OPEN,CLOSE)-LOW,1,0));
var47:=CONST(IF(REF(CLOSE,2)/REF(CLOSE,3)>=1.0977 AND REF(OPEN,1)>REF(HIGH,2) AND REF(LOW,1)>REF(HIGH,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>REF(CLOSE,1) AND LOW>REF(LOW,1),1,0));
STICKLINE(var8=1 AND (REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(var9=1 AND (REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(var10=1 AND (CLOSE=OPEN AND HIGH/LOW>1.03),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(var11=1 AND (CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(var12=1 AND (REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(var13=1 AND (REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLO |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!