# MT5 Automation

For automating your Valhalla Trades to MT5, we recommend using the platform TradeSgnl:

{% embed url="<https://youtu.be/_Yk5DAMIq-Q>" %}

{% embed url="<https://www.tradesgnl.com/>" %}

### Valhalla Placeholder Variables:

**Entry Price Variables:**

{{plot("Long entry")}}\
{{plot("Short entry")}}

**Take Profit Variables:**

{{plot("TP1 Long")}}\
{{plot("TP2 Long")}}\
{{plot("TP3 Long")}}

{{plot("TP1 Short")}}\
{{plot("TP2 Short")}}\
{{plot("TP3 Short")}}

**Dynamic Stop Loss Variables:**

{{plot("Dynamic SL Long")}}\
{{plot("Dynamic SL Short")}}

### TradeSgnal Placeholder Variables:

**Take Profit Variables:**

* tp1\_price=
* tp2\_price=
* tp3\_price=

{% hint style="info" %}
TradeSgnal allows to use as many take profit targets as you would like.
{% endhint %}

By default it will use their "Smart" algorithm to determine the % of the position to exit on each take profit level, but you can also specify it for each take profit as follows:<br>

* pct1=
* pct2=
* pct3=

{% hint style="info" %}
Example: Use the value 0.5 on a pct variable to exit 50% of the position on it.
{% endhint %}

Example Alert Message Setup:
