通达信“三周期共振”副图指标选股公式--右侧主升
鐐瑰嚮鍏虫敞鈽濓紝缃《+鏄熸爣姣忓ぉ璁㈤槄锛屽涔犳洿澶氭寚鏍囧唴瀹光樇鈽
涓銆佹寚鏍囪鏄庯細涓夊懆鏈熷叡鎸寚鏍囷紝鍒╃敤MACD鐨勬湀銆佸懆銆佹棩鍏辨尟鎶撲富鍗囨氮銆1銆佺晫闈㈢殑鍙岀嚎鏄棩绾у埆鐨凪ACD绾裤傜涓閬撴í绾夸负鏃ョ嚎闆惰酱锛岄噾鍙夋í绾垮彉绾傜浜岄亾妯嚎涓哄懆MACD銆侀噾鍙夊彉绾紱绗笁閬撴í绾夸负鏈圡ACD銆傞噾鍙夊彉娲嬬孩銆2銆佸湪鍑虹幇涓変釜鈥滈挶琚嬪瓙鈥濅俊鍙蜂箣鍚庯紝琛ㄧずMACD鏈堝懆鏈熷浜庡己鍔跨姸鎬佷腑锛岄暱绾跨湅娑ㄩ『鍔胯屼负銆3銆佷腑闂村懆绾夸负绾㈢嚎鏃讹紝涓嚎鐪嬫定銆傚綋鏃ACD鍙岀嚎鍥炶皟鑷抽浂杞撮檮杩戦噾鍙夛紝閫氬父鏄腑绾夸富鍗囨氮璧锋定鐐逛簩銆佸壇鍥惧叕寮忓涓嬶細
N鏃ュ惈3绠:=60;
鍛―B:="MACD.DIF#WEEK",COLORRED;
鍛ˋB:="MACD.DEA#WEEK",COLORRED;
鏈圖B:="MACD.DIF#MONTH",COLOR0080FF;
鏈圓B:="MACD.DEA#MONTH",COLOR0080FF;
CTDIF5:=EMA(CLOSE,12)-EMA(CLOSE,26);
CTDEA5:=EMA( CTDIF5,9);
DRAWTEXT_FIX(C>O,0,0.9,0,'寰俊鍏紬鍙凤細娆ф閲忓寲'),COLOR0000FF;
CTMACD:=2*( CTDIF5- CTDEA5),COLORSTICK;
鏈堥噾鍙3绾㈢:CROSS(鏈圖B,鏈圓B),NODRAW,COLORMAGENTA;
DRAWGBK_DIV(鏈堥噾鍙3绾㈢,RGB(0,0,0),RGB(140,10,30),0,0);
CTF2:0,COLORGREEN,LINETHICK1;
CTF1:IF(鍛―B>鍛ˋB,0,DRAWNULL),COLORRED,LINETHICK4;
CTF4:-0.1,COLORGREEN,LINETHICK1,POINTDOT;
CTF3:IF(鏈圖B>鏈圓B,-0.1,DRAWNULL),COLORMAGENTA,LINETHICK6;
CTF61:0.1,COLORGREEN,LINETHICK1;
CTF5:IF( CTDIF5> CTDEA5,0.1,DRAWNULL),COLORRED,LINETHICK1;
CTDIF: CTDIF5,COLORWHITE;
CTDEA: CTDEA5,COLORYELLOW;
DRAWICON(CROSS(CTDIF,CTDEA),CTDEA*1.002,26);
DRAWICON(鏈堥噾鍙3绾㈢,0.1,9);
DRAWICON(鏈堥噾鍙3绾㈢,0,9);
DRAWICON(鏈堥噾鍙3绾㈢,-0.1,9);
鏃ョ嚎:EXIST(鏈堥噾鍙3绾㈢,N鏃ュ惈3绠),NODRAW,COLORRED;
鏈堢嚎:鏈圖B>鏈圓B,NODRAW,COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,0.1,'鏃ョ嚎'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,0,'鍛ㄧ嚎'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,-0.1,'鏈堢嚎'),COLORYELLOW;
涓夈3閲嶉挶琚嬪瓙閫夎偂鍏紡锛
N鏃ュ惈3绠:=60;鍛―B:="MACD.DIF#WEEK",COLORRED;鍛ˋB:="MACD.DEA#WEEK",COLORRED;鏈圖B:="MACD.DIF#MONTH",COLOR0080FF;鏈圓B:="MACD.DEA#MONTH",COLOR0080FF;CROSS(鏈圖B,鏈圓B);
椋庨櫓鎻愮ず锛氭湰鎸囨爣鍏紡浠呬綔涓虹煡璇嗗垎浜紝妯℃嫙娴嬭瘯涓嶆瀯鎴愪换浣曟姇璧勫缓璁紝涓嶄綔鎶曡祫渚濇嵁銆
END
鍏紬鍙峰疄鐢ㄦ敹钘忔簮鐮佹墦鍖咃紝姣忓ぉ婧愮爜鏂囦欢鏇存柊鈫掔偣鍑婚摼鎺ヤ笅杞斤細
鐭ヨ瘑鏄熺悆