中文字幕理论片,69视频免费在线观看,亚洲成人app,国产1级毛片,刘涛最大尺度戏视频,欧美亚洲美女视频,2021韩国美女仙女屋vip视频

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
優(yōu)化MACD結(jié)合斐波那契和各種頂?shù)妆畴x,副圖指標(biāo)

發(fā)一個(gè)自用的通達(dá)信MACD指標(biāo)吧。無未來,也不是完全原創(chuàng)。
 其實(shí)MACD的精華就8個(gè)字:買小賣小,縮頭縮腳。一個(gè)單獨(dú)的MACD并不能說明多大問題,但各種優(yōu)化的的指標(biāo)結(jié)合共振就有一定意義了。

各種背離信號和文字顏色是一致的??招闹鶠楸畴x信號。MACD二次金叉會文字提示。
 

{MACD的精華就8個(gè)字:買小賣小,縮頭縮腳。小指的是,紅綠柱的堆而言,
縮頭縮腳是指紅綠柱的長短而言。當(dāng)股價(jià)一波比一波高時(shí),反而紅柱的堆,
一堆比一堆小,證明產(chǎn)生了頂背離現(xiàn)象,應(yīng)該及時(shí)賣出;當(dāng)股價(jià)一波比一波低時(shí),
反而綠柱的堆一堆比一堆小,證明產(chǎn)生了底背離,應(yīng)該買進(jìn)。買點(diǎn)在綠堆小時(shí),
一根比一根短買進(jìn),也就是說縮腳時(shí)買進(jìn)。當(dāng)紅堆小時(shí),紅柱一根比一根短時(shí),
叫縮頭,賣出。這里的“大”和“小”是指MACD中的大綠柱,小綠柱,
和大紅柱,小紅柱。而在操作時(shí)圖中的DIF和MACD兩條白色和黃色的曲線,
一般是視而不見的,我們只注重紅綠柱的變化。}
{在牛市行情里,該指標(biāo)準(zhǔn)確率更高!我對MACD的理解是,當(dāng)股票下跌時(shí),
將MACD設(shè)置為三個(gè)步驟來操作:
買入法則:
1)當(dāng).MACD綠柱由長縮短時(shí)可以考慮買1/3;
2).當(dāng)DIFF由下降轉(zhuǎn)平或調(diào)頭向上時(shí)再買1/3;
3).當(dāng)DIFF由下向上上穿DEA(即金叉)時(shí)就可以全倉買進(jìn)了(也就是剩下1/3買進(jìn));
當(dāng)股票上升到一定的幅度時(shí),賣出法則:
4).當(dāng)MACD柱由長紅開始縮短時(shí),可以考慮賣出1/3;
5)當(dāng)DIFF由上升開始走平或向下時(shí),再賣出1/3;
6).當(dāng)DIFF下穿DEA(即死叉)時(shí),就將剩下的1/3全倉賣出!}
{本指標(biāo)使用了快速M(fèi)ACD系統(tǒng),比系統(tǒng)自帶靈敏度更高,且結(jié)合和KDJ,RSI指標(biāo)中的頂?shù)妆畴x}
{MACD}
DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
{STICKLINE(C>0,0,0,0,1);}
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
MACD底背:IF(B1>0,-0.1,0),COLORRED{POINTDOT};
STICKLINE(B1>0,-0.3,0,2.5,1),COLORRED;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,{POINTDOT};
STICKLINE(B2>0,-0.3,0,2.5,1),COLORFF00FF;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,{POINTDOT};
STICKLINE(B3>0,-0.3,0,2.5,1),COLORYELLOW;
MACD頂背:IF(D1>0,0.1,0),COLOR00FF00,{POINTDOT};
STICKLINE(D1>0,0.3,0,2.5,1),COLOR00FF00;
KDJ頂背:IF(D2>0,0.1,0),COLORFFCC66,{POINTDOT};
STICKLINE(D2>0,0.3,0,2.5,1),COLORFFCC66;
RSI頂背:IF(D3>0,0.1,0),COLORWHITE,{POINTDOT};
STICKLINE(D3>0,0.3,0,2.5,1),COLORWHITE;
{畫零軸上下線}
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000CC;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLOR0099FF;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLORFF9900;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR99CC00;
{紅藍(lán)箭頭標(biāo)注}
多轉(zhuǎn)空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));
空轉(zhuǎn)多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3)));
DRAWICON(多轉(zhuǎn)空,MACD,2);
DRAWICON(空轉(zhuǎn)多,MACD,1);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWTEXT(低位金叉,DEA,'低位金叉'),COLORFF00FF;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,2,0),COLORFF00FF;
DRAWTEXT(二次金叉,DEA*1.06,'二次金叉'),COLORRED;
{A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
頂背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWTEXT(頂背離,MACD+0.5,'頂背離'),COLORWHITE;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(底背離,MACD-0.5,'底背離'),COLORWHITE;}
{DIFF,COLORGREEN;
DEA,COLORYELLOW;}
強(qiáng):IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;
弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
{標(biāo)注斐波那契數(shù)字}
TJ:=MACD>0;
T:=MACD<0;
A:=LLV(MACD,50)=MACD;
DRAWICON(A AND FILTERX(A,20), MACD,1);
{DRAWTEXT(BARSLAST(TJ)=1,MACD-0.1,'1'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2,MACD-0.1,'2'),COLORYELLOW;}
DRAWTEXT(BARSLAST(TJ)=3,MACD-0.2,'3'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5,MACD-0.2,'5'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8,MACD-0.2,'8'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13,MACD-0.2,'13'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21,MACD-0.2,'21'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34,MACD-0.2,'34'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55,MACD-0.2,'55'),COLORYELLOW;
{DRAWTEXT(BARSLAST(T)=1,MACD+0.1,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=2,MACD+0.1,'2'),COLORGREEN;}
DRAWTEXT(BARSLAST(T)=3,MACD+0.2,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=5,MACD+0.2,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=8,MACD+0.2,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=13,MACD+0.2,'13'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=21,MACD+0.2,'21'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=34,MACD+0.2,'34'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=55,MACD+0.2,'55'),COLORGREEN;

 


繼續(xù)跟一個(gè)標(biāo)準(zhǔn)MACD加上斐波那契數(shù)列的。用的朋友可以2個(gè)相互比較下

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2 COLORSTICK;
TJ:=MACD>0;T:=MACD<0;
A:=LLV(MACD,50)=MACD;
DRAWICON(A AND FILTERX(A,20), MACD,1);
DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;

 

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
通達(dá)信MACD疊加KDJ副圖公式源碼
KDJ日周月金叉 - 指標(biāo)公式及技術(shù)研討 - 老錢莊 中國最好的股票論壇-縱橫股海夢,情系...
同花順背離公式2個(gè)
KDJ三金叉 副圖原碼(經(jīng)典)
頂?shù)妆畴x選股公式
顯示成本、背離、金叉共振的通達(dá)信好公式
更多類似文章 >>
生活服務(wù)
熱點(diǎn)新聞
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服