# Aroon Vortex Confirmation

> Aroon Vortex Confirmation is a strategy that trades GBPUSD on 30-minute bars. It holds at most 1 open trade.

Source: https://algobarsx.com/docs/ex-52-aroon-vortex-confirmation/

```algobarsx
strategy "Aroon Vortex Confirmation"
    market: GBPUSD
    bars: 30m
    max_open: 1

confirmations bull:
    aroon_up: aroon(25).up > 70
    vortex_up: vortex(14).plus > vortex(14).minus
    cmf_positive: cmf(20) > 0
    choppiness_low: choppiness(14) < 50
    require: at least 3

when bull.passed and not bull.passed[1]:
    buy risk: 1%, stop: swing_low(5, 5), target: 2R
```
What this script says

Aroon Vortex Confirmation is a strategy that trades GBPUSD on 30-minute bars. It holds at most 1 open trade.

`bull` passes when at least 3 of these 4 conditions are true: `aroon_up` (the up of the Aroon (length 25) is above 70); `vortex_up` (the plus of the Vortex (length 14) is above the minus of the Vortex (length 14)); `cmf_positive` (the Chaikin money flow (length 20) is above 0); `choppiness_low` (the choppiness index (length 14) is below 50).

When `bull` passes and not the previous bar's `bull` passes, it buys at market, risking 1% of the balance, with a stop at the last swing low (left 5, right 5) and with a target 2R from the entry.
