> For the complete documentation index, see [llms.txt](https://docs.cvizor.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cvizor.com/en/modules/signals/tf-parameters/ma-50.md).

# 10. MA 50

{% hint style="info" %}
Don't forget that the MA value is considered at the moment the candle closes!

if the signal consists only of MA values, it will be triggered once per bar close
{% endhint %}

<table data-full-width="true"><thead><tr><th width="227.33333333333331">Parameter</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>🔴 MA 50 above price</td><td>Alert triggers when the 50-period Moving Average (MA50) is above the current closing price.</td><td>Alert will trigger if the closing price of BTCUSDT is below the MA50 value.</td></tr><tr><td>🟢 MA 50 below price</td><td>Alert triggers when the 50-period Moving Average (MA50) is below the current closing price.</td><td>Alert will trigger if the closing price of BTCUSDT is above the MA50 value.</td></tr><tr><td>Distance from MA50 to price in % greater than</td><td>Alert triggers when the percentage distance from the MA50 to the current closing price exceeds a specified value.</td><td>If set to "+5%", the alert will trigger when the distance from MA50 to the price is +6%, +10%, +15%, etc.<br><br>If set to "-5%", the alert will trigger at distances from MA50 to the price of -4%, -3%, 0%, +5%, +10%, etc.</td></tr><tr><td>Distance from MA50 to price in % less than</td><td>Alert triggers when the percentage distance from the MA50 to the current closing price is less than a specified value.</td><td>If set to "+5%", the alert will trigger at distances from MA50 to the price of +4%, +3%, 0%, -1%, -5%, etc.<br><br>If set to "-5%", the alert will trigger at distances from MA50 to the price of -6%, -10%, -15%, etc.</td></tr><tr><td>Distance from price to MA50 in % greater than</td><td>Alert triggers when the percentage distance from the current closing price to the MA50 exceeds a specified value.</td><td>If set to "+5%", the alert will trigger when the distance from the price to MA50 is +6%, +10%, +15%, etc.<br><br>If set to "-5%", the alert will trigger at distances from the price to MA50 of -4%, -3%, 0%, +5%, +10%, etc.</td></tr><tr><td>Distance from price to MA50 in % less than</td><td>Alert triggers when the percentage distance from the current closing price to the MA50 is less than a specified value.</td><td>If set to "+5%", the alert will trigger at distances from the price to MA50 of +4%, +3%, 0%, -1%, -5%, etc.<br><br>If set to "-5%", the alert will trigger at distances from the price to MA50 of -6%, -10%, -15%, etc.</td></tr></tbody></table>

#### Calculation formulas:

* `Distance from MA to price in % = (Price - MA) / MA * 100`
* `Distance from price to MA in % = (MA - Price) / Price * 100`
