人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 同花順>> 同花順公式>>正文內容

同花順MACD優化精品指標公式[同花順公式]

相關標簽: macd指標詳解 、 macd指標 、 股市macd指標詳解 、 macd指標詳解l圖 、 macd指標的最佳設置值 、 macd指標詳解視頻 、 macd技術指標實戰精解 、 實戰中macd指標詳解 、 優化macd指標參數設置 、

 

 

同花順MACD優化精品指標公式


RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
A:=250;
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> ref(MM,1);
ZZ:=ref(JJ,1)=1;
準備:=(JJ AND ZZ)*DEA;
STICKLINE(準備=DEA,1,-1,2,1),COLORFFFF00;
JH:=HHV(MAX(K,MAX(D,J)),A);//程序化交易 www.kzuj.com.cn //
DH:=HHV(MAX(DIFF,DEA),A);
SH:=INTPART(JH/DH)/2;
DIFF50:=SH*DIFF+50,COLORFFFF00;
DEA50:=SH*DEA+50,COLORBLUE;
STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORRED;
STICKLINE(DIFF50<DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00;
紅柱:IF(1.5*(DIFF50-DEA50)>ref(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),
STICK,;
綠柱:IF(1.5*(DIFF50-DEA50)<ref(1.5*(DIFF50-DEA50),1),
1.5*(DIFF50-DEA50),0),STICK,COLORGREEN;
縮頭:=IF(1.5*(DIFF50-DEA50)>0 AND ref(1.5*(DIFF50-DEA50),1)>ref(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)< ref(1.5*(DIFF50-DEA50),1),1,0);
縮腳:=IF(1.5*(DIFF50-DEA50)<0 AND ref(1.5*(DIFF50-DEA50),1)< ref(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>ref(1.5*(DIFF50-DEA50),1),1,0);
殺多:=IF(1.5*(DIFF50-DEA50)<0 AND ref(1.5*(DIFF50-DEA50),1)> ref(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)<ref(1.5*(DIFF50-DEA50),1),1,0);
誘空:=IF(1.5*(DIFF50-DEA50)>0 AND ref(1.5*(DIFF50-DEA50),1)< ref(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>ref(1.5*(DIFF50-DEA50),1),1,0);
阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
DRAWTEXT(FILTER(殺多,3) AND 殺多,1.5*(DIFF50-DEA50),'殺多'),COLORFF00FF;
DRAWTEXT(FILTER(縮頭,3) AND 縮頭,1.5*(DIFF50-DEA50)+0.2,'賣'),COLORFF00FF;
DRAWTEXT(FILTER(誘空,3) AND 誘空,1.5*(DIFF50-DEA50),'?洗盤'),COLOR00FF00;
DRAWTEXT(FILTER(縮腳,3) AND 縮腳,1.5*(DIFF50-DEA50)-0.2,'買'),COLOR00FF00;
DRAWTEXT(FILTER(阻力,16) AND 1.5*(DIFF50-DEA50)>=0,1.5*(DIFF50-DEA50)+0.01,'¤阻力'),COLOR00FFFF;
VRA:=ref(CLOSE,1);
VRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(ABS(CLOSE-VRA),6,1)*100; //本文來至程序化交易網 cxh99.com//
VRC:=(2*CLOSE+HIGH+LOW)/4;
VR0:=LLV(LOW,34);
VR1:=HHV(HIGH,34);
VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6);
VR3:=EMA(0.667*ref(VR2,1)+0.333*VR2,4);
VA1:=(ref(HIGH,1)+ref(LOW,1))/2;
VA2:=MA(CLOSE,20)+2*STD(CLOSE,20);
VA3:=ref(CLOSE,1);
VA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100;
VA5:=CROSS(79,VA4);
VA6:=FILTER(VA5,4);
VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VA7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X1:=CROSS(VA1,VA2) OR VA6;
X2:=CROSS(84,VRB);
STICKLINE(X1 OR X2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0);
Y1:=IF(COUNT(CLOSE0.3 AND COUNT(VA2>VA3,3) AND ref(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
Y2:=IF(CLOSEMA(VOL,5)/240 AND CLOSE>ref(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0);
Y3:=CROSS(VA7,10);
Y4:=IF(COUNT(CLOSE0.3 AND COUNT(VR2>VR3,3) AND ref(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
STICKLINE(Y1 OR Y2 OR Y3 OR Y4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0);
DD:=C=HHV(C,180);
EE:=DEA< ref(DEA,1) AND ref(DEA< ref(DEA,1),1)=1;
CC:=C> ref(C,1) AND ref(C> ref(C,1),1)=1;
上升背離:(CC AND EE)*1.5*(DIFF50-DEA50),LINETHICK2,COLORWHITE;
頂背離:(DD AND EE AND DEA< HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,COLORGREEN;
FF:=C=LLV(C,180);
GG:= DEA> ref(DEA,1) AND ref(DEA> ref(DEA,1),1)=1;
LL:=C< ref(C,1) AND ref(C< ref(C,1),1)=1;
下降背離:(LL AND GG)*1.5*(DIFF50-DEA50),LINETHICK2,COLORYELLOW;
底背離:(FF AND GG AND DEA> LLV(DEA,180))*3*(DIFF50-DEA50),STICK,LINETHICK3,COLORRED;

 

//文章來至程序化交易網 cxh99.com//

 

 

 

(責任編輯:程序化交易網整理)

 

 

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流進行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 欧美日韩国产网站 | 成人免费黄网站 | 丝瓜香蕉视频 | 日本高清h色视频在线观看 日本妇人成熟免费观看18 | 亚洲国产欧美日韩一区二区 | 日韩欧美精品在线 | 午夜网站视频 | 日韩伦理一区二区 | 小明在看看永久免费平台 | 黄色短视频免费 | 女人洗澡一级毛片一级毛片 | 国产高清在线精品一区免费97 | 做a的视频免费 | 亚洲成av人片在线观看 | 日本天堂网在线观看 | 欧美成人免费tv在线播放 | 拔擦拔擦8x华人免费久久 | 久久精品免费观看视频 | 男女边摸边吃奶边做视频在线 | 99精品日韩 | 钻石午夜影院 | 一区二区精品久久 | 欧美日产国产亚洲综合图区一 | 五月天综合婷婷 | 精品久久天干天天天按摩 | 在线看成人 | 欧美亚洲桃花综合 | 成人做视频免费 | 国产精品毛片天天看片 | 黄瓜视频深夜释放自己 | 精品视频在线播放 | 欧美在线综合 | 中文字幕不卡一区 | 国产一级黄 | 日韩中文字幕在线播放 | 丁香激情综合色伊人久久 | 亚洲欧美一区二区三区另类 | 99视频在线观看免费视频 | 中国三级黄色 | 国产女人视频免费观看 | 午夜黄色 |