Skip to content

PIV (Pivot Points)

Fixed price levels for today (or this week), worked out from the previous day's (or week's) high, low and close. P is the pivot. R1, R2, R3 are resistance levels above it and S1, S2, S3 support levels below it, each further from P.

Settings

Setting Default What it does
Method Traditional How R1 to R3 and S1 to S3 are placed around P. Traditional is the classic floor method. Fibonacci spaces them at 38.2%, 61.8% and 100% of the previous range. Camarilla puts them close to the previous close, so they are reached and crossed much more often (more trades, smaller moves).
Period Daily (UTC) Which finished period the levels come from. Daily (UTC): the previous UTC day; the levels change at 00:00 UTC. Weekly (UTC): the previous week (Monday 00:00 UTC to Monday 00:00 UTC); the levels are wider apart and stay fixed all week, so breakouts are rarer.

Ready-made conditions

For Condition Fires when
Buy Price crosses above R1 (daily pivot) the one candle price moves from below the R1 line to above it
Buy Price above the daily pivot P every candle price is above the Pivot (P) line
Buy Price crosses above the daily pivot P the one candle price moves from below the Pivot (P) line to above it
Sell Price crosses below S1 (daily pivot) the one candle price moves from above the S1 line to below it
Sell Price below the daily pivot P every candle price is below the Pivot (P) line
Sell Price crosses below the daily pivot P the one candle price moves from above the Pivot (P) line to below it

Warnings

  • Blocks Save: Method one of Traditional, Fibonacci, Camarilla; Period one of Daily (UTC), Weekly (UTC).

Good to know

  • Use it on intraday candles (1m to 4h). The levels never use the current day or week: they stay fixed until the next 00:00 UTC (or Monday 00:00 UTC).
  • Needs two whole periods of candles: 2 UTC days for Daily (48 candles on 1h, about 577 on 5m, 2,880 on 1m), 14 days for Weekly (336 on 1h, about 4,033 on 5m, about 1,345 on 15m), so the previous period is complete from its start. Daily and weekly on 5m, and daily on 1m, all save under the 5,000-bar cap. Venue depth still limits them at run start: Kraken serves only its latest 720 candles, so a Kraken run is refused for 5m and 15m weekly pivots (about 4,033 and 1,345) and 1m daily pivots (2,880). 5m daily pivots (about 577) and 1h weekly pivots (336) are fine. A 1m weekly pivot needs 20,160 candles, which is over the 5,000 cap, so it cannot be saved.
  • Every candle of a day (or week) reads the period before it, so the levels stay fixed until the boundary (00:00 UTC, or Monday 00:00 UTC for Weekly) and never use the current period.
  • A period only counts if Apathia has its candles from its start. On the very first day of history the levels are unavailable.
  • The ready-made condition names follow Period: "daily pivot" with Daily (UTC), "weekly pivot" with Weekly (UTC) (for example "Price crosses above R1 (weekly pivot)").
  • A daily pivot needs a finished day before the current candle, so on candles longer than a day its levels are never there; the strategy shows a warning. (Every main timeframe is at most 1 day.)
  • R2 / S2 and R3 / S3 are available as lines in your own conditions; the ready-made ones use R1, S1 and P. A higher level needs a bigger move, so it trades less often.