ÔÚÇ°Ãæ¶ÔÍþÁ®Ö¸±ê¸ÄÁ¼µÄÎÄÕÂĩ⣬ÎÒÃÇÌرð½«W%RºÍKDJÖ¸±êµÄÏàͬÐÔ½øÐÐÁ˶ԱȽâÎö£¬±íÃ÷ʵ¼ÊÉÏKDJÖ¸±êµÄ¸Ä½ø»ù±¾Ã»Óиü´óµÄÓàµØ£¬·ñÔò¾ÍÍÑÀëÁËÔÖ¸±êµÄ¿ò¼Ü£¬¶ø²»ÊÇKDJÁË¡£µ«¿É‘¸ÄÁ¼’µÄµØ·½ÈÔÈ»´æÔÚ£¬Ê×ÏȴӸıäÔʼ²ÎÊýÈëÊÖ¡£Ö¸±êȱËð²ÎÊýΪ9£¬3£¬3£¬µ«Í¨¹ý±ÊÕß³¤ÆÚ¾Ñ飬¸ÄΪ20£¬6£¬6ΪºÃ£¬Ò²¾ÍÊǽ«Ô²ÎÊý·Å´óÁË2±¶£¬µ«ÔËÓü¼·¨²»±ä¡£Ð²ÎÊýµÄÖ¸±êѶºÅÄܽϺøú×ٹɼ۴󲨶α仯µÄ¸ßµãºÍµÍµã£¬¶Û»¯ÏÖÏóÃ÷ÏÔ¼õÉÙ¡£Êµ¼ÊÔËÓÃÖУ¬Ö¸±êÇúÏßÖÐJµÄѶºÅÒâÒåÊǼ¼·¨µÄÖص㣬ÐèÒª¼ÓÇ¿ÈÏʶ£¨ÔÚÇñһƽÏÈÉúËùÖøºìƤÊéϵÁС¶Ð¦°Á¹ÉÁÖ¡·ÖÐÓÐÏêϸ½éÉÜ£©¡£¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿¼´µ±¹É¼ÛÉÏÕÇ£¬JÖµ¸ßÓÚ100£¬¹É¼ÛÓÐËæʱ»ØÂäµÄ¿ÉÄÜ£¬µøÆÆ100ʱ±ØÐ뿼ÂÇÂô³ö£»µ±J£¬Kͬ²½ÔÚ80¸ßλÏòϽ»²æDʱ£¬Ô¤Ê¾²¨¶ÎÐÐÇ齫ÃæÁÙתÏò£¨µ±¹É¼ÛϵøͬÀí£©¡£ÔÚÎÒÃÇŬÁ¦¸ú×ٽϴ󲨶ζøÇ¿µ÷ѶºÅÎȶ¨µÄͬʱ£¬Í¨³£ÊÇÒÔÎþÉüС²¨¶ÎѶºÅΪǰÌáµÄ¡£ÕâÖ®ÖÐÄÜ·ñ¼æ¶ø¹ËÖ®ÄØ£¿ÏÈ¿´¿´KDJ¹«Ê½£º
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
Ò»¸ö°ì·¨ÊÇÔڸıä²ÎÊýºóµÄKDJÖ¸±êÖмÌÐø±£ÁôÔʼ²ÎÊýµÄJ,Ö»ÐèÔÚ¹«Ê½ÀïÔö¼Ó:
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,N)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:3*K2-2*D2;
Ö¸±êÓÐÁ½¸ö²»Í¬²ÎÊýµÄJÇúÏߣ¬Ò»¸ö±ä»¯ÂýÒ»¸ö½Ï¿ì£¡ÕâÑù¸ù¾ÝKDÇúÏßµÄÇ÷Êƺ͸ߵÍ×ÛºÏÅжϣ¬²¢ÊÓÁ½¸öJÖµµÄѶºÅ¶ø¼æ¹ËС²¨¶ÎºÍ´ó²¨¶ÎµÄÂòÂô²Ù×÷ÁË¡£
ÒѾ֪µÀKDJÖ¸±êµÄ¼¼·¨ºËÐÄÔÚJ£¬±ÊÕßÊÔ×ŶÔJÖµ½øÐиĽø£¬Ç¿»¯JµÄ¼¼ÊõÒâÒ壺¼´±£Ö¤ÆäÎȶ¨ÐÔ£¬Í¬Ê±ÓÖ¾¡Á¿²»Ëðʧ¶ÌÏßѶºÅ……¹«Ê½ÈçÏ£º¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿
ƽ¾ù¹É¼Û:=(2*c+o+l+h)/5;
RSV:=(ƽ¾ù¹É¼Û-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:ma(RSV,M);
D:=ref(K,1);
J:ma(2/3*D+1/3*D,2);
ÌìÏß:80;
µØÏß:20;
{²ÎÊýN=8£¬M=5}
¶Ô±ÈKDJÔ¹«Ê½¿ÉÖª¸Ä¶¯µÄµØ·½ÁË(×¢Òâ¸ÃÖ¸±êÖ»ÓÐKºÍJ,ûÓÐD),ÕâÑùJµÄ±ä»¯Æ½»¬Îȶ¨¶øÁéÃô£¬¼¼·¨ÔÚ´ËÈÔÈ»ÓÐЧ£¬µ«¸ÄÒÔ80,20ΪÉÏϼ«ÏÞ²ÎÕÕ×ø±ê¡£Õâ¾ÍÊÇÔçÆÚÔÚ·ÖÎö¼ÒÓÑô¹ãΪÁ÷´«µÄ‘Ñ©·É¿ìËÙKD’£¬³ÉΪ¶ÌÏߺÃÊÖµÄÖØÒªÖ¸±ê¡£ÓÐÈË»¹¸Ä±ä²»Í¬²ÎÊý£¬¶øʵÏÖ²»Í¬²Ù×÷¡£¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿
Èç¹ûÔÚ¿ìËÙKD¹«Ê½Öб£ÁôKDJÖ¸±ê²ÎÊý20£¬6£¬6µÄDÇúÏߣ¬ÒÔ¸ú×ÙÖÐÏßÇ÷ÊÆ£¬»á¸üÍêÉÆ£º
CLOSE2:=(2*c+o+l+h)/5;
RSV:=(CLOSE2-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:ma(RSV,M);
D:=ref(K,1);
J:ma(2/3*D+1/3*D,2);
RSV20:=(CLOSE2-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K20:=SMA(RSV20,6,1);
D20:SMA(K20,6,1);
ÌìÏß:80;
µØÏß:20;
{²ÎÊýN=8£¬M=5}