Awesome Oscillator Saucer

Awesome Oscillator Saucer is a strategy that trades EURGBP on 1-hour bars. It holds at most 1 open trade.

sequence

awesome-oscillator-saucer.abx
1strategy "Awesome Oscillator Saucer"
2market: EURGBP
3bars: 1h
4max_open: 1
5
6ao = awesome_osc()
7
8sequence saucer within 5 bars:
9step first_red: ao > 0 and ao < ao[1]
10step second_red: ao > 0 and ao < ao[1]
11step green_bar: ao > 0 and ao > ao[1]
12reset_if: ao < 0
13
14when saucer.completed:
15buy risk: 0.75%, stop: saucer.first_red.low, target: 2R
What this script says

Awesome Oscillator Saucer is a strategy that trades EURGBP on 1-hour bars. It holds at most 1 open trade.

It calculates ao as the awesome oscillator.

saucer completes when these steps happen in order within 5 bars: first_red, when ao is above 0 and ao is below the previous bar's ao; then second_red, when ao is above 0 and ao is below the previous bar's ao; then green_bar, when ao is above 0 and ao is above the previous bar's ao. It starts over if ao is below 0.

When saucer completes, it buys at market, risking 0.75% of the balance, with a stop at the low of the first_red step and with a target 2R from the entry.

Try this in the Terminal. AlgoBars is free: $0 a month, no card needed.

Create my free account