³ô¼°Åê»ñ¤Ë¤ª¤¤¤Æ·ç¤«¤»¤Ê¤¤³ô²Á¥Á¥ã¡¼¥È¤ä¥È¥ì¥ó¥É¤äÁê¾ì¤ÎÀª¤¤¤òʬÀϤ¹¤ë¥¤¥ó¥¸¥±¡¼¥¿¡¼¡£
¤À¤¬¡¢Ê£¿ô¤Î°ÜÆ°Ê¿¶ÑÀþ¤òɽ¼¨¤·¤¿¤ê¡¢¥È¥ì¥ó¥É¤È¥ª¥·¥ì¡¼¥¿¡¼·Ï¤òÊ»ÍѤ·¤Æ¥Ý¥¤¥ó¥È¤òõ¤Ã¤¿¤ê¤È¤¤¤Ã¤¿¡¢
¼«Ê¬¤Ê¤ê¤Î¥¢¥¤¥Ç¥¢¤ò·Á¤Ë¤¹¤ë¤Ë¤Ï´û¸¤Î¥¤¥ó¥¸¥±¡¼¥¿¡¼¤À¤±¤Ç¤Ï¸Â³¦¤¬¤¢¤ë¡£
À¤³¦Ãæ¤Ç°¦ÍѤµ¤ì¤Æ¤¤¤ë¹âµ¡Ç½¥Á¥ã¡¼¥È¥½¥Õ¥È¡ÖTradingView¡×¤Ê¤é¤Ð¡¢¤µ¤Þ¤¶¤Þ¤Ê¥¤¥ó¥¸¥±¡¼¥¿¡¼¤ä¥¹¥È¥é¥Æ¥¸¡¼¤¬ÅëºÜ¤µ¤ì¤Æ¤¤¤ë¤À¤±¤Ç¤Ê¤¯¡¢PineScript¤È¤¤¤¦ÀìÍÑ¥×¥í¥°¥é¥à¤Ç´Êñ¤Ë¥«¥¹¥¿¥Þ¥¤¥º²Äǽ¤À¡£¤µ¤é¤Ë¡¢À¤³¦¤Î¸Ä¿ÍÅê»ñ²È¤Ë¤è¤Ã¤Æ¸ø³«¤µ¤ì¤¿¥¢¥¤¥Ç¥¢¤ò¥¢¥ì¥ó¥¸¤·¤Æ»È¤¨¤Ð¡¢¥ª¥ê¥¸¥Ê¥ë¤ÎÇäÇãÀïά¤ò¶áÆ»¤Ç¹½ÃۤǤ¤ë¡£
¤¿¤À¤·¡¢¸ø³«¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ï¤¢¤¯¤Þ¤Ç¾¼Ô»ÅÍÍ¡£ÍøÍѼԤ襤¥Ü¥ê¥ó¥¸¥ã¡¼¥Ð¥ó¥É¤â¼«Ê¬»ÅÍͤˤ¹¤ë¤Ë¤Ï¡¢¤½¤Î¹½Â¤¤òÃΤëɬÍפ¬¤¢¤ë¡£¤½¤³¤ÇËܽñ¤Ç¤Ï¥×¥í¥°¥é¥ß¥ó¥°Ì¤·Ð¸³¼Ô¤¬»Ï¤á¤ä¤¹¤¤¤è¤¦¤Ë¡¢¤¤¤¤Ê¤êÇäÇãÀïά¤ò¹½ÃÛ¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¥Á¥ã¡¼¥È¤Ë¿á¤½Ð¤·¤ò½Ð¤·¤¿¤ê¡¢¾ò·ï¤Ë¤¢¤Ã¤¿¥¿¥¤¥ß¥ó¥°¤Ç¥Á¥ã¡¼¥È¤ÎÇØ·Ê¿§¤òÊѤ¨¤¿¤ê¡¢¥¤¥ó¥¸¥±¡¼¥¿¡¼¤Î·×»»Â¤ò¤·¤¿¤ê¤È´ðËÜŪ¤Êµ½ÒÊýË¡¤ò°ìÊ⤺¤Ä²òÀ⤷¤Æ¤¤¤¯¡£
PineScript¤Î¹½Â¤¤òÍý²ò¤·¤¿¤¢¤È¤ÏºîÀ®¤·¤¿¥¤¥ó¥¸¥±¡¼¥¿¡¼¤ò»È¤Ã¤Æ¡¢¾ò·ï¤òËþ¤¿¤·¤¿¤¦¤¨¤Ç¥È¥ì¥ó¥ÉȯÀ¸»þ¤Î¥´¡¼¥ë¥Ç¥ó¥¯¥í¥¹¤ÇÇã¤Ã¤¿¤ê¡¢¥í¡¼¥Ð¥ó¥É¤ò»È¤Ã¤¿¥È¥ì¥¤¥ê¥ó¥°¥¹¥È¥Ã¥×¤ò½ñ¤¤¤¿¤ê¤È¡¢¤è¤ê¼ÂÁ©Åª¤ÊÎý½¬¤Ë¿Ê¤à¡£¤½¤·¤ÆºÇ¸å¤Ë¤Ï¡ÈÃÍÉý¡É¤ò»ØÄꤷ¤Æ·èºÑ¤¹¤ë¥¹¥È¥é¥Æ¥¸¡¼¤ä¡È²Á³Ê¡É¤ò»ØÄꤷ¤Æ·èºÑ¤¹¤ë¥¹¥È¥é¥Æ¥¸¡¼¤Î¥Æ¥ó¥×¥ì¡¼¥È¤ò¤Ä¤¯¤Ã¤Æ¡¢¼«Ê¬¤Î¾ò·ï¤Ë±þÍѤǤ¤ë¤è¤¦¤Ë¤¹¤ë¡£
ºîÀ®¤·¤¿¥¹¥È¥é¥Æ¥¸¡¼¤Î͸úÀ¤â¥Ð¥Ã¥¯¥Æ¥¹¥È¤Ç´Êñ¤Ë³Îǧ¤Ç¤¤ë¡£¤µ¤é¤Ë¥¹¥Þ¥Û¤Ë¥¢¥é¡¼¥È¤òÄÌÃΤµ¤»¤ì¤Ð¡¢¤½¤Î¥¿¥¤¥ß¥ó¥°¤òƨ¤¹¤³¤È¤â¤Ê¤¤¡£
ÆüËܿͤˤè¤ë½é¤ÎPineScript¤Î²òÀâËܤȤʤëËܽñ¤Ï¡¢TradingView¤òÍøÍѼԤΤߤʤ餺¡¢³ô¼°Åê»ñ¤Î¸úΨ¤ò¿Þ¤ê¤¿¤¤Êý¤Îɬ·È½ñ¤Ç¤¢¤ë¡£
¢£ÊäÂ(2023.2·î)
¡»P.277¡Ê¥ê¥¹¥È7-9¡Ë¤Ë¤Ä¤¤Þ¤·¤Æ
(Ëܽñ¼¹É®¸å¤Î)21ǯ9·î¤Ë¡¢¥È¥è¥¿¡Ê7203¡Ë¤Ç¤Ï³ô¼°Ê¬³ä¤¬¹Ô¤ï¤ì¤¿¤è¤¦¤Ç¤¹¡£
¡¦³ô¼°Ê¬³ä¤¬¤¢¤Ã¤¿¥¨¥Ó¥Ç¥ó¥¹
¤½¤Î¤¿¤á¡¢¸½¾õ¤Ç¤Ïp279¿Þ7.14¤ÈƱ¤¸³¨¤ò½Ð¤½¤¦¤È¤·¤Æ¤âÉÔ²Äǽ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡Ê½Ä¼´¤Î³ô²Á¤¬5ÇÜ¥º¥ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡Ë¡£
¤½¤ì¤òƧ¤Þ¤¨¤¿¾å¤Ç¡¢Ëܽñ¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÄ̤ê½é´ü»ñ¶â¤ò1000Ëü±ß¤Ë¤¹¤ë¤È¡¢¤Ò¤È¤Þ¤º¥Ð¥Ã¥¯¥Æ¥¹¥È·ë²Ì¤¬É½¼¨¤µ¤ì¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤·¤¿¡£
¤Ê¤ª¡¢½é´ü»ñ¶â¤ò1000Ëü±ß¤Ë¤¹¤ë»Ý¤Ï¡¢¥ê¥¹¥È7.9¤Î¸å¤Îʸ¾Ï¤Ç¼¨¤·¤Æ¤¤¤Þ¤¹¡Ê¤¢¤ëÄøÅ٤λñ¶â¤¬Ìµ¤±¤ì¤Ð³ô¿ô¤¬0¤È¤Ê¤ê¹ØÆþ¤Ç¤¤Ê¤¤¤Î¤Ç¡¢½é´ü»ñ¶â¤ò1000Ëü±ß¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤¹¡Ë¡£
¡¦³Îǧ¤·¤¿·ë²Ì
°ì±þ¥Ð¥Ã¥¯¥Æ¥¹¥È¤Ï¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ÌÜɸ¤Î³ô²Á¤ËÅþ㤹¤ëÁ°¤ËÍø¿©¤¤¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£
¤³¤ì¤Ï¡¢83¹ÔÌܤÎ
strategy.exit(id = "exit", from_entry = "long", profit = ProfitDelta, loss = LossDelta)
¤¬³ô¼°Ê¬³ä¤Ë¤è¤ê¤¦¤Þ¤¯Æ°¤¤¤Æ¤¤¤Ê¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È¹Í¤¨¤Þ¤¹¡£TradingView¤Î¥Ð¥°¤È»×¤ï¤ì¤Þ¤¹¡ÊProfitDelta¤äLossDelta¤ÎÃͤ¬Ëü°ì´Ö°ã¤Ã¤Æ¤¤¤ë¤È¡¢¤½¤â¤½¤âÇãÃ;岼¤ÎÀÖÀÄÀþ¤âÀµ¤·¤¯É½¼¨¤µ¤ì¤Ê¤¤¤¿¤á¤Ç¤¹¡Ë¡£
¤Á¤Ê¤ß¤Ë¡¢²Á³Ê¤ò»ØÄꤷ¤Æ·èºÑ¤¹¤ë¤Û¤¦¤Ï¡¢Àµ¤·¤¯Æ°¤¯¤³¤È¤ò³ÎǧºÑ¤ß¤Ç¤¹¡£
¡Ê¸½Âå¤ÎÏ£¶â½Ñ»Õ¥·¥ê¡¼¥º167¡Ë
ÆɼԤΤ´°Õ¸«
Ëܽñ¤Ï¡¢TradingView¤Ç¥¤¥ó¥¸¥±¡¼¥¿¡¼¤ä¥¹¥È¥é¥Æ¥¸¡¼¤òºîÀ®¤¹¤ë¤¿¤á¤Î...