![](https://yushinfx.jp/wp-content/uploads/2024/05/2-1-1024x576.png)
この記事では、VPS上でHFMのMT4をインストールし、EAを稼働させるまでの手順を画像付きで解説していきます!
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
EA導入方法がわからない方や不安な方は、この記事の手順通り進めていくことでスムーズにEAを稼働させることができますので参考にしてみてください!
HFMの口座開設とVPSの登録が済んでいる状態で進めてください。
HFMの口座開設がまだの方は、以下のブログ記事を参考に口座開設を行なってください!
![](https://yushinfx.jp/wp-content/uploads/2023/09/4c85c234076325c638e2c305400f29d6-300x169.png)
![](https://yushinfx.jp/wp-content/uploads/2023/09/4c85c234076325c638e2c305400f29d6-300x169.png)
VPSの登録がまだの方は、以下のブログ記事を参考に登録を行なってください!
![](https://yushinfx.jp/wp-content/uploads/2024/05/4c85c234076325c638e2c305400f29d6-1-300x169.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/4c85c234076325c638e2c305400f29d6-1-300x169.png)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
それでは早速VPS上でMT4をインストールし、EAを稼働させるまでの流れを解説していきます!
①MT4のインストール
まずはVPSを接続してWindowsの画面を開いてください。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-7-1024x576.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-7-1024x576.png)
次に接続したVPS上でMT4のダウンロードを行います。
「Microsoft Edgeのブラウザを起動」してください。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-8-1024x506.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-8-1024x506.png)
まずは起動させた「Edge」で「HFM MT4 ダウンロードと検索」します。
![](https://yushinfx.jp/wp-content/uploads/2024/05/7193c825b37edb6e22535ad307465d26-1024x399.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/7193c825b37edb6e22535ad307465d26-1024x399.png)
するとHFMの公式サイトが出てくるのでクリックして開きます。
![](https://yushinfx.jp/wp-content/uploads/2024/05/29a91acd64f708e9be686f68424028cf-1024x150.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/29a91acd64f708e9be686f68424028cf-1024x150.jpeg)
赤枠の「取引」→「MT4」を選択し、「MT4をダウンロードする」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/485227b09e0451b0abda99e547fd0a5d-1024x500.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/485227b09e0451b0abda99e547fd0a5d-1024x500.png)
下のような画面になりますので「Windowsにダウンロード」をタップします。
![](https://yushinfx.jp/wp-content/uploads/2024/05/aa2923611dd1027e5e6406dbfd99b728-1024x571.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/aa2923611dd1027e5e6406dbfd99b728-1024x571.jpeg)
ダウンロードできたら右上に表示される「ファイルを開く」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/25ce1de46c80a6bfe474574cac98636a-1024x531.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/25ce1de46c80a6bfe474574cac98636a-1024x531.jpeg)
するとHFMのインストールフォルダを設定する画面が出ますので「設定」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/2c450e54ae28512e45beb2b5edb7001b.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/2c450e54ae28512e45beb2b5edb7001b.jpeg)
そうすると次の画像のような画面が出ますのでフォルダ名を変え、「次へ」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
※後々、複数のEAを稼働させることを考慮してファイル名の最後に「01」などと追加しておきましょう。
例)
変更前:「C:\Program Files (x86)\HFM Metatrader 4」から、
変更後:「C:\Program Files (x86)\HFM Metatrader 4-01」のような感じです。変更する名前はわかりやすくしてください。
※2つ目以降のEAをセットする場合には、
「「C:\Program Files (x86)\HFM Metatrader 4-02」
というように、名前を変更していきましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/8609a0e9293198e90dff456dbe505e75-1024x420.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/8609a0e9293198e90dff456dbe505e75-1024x420.jpeg)
そして「完了」をクリックすると、自動的にMT4が起動します。
![](https://yushinfx.jp/wp-content/uploads/2024/05/1bd4e590754f9e6a8714d5e4d3131eb9.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/1bd4e590754f9e6a8714d5e4d3131eb9.jpeg)
MT4が立ち上がると下のような画面が表示されますので、HFMのサーバーを選択して「次へ」をクリックしましょう。
「既存の取引口座と接続する」 を選択しご自身のログインIDと、
パスワードを入力し、 「完了」をクリックします。
![](https://yushinfx.jp/wp-content/uploads/2024/05/43e9a9a2d316a6c990b1d843ed4ac39f-1024x716.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/43e9a9a2d316a6c990b1d843ed4ac39f-1024x716.jpeg)
ログインできたら、これでHFMのMT4はインストール完了です。
いつでもすぐに開けるように、画面下の「HFMのアイコンを右クリック」して「タスクバーにピン留めする」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
そうすることで、MT4を閉じても画面下のHFMのアイコンをタップするとすぐにHFMのMT4を起動できるようになります!
![](https://yushinfx.jp/wp-content/uploads/2024/05/b2a91dcd6155235901fe1a24703b3347-1024x385.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/b2a91dcd6155235901fe1a24703b3347-1024x385.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
次はMT4の初期設定からEA導入手順を解説していきます!
②MT4の初期設定〜EA導入手順
MT4のインストールとMT4にログインが完了しましたら次はMT4の初期設定とEAの導入を行なっていきます。
こちらも詳しく解説していきます。
MT4の初期設定
まずは下記のように「×」ボタンを押してチャートを閉じてください。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-9.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-9.png)
次にチャートを表示させます。
「ディバイン」を利用する方は「EURUSD」EAなのでチャートはEURUSDを開きます!
【EURUSD EAの場合】
ファイル ▶ 新規チャート ▶EURUSDをクリック
【GOLD EAの場合】
ファイル ▶ 新規チャート ▶ Spot Metals ▶ GOLDをクリック
※セント口座の場合は「EURUSDc」「GOLDc」を選択しましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-10.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-10.png)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
これでMT4の初期設定は完了です!
次にEAを導入していきます!
EA導入方法
次にEAの導入方法について詳しく解説していきます。
公式LINEで受け取ったEAファイルをMT4に設定していきます。
ファイル ▶ データフォルダを開く をクリック
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-11-1024x576.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-11-1024x576.png)
「MQL4」フォルダを開きます。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-12.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-12.png)
次に、「Experts」フォルダを開きます。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-13.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-13.png)
次にお送りしているEAファイルをVPSではなくご自身のパソコンに保存してください。
(※保存したEAファイルは開く必要はありません。ダウンロードするだけでOK)
![](https://yushinfx.jp/wp-content/uploads/2024/05/7546f7c65ed791f34a4e44a6064c7c68-1-1024x252.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/7546f7c65ed791f34a4e44a6064c7c68-1-1024x252.jpeg)
保存したEAファイルを先ほど開いたVPS上のフォルダ内に移動させます。
(EAファイルをマウスでコピーしてVPS上のフォルダ内で貼り付けしてもOKです)
![](https://yushinfx.jp/wp-content/uploads/2024/05/e490b3e8ed4c59d62a2c826278263e31.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/e490b3e8ed4c59d62a2c826278263e31.jpeg)
下の画像のようにファイルが表示されればOKです。
![](https://yushinfx.jp/wp-content/uploads/2024/05/33df83ca33f91c84cc67b1f39f13bb3a-1024x476.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/33df83ca33f91c84cc67b1f39f13bb3a-1024x476.jpeg)
ファイルが移動できたら、表示しているフォルダは閉じてもOKです。
MT4の画面左側に表示されている「エキスパート」を右クリックして「更新」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/12e8a96f4d69e9e3a2b7328de514fe1f-677x1024.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/12e8a96f4d69e9e3a2b7328de514fe1f-677x1024.jpeg)
更新後、エキスパートアドバイザの欄にファイルに保存したEA名が表示されていればOKです!
![](https://yushinfx.jp/wp-content/uploads/2024/05/414fe80f1bb5a5b910fd66a649992bdc-677x1024.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/414fe80f1bb5a5b910fd66a649992bdc-677x1024.jpeg)
そして保存したファイルを右側のチャート部分にドラッグアンドドロップします。
(マウスを左クリック長押ししながら離す)
![](https://yushinfx.jp/wp-content/uploads/2024/05/85eb8f8950b64b2d6c635bd2d4998647.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/85eb8f8950b64b2d6c635bd2d4998647.jpeg)
すると下記のようなポップアップが表示されますので、
2つの項目にチェックを入れて「OK」をクリックしてください。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-14.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-14.png)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
EAの導入はこれで完了です!
あとはシステム設定してEAを稼働させるだけです!
③システムの設定・稼働スタート
まずはチャート右上の顔文字🙂をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-15-1024x575.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-15-1024x575.png)
するとパラメーターを入力画面が表示されますのでロット設定を行いましょう。
設定したら「OK」をクリックしましょう。
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
ロット数はEAによって推奨設定があるので各EAの推奨設定に従って入力ましょう!
分からない場合、公式LINEへ気軽に聞いてください♪
ディバインEURUSDとEURGBPを運用される場合の推奨ロットは以下のようになります。
プレミアム口座:30万円0.01ロット
セント口座:3万円:0.1ロット
![](https://yushinfx.jp/wp-content/uploads/2024/05/cc56593e23020417a92a44e43194b2c0-1024x489.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/cc56593e23020417a92a44e43194b2c0-1024x489.jpeg)
次に自動売買ボタンをクリック。
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
ここをクリックするとついに自動売買がスタートします。
![](https://yushinfx.jp/wp-content/uploads/2024/05/73a5c0e60bbf1e3b7d9abd3699f7dd0d-1024x654.jpeg)
![](https://yushinfx.jp/wp-content/uploads/2024/05/73a5c0e60bbf1e3b7d9abd3699f7dd0d-1024x654.jpeg)
これでEAの運用がスタートされます。
オンになっているかの確認は
下の画像用に顔文字が😕→🙂になっていれば自動売買がONになっていることが分かります。
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-17.png)
![](https://yushinfx.jp/wp-content/uploads/2024/05/image-17.png)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
![](https://yushinfx.jp/wp-content/uploads/2021/12/29d3bc99193cb0b837fb8cc53f050ae5.jpg)
自動売買をスタートするとポジションをエントリーしていきますので、EA運用をお楽しみください!
※資金が0の状態では自動売買をONにしないでください。
※ポジションを取るまで時間がかかる場合があります。
以上がEA稼働までの一連の作業となります。
何かわからないことがあれば以下の「ゆーしん相談室サポートLINE」へ気軽にお聞きください!