ÄúÏÖÔÚµÄλÖ㺺ùÉÍø >> ¹ÉƱ¹«Ê½ >> ͨ´ïÐŹ«Ê½

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

[ÏÂÔصØÖ·]
  • ¸üÐÂʱ¼ä£º2019-10-13 10:26:00
  • Ö¸±ê¹¦ÄÜ£º¹ú²úÈí¼þ
  • ¹«Ê½´óС£º0 Bytes
  • ½âѹÃÜÂ룺goodgupiao
  • ÍƼöÐǼ¶£º
  • ÊÚȨ·½Ê½£º¹²Ïí°æ
  • ¹«Ê½·ÖÀࣺͨ´ïÐŹ«Ê½
  • Ö¸±êÀàÐÍ£º¼òÌåÖÐÎÄ
  • ÔËÐл·¾³£ºWin2000/WinXP/Win2003/
  • ËùÐè»ý·Ö£º0
  • Ïà¹ØTags£º

ʵսMACD(ʵսָ±ê¶þ)½éÉÜ

ºÃ¹ÉÍø(www.goodgupiao.com)Ìáʾ£ºÄúÕýÔÚÏÂÔصÄÊÇ£ºÊµÕ½MACD(ʵսָ±ê¶þ)

ʵս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;


ºÃ¹ÉÍø(www.goodgupiao.com)ÌáÐÑÄú£º¹ÉÊÐÓзçÏÕ£¬Í¶×ÊÐè½÷É÷¡£
ʵսMACD(ʵսָ±ê¶þ)ÏÂÔصØÖ·
ÏÂÔرؿ´£¨ÎªÁ˱£ÕÏÄúµÄȨÒ棬ÇëÔÚÏÂÔØÖ¸±êÇ°Îñ±Ø¿´Çå³þÏà¹Ø˵Ã÷£©
  • ÍøÕ¾×¢²á¡¢ÕÒ»ØÃÜÂë¡¢ÏÂÔعý³ÌÓöµ½ÎÊÌ⣬ÇëÄúÁªÏµ »ò £¬ÎÒÃÇ»áÔÚµÚһʱ¼äÖ¸µ¼·´À¡¡£
  • »ý·ÖÖ¸±êʹÓÃÓöµ½ÎÊÌ⣬ÈçÖ¸±ê°²×°²»³É¹¦»òÖ¸±ê½éÉܵÄÌصãÓëʵ¼Ê·¢²¼µÄ²»·û£¬ÇëÁªÏµºÃ¹ÉÍø¿Í·þ½øÐÐÎÊÌâ´¦Àí¡£
  • Ö¸±êÀ´Ô´ÍøÂçÊÕ¼¯ºÍ»áÔ±Ìṩ£¬²»±£Ö¤ÌṩµÄÏÂÔØ×ÊÔ´µÄ׼ȷÐÔ¡¢°²È«ÐÔºÍÍêÕûÐÔ¡£Çë×ÔÐн÷É÷Õç±ð¹«Ê½Ïà¹ØÃèÊöºóÔÙÏÂÔØ£¬ºÃ¹ÉÍø²»±£ÕϺͳе£Ê¹ÓøÃÖ¸±ê¹«Ê½Í¶×Ê´øÀ´µÄÒ»ÇÐËðʧ¡£
  • Ö¸±ê½ö¹©Ñ§Ï°ºÍÑо¿Ê¹Ó㬲»µÃÓÃÓÚÉÌÒµ»òÕß·Ç·¨ÓÃ;¡£±¾Õ¾¶ÔÓÚÌṩÏÂÔصÄÖ¸±ê¡¢Èí¼þµÈ²»ÓµÓÐÈκÎȨÀû£¬Æä°æȨ¹é¸ÃÏÂÔØ×ÊÔ´µÄºÏ·¨ÓµÓÐÕßËùÓУ¬ÈçÓÐÇÖ·¸ÄúµÄ°æȨ£¬Çë²é¿´¡¶ÇÖȨͶËß¡·£¬±¾Õ¾½«ÒƳýÏà¹ØÄÚÈÝ¡£
