ÄúÏÖÔÚµÄλÖ㺺ùÉÍø >> ¹ÉƱ¹«Ê½ >> ͨ´ïÐŹ«Ê½ >> Ò»¼üתÌû£ºÊµÕ½MACD(ʵսָ±ê¶þ)

ʵսMACD(ʵսָ±ê¶þ)


Ö¸±ê¹¦ÄÜ£º[B]¹ú²úÈí¼þ[/B]
Ö¸±êÀàÐÍ£º¼òÌåÖÐÎÄ
ËùÐè»ý·Ö£º0
ÍƼöÐǼ¶£º
ÊÚȨ·½Ê½£º¹²Ïí°æ
¹«Ê½´óС£º0 Bytes
¸üÐÂʱ¼ä£º2019-10-13 10:26:00
¹«Ê½¼ò½é:

ʵսMACD(ʵսָ±ê¶þ)

DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;
MACD2 : 2*(DEA-DIFF),COLORgreen;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
ÖÜ£Ë:=MA("KDJ.K#WEEK"(9,3,3) ,5);
ÖÜ£Ä:=MA("KDJ.D#WEEK"(9,3,3) ,5);
ÖÜ£Ê:=MA("KDJ.J#WEEK"(9,3,3) ,5);
DRAWICON(k<20 and cross(k,d),MACD,1),align2;
Öܽð:DRAWTEXT(CROSS("KDJ.K#WEEK"(9,3,3),"KDJ.D#WEEK"(9,3,3)) ,MACD,'¡ø'),align2,COLORred;
ÖÜËÀ:DRAWTEXT(CROSS("KDJ.d#WEEK"(9,3,3),"KDJ.k#WEEK"(9,3,3)) ,macd*1.5,'¨‹'),align2,COLORgreen;
Ô½ð:DRAWTEXT(CROSS("KDJ.K#MONTH"(9,3,3),"KDJ.D#MONTH"(9,3,3)) ,MACD,'¡ø'),align2,COLORMAGENTA;
ÔÂËÀ:DRAWTEXT(CROSS("KDJ.D#MONTH"(9,3,3),"KDJ.K#MONTH"(9,3,3)) ,macd*1.5,'¨‹'),align2,COLORYELLOW;

LONG 26 SHORT 12 m 9

ÀíÂÛ¼°Ó÷¨:
¢ÙMACDÔÚ0ÏßÏ·½½ð²æʱ£¬ÖÜÏßKDJÔÚ³¬ÂôÇøÉúÁ˽ð²æ£¬ÄÜ×ß³öÒ»²¨¾¢ÉýÐÐÇé¡£ÖÜÏßKDJÊÇÈÕÏßMACDÔÚ0ÏßÏ·½½ð²æºóÉýÊÆÊÇ·ñÇ¿¾¢µÄ“¹ýÂËÆ÷”¡£
¢ÚMACDÁ½ÇúÏßÔÚ0ÏßÉÏ·½½ð²æʱ£¬ÒÔÂòÈëΪÖ÷£¬ÔÚ0ÏßÉÏ·½¸½½ü½ð²æʱ¸üÊÇÈç´Ë¡£MACDÔÚ0ÏßÉÏ·½½ð²æºó£¬ºóÃæµÄÉÏÉýÐÐÇé»á±ÈÇ°Ò»²¨ÉÏÉýÐÐÇéÉý·ù´ó£¬Á¦¶ÈÇ¿¡£
½ð²æʱmacd2¸ÕºÃÏòÏ´©¸üºÃ.

LONG 26 SHORT 12 m 9

DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:EMA(DIF,M);
MACD:2*(DIF-DEA),COLORSTICK;
MACD2:2*(DEA-DIF),COLORgreen;
A4:=BARSLAST(ref(cross(dif,dea),1));
B1:=ref(c,A4+1)>c and ref(dif,A4+1)<dif and cross(dif,dea);
DRAWTEXT(FILTER(B1>0,5),dif+0.2,'±³Àë'),COLORyellow;

²ÙÅÌ:STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORRED{COLOR6058FF};
¼õ²Ö:STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORblue{COLOR6058FF};
·´µ¯:STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{COLORFFFF00};
Ñ°µ×:STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORFFFF00;
¿Õ²Ö:0,COLORWHITE;

if(dif<0,dif,0),coloryellow,linethick2;
if(dif<0,0,dif),colorred,linethick2;
if(dif<dea,dif,dea),COLORWHITE,linethick2;
if(dif>dea,dea,dea),COLORgreen{colorff00ff},linethick2;


[url=http://www.goodgupiao.com/gupiaogongshi/55963.html][B]ʵսMACD(ʵսָ±ê¶þ)[/B][/url]