您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

2018通达信指标公式 趋势形有机会就进副图公式源码(3)

2018-07-03 16:35    股票知识   zhishi.southmoney.com
    

VAR52:=MA(CLOSE,10);

月21:MA(CLOSE,21),COLORYELLOW;

年207:MA(CLOSE,207),COLORRED,LINETHICK2;

VAR53:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

VAR54:=REF(VAR53,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR55:=REF(VAR54,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR56:=REF(VAR55,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR57:=REF(VAR56,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR58:=REF(VAR57,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR59:=REF(VAR58,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR60:=REF(VAR59,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR61:=REF(VAR60,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR62:=REF(VAR61,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR63:=REF(VAR62,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR64:=REF(VAR63,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

STICKLINE(VAR53 OR VAR54 OR VAR55 OR VAR56 OR VAR57 OR VAR58 OR VAR59 OR VAR60 OR VAR61 OR VAR62 OR VAR63 OR VAR64,CLOSE,REF(CLOSE,1),3,1),COLORRED;

VAR65:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);

VAR66:=REF(VAR65,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR67:=REF(VAR66,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR68:=REF(VAR67,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR69:=REF(VAR68,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR70:=REF(VAR69,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR71:=REF(VAR70,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR72:=REF(VAR71,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR73:=REF(VAR72,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR74:=REF(VAR73,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR75:=REF(VAR74,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR76:=REF(VAR75,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

STICKLINE(VAR65 OR VAR66 OR VAR67 OR VAR68 OR VAR69 OR VAR70 OR VAR71 OR VAR72 OR VAR73 OR VAR74 OR VAR75 OR VAR76,CLOSE,REF(CLOSE,1),3,0),COLORGREEN;

VAR77:=REF(VAR65 OR VAR66 OR VAR67 OR VAR68 OR VAR69 OR VAR70 OR VAR71 OR VAR72 OR VAR73 OR VAR74 OR VAR75 OR VAR76,1) AND VAR53;

STICKLINE(VAR77,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORGREEN;

VAR78:=REF(VAR53 OR VAR54 OR VAR55 OR VAR56 OR VAR57 OR VAR58 OR VAR59 OR VAR60 OR VAR61 OR VAR62 OR VAR63 OR VAR64,1) AND VAR65;

STICKLINE(VAR78,REF(CLOSE,1),REF(CLOSE,2),3,1),COLORRED;

VAR79:=IF(CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND LOW<REF(LOW,1) AND LOW>REF(LOW,2),REF(CLOSE,2),IF(CLOSE>REF(CLOSE,1),CLOSE,REF(CLOSE,1)));

宝一:IF(VAR78,REF(VAR79,1),VAR79),NODRAW;

VAR80:=IF(OPEN>REF(OPEN,1) AND REF(OPEN,1)>REF(OPEN,2) AND HIGH>REF(HIGH,1) AND HIGH<REF(HIGH,2),REF(OPEN,2),IF(CLOSE<REF(CLOSE,1),CLOSE,REF(CLOSE,1)));

VAR81:=IF(VAR77,REF(VAR80,1),VAR80);

VAR82:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)<REF(CLOSE,3) AND IF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4) OR (REF(CLOSE,2)<REF(CLOSE,4) AND REF(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE,6)<REF(CLOSE,7))));

VAR83:=DRAWTEXT(VAR82 AND CLOSE>REF(OPEN,2),LOW*0.98,275);

机构:(L2_AMO(0,0)-L2_AMO(0,1))/10000,NODRAW,COLORBLUE;

大户:(L2_AMO(1,0)-L2_AMO(1,1))/10000,NODRAW,COLORYELLOW;

主资金:(L2_AMO(0,0)-L2_AMO(0,1))/10000+(L2_AMO(1,0)-L2_AMO(1,1))/10000,NODRAW,COLORRED;

机大进:STICKLINE(机构>0 AND 大户>0,LOW-0.1,(LOW-0.4+LOW-0.4)/2,3.2,0),COLORMAGENTA;

大户进:STICKLINE(大户>0 AND 机构<0,LOW-0.1,(LOW-0.4+LOW-0.4)/2,3.2,0),COLORYELLOW;

机进:STICKLINE(机构>0 AND 大户<0,LOW-0.1,(LOW-0.4+LOW-0.4)/2,3.2,0),COLORBLUE;

更多股票公式相关资讯请关注南方财富网

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号