¸ü¶à×îÐÂÖö¥Ö¸±ê¹«Ê½
Ïà¹Ø˵Ã÷
  • Ä¿Ç°Êг¡³£ÓÃÈí¼þÓÐͨ´ïÐÅ¡¢´óÖǻ۵ȣ¬Í¨´ïÐÅ°æ±¾´Ó¸ßµ½µÍµÄÖ¸±ê¸ñʽÓÐtn6¡¢tne¡¢tni£¬¹ÉƱ³Ø¸ñʽΪXML¡£´óÖÇ»ÛÖ¸±ê¸ñʽÓÐfnc£¬¹ÉƱ³Ø¸ñʽΪXML¡£
  • ͨ´ïÐÅÖ¸±êµ¼Èë°²×°¿ì½Ý·½·¨£º¿ì½Ý¼üCTRL+F £¾ ¹«Ê½¹ÜÀíÆ÷Ãæ°å µ¼È빫ʽ £¾ Ñ¡ÔñÒªµ¼ÈëµÄ¹«Ê½ ´ò¿ª £¾ ÔÚµ¼È빫ʽÃæ°åÖÐ ¹´Ñ¡¹«Ê½£¬È·¶¨¡£
  • ͨ´ïÐÅÖ¸±ê³ÊÏÖ¿ì½Ý·½·¨£ºµã»÷Ö¸±êÃæ°åÒªÏÔʾµÄÖ÷ͼ»ò¸±Í¼£¬¿ì½Ý¼üCTRL+I £¾ Ñ¡ÔñÖ¸±ê£¬È·¶¨¡£
  • alg¸ñʽ¹ÉƱ¹«Ê½£¬½ö½ö¿ÉÒÔÓ÷ɺü½»Ò×ʦ¹ÉƱÈí¼þÒýÈëʹÓã»
  • fnc¸ñʽ¹ÉƱ¹«Ê½£¬¿ÉÒÔÓôóÖÇ»ÛÐÂÒ»´ú¸ßËÙÐÐÇé·ÖÎöϵͳ¹ÉƱÈí¼þʹÓã¬ÉÙ²¿·Ö¿ÉÒÔÓ÷ÖÎö¼Ò¹ÉƱÈí¼þÒýÈëʹÓã»
  • exp¸ñʽ¹ÉƱ¹«Ê½£¬½ö¿ÉÒÔÓôóÖǻ۾­µä°æ¹ÉƱÈí¼þÒýÈëʹÓã»
  • tncºÍtni¸ñʽ¹ÉƱ¹«Ê½£¬½ö¿ÉÒÔÓÃͨ´ïÐÅÐÂÒýÈëʹÓã¬ÀýÈç¿ÉÒÔÓÃͨ´ïÐŹÉƱÈí¼þÒýÈëʹÓã»
  • tn6¸ñʽ¹«Ê½£¬½ö¿ÉÒÔÓÃͨ´ïÐŹ«Ê½±à¼­Æ÷5.0°æµ¼È룬¸ß°æ±¾¼æÈݵͰ汾£»
  • hxf¸ñʽ¹ÉƱ¹«Ê½£¬½ö¿ÉÒÔÓÃͬ»¨Ë³¹ÉƱÈí¼þÒýÈëʹÓá£
  • Èç¹ûÒýÈ빫ʽµÄʱºò£¬·¢ÏÖ¹«Ê½Ãû³ÆÀ¸¿Õ°×£¬µ÷ÕûµçÄÔʱ¼äµ½1997Ä꣬ÄܳöÏÖ¹«Ê½Ãû³Æ²¢Õý³£ÏÔʾ£¬¿ÉÄÜÊǹ«Ê½Ê¹ÓÃÆÚÏÞÒѹý¡£
  • Èç¹ûÄú·¢ÏÖÏÂÔØÁ´½Ó´íÎó£¬Çëµã»÷±¨¸æ´íÎóлл£¡