AccountFreeMargin()ã®ã©ãã§ããã話ã
ãã¦ãä»æ¥ã¯ãAccountFreeMargin()ã®ã©ãã§ããã話ããããã¨æãã¾ãã
ãã®é¢æ°ã¯ãï¼ãã¸ã·ã§ã³ã ãæã¤æã¯æå³ããæ£ãããããæ°ãè¿ãã¾ããåé¡ã¯ï¼ãã¸ã·ã§ã³ç®ã®æãªã®ã§ãã...å人çã«ã¯ãã®çµæã«éåæãæããã®ã§ã...^^ï¼
ä»ãã¬ãã¬ãã¸ï¼ï¼ï¼åã®æ¥è ã«ï¼ï¼ï¼ä¸åãå£åº§ã«ããã¨ãã¾ããè¨ç®ããããããã«ï¼ãã«ï¼ï¼ï¼ï¼åã§ããã«åï¼ä¸é貨ã®å¿ è¦è¨¼æ éãï¼ä¸åã¨ãã¦ããã¾ããããã§ã¬ãã¬ãã¸ï¼åç¨åº¦ã®éç¨ããããã¨èããå ´åã
(1) ï¼ãã¸ã·ã§ã³ç®ã¯ãï¼ï¼ï¼ããã(ï¼ä¸é貨)ãæã¤ãã¨ã«ãªãã¾ãã
(2) ä½å°è¨¼æ é(AccountFreeMargin)ã¯ãï¼ï¼ä¸åã«æ¸ãã¾ãã
(3) ï¼ãã¸ã·ã§ã³ç®ã¯ãCalculateLots ã«å¾ãã¨ï¼ï¼ï¼ï¼ããããæã£ã¦ãã¾ãã¾ãã
ããã§ã¬ãã¬ãã¸ãç´ï¼åã®ç¶æ
ã«ãªãã¾ãã
ã¬ãã¬ãã¸ï¼åæç®ã§ï¼ãã¸ã·ã§ã³åãã°ãï¼åã«ãªãã®ã¯å½ããå..ãªãã§ããã©ãã人ã«ãã£ã¦ã¯
(1) ï¼ãã¸ã·ã§ã³ç®ã¯ãï¼ï¼ï¼ããã(ï¼ä¸é貨)ãæã¤ãã¨ã«ãªãã¾ãã
(2) ã¬ãã¬ãã¸ï¼åã§èããæã®ä½å°è¨¼æ éã¯ãã¼ãã«æ¸ãã¾ãã
(3) ï¼ãã¸ã·ã§ã³ç®ã¯ãæã¦ã¾ããã
ãã®ãããªåä½ãæã¾ããæãããã¾ããã¤ã¾ããä¿æä¸ã®ãã¸ã·ã§ã³ãèæ
®ããä¸ã§ãã¬ãã¬ãã¸2åã«å¶éãããã¨ãããã¨ã§ãã
ããããè¨ç®ããããå ´åã¯ã以ä¸ã®ãããªé¢æ°ã§ãã¸ã·ã§ã³ã¨ã¬ãã¬ãã¸ãèæ
®ããä½å°è¨¼æ éãå¾ããã¾ãã
ä¸ã®é¢æ°ã¨ã»ã¼åãè¦é ã§ãéç¨æã®å®è¡ã¬ãã¬ãã¸ãæ±ããäºãå¯è½ã§ããï¼ä¸å³ï¼
ãããã®è¨ç®ã¯ä»¥ä¸ã®ããã«è¡ãã¾ããããããã¤ã³ã¸ã±ã¼ã¿ã«æ¸ããã®ãこれã§ãã
âã¤ã³ã¸ã±ã¼ã¿ã§ã¯ã¼ãå²ãå³ç¦ãªã®ã§ãã¼ãå²(åæ¯ãã¼ãã¨ãªãå²ãç®)ãèµ·ããªãããã«ãã§ãã¯ãå³éã«ãã¦ãã¾ãã
å®éã«ãã«å»ºã¦å£åº§ã§ CalculateLots ã¨ããã¸ã·ã§ã³ãèæ
®ãã CalculateRealLots ãæ¯è¼ããã®ãä¸å³ã§ãã
â証æ éï¼ä¸ãã«ã§ããã¸ã·ã§ã³ç¡ãã®å ´åã¯ãã¬ãã¬ãã¸ï¼åã§ã¯ã0.2ãããã¨è¡¨ç¤ºããã¾ãã
âå®é 0.2ããããä¿æããã¨ã CalculateRealLots ã¯ã¼ããè¿ãããã«ãªãã¾ãã
è¤æ°ã®é貨ãã¢ã§è¤æ°ã®ï¼¥ï¼¡ãåããã¦ãããã©ãå ¨ã¦ã®ï¼¥ï¼¡ã«ãã¸ã·ã§ã³ãåãããã¨ãªã¹ã¯ãé«ããªã£ã¦ãã¾ãå ´åã«ã¯ãå½¹ã«ç«ã¤ããããã¾ãã..ãå人çã«ã¯ãããã®è¨ç®ã¯ãã¹ããããã¹éé¡ããæ±ããこちらの方式ãæ±ããããã¨æãã¾ãããããããèãã¦ã¿ã¦ãã ããã