> For the complete documentation index, see [llms.txt](https://touchance-1.gitbook.io/touchance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://touchance-1.gitbook.io/touchance/multicharts/jia-zhi-han-shu/gv-plus/savemcdb.md).

# SaveMCDB

## 語法

```
SaveMCDB(DB_Name)
```

## 範例

將 PutMCDataT 所記錄的數據，存入名為 GV01 的本機文件中。

```
if T=1000 then PutMCDataT("GV01",20170102,"GVsymbol",Symbol);
if LastBarOnChart_s then SaveMCDB("GV01");
```

## 參數

| **參數**   | **類型** | **說明**     |
| -------- | ------ | ---------- |
| DB\_Name | 字串型    | 儲存數據的文件名稱。 |
|          |        |            |

{% hint style="warning" %}
無須設定文字檔路徑，只需設定文件名稱即可。
{% endhint %}
