Docs  /  AI Studio Targets  /  Swing Reversal

AI Studio Answer Guide: Swing Reversal

Status: Per-family deep reference (companion to the consolidated Fusion AI Studio & ONNX User Guide) Audience: first-time AI Studio user Answer family: Swing Reversal Prediction style: Classification


1. The Plain-English Question

Swing Reversal asks:

“Does this bar later become a confirmed swing low, a confirmed swing high, or neither?”

This is one of the most visually intuitive answer families in AI Studio, because most traders already understand the idea of:

But it is also one of the easiest families to misunderstand.

The important thing to know is:

this is a confirmed-turn label, not a zero-lag pivot detector


2. What Fusion Is Actually Building

Example:

Meaning:

window = 5 bars on each side

Fusion checks whether the current bar becomes a confirmed turning point using bars before and after it.

Plain-English rule:

+1 if Low[t] is the lowest low in bars [t-5 .. t+5]
-1 if High[t] is the highest high in bars [t-5 .. t+5]
 0 otherwise

That means:


3. The One Important Mental Model

This family uses future bars for confirmation.

That means the label is answering:

“Will this bar later prove to be a confirmed turning point?”

It is not answering:

“Can I know in real time, on this exact bar, that the pivot is already confirmed?”

That is why this family is best thought of as:

not:


4. Which Step 1 Settings Control This Family

This family uses its own Step 1 section:

Important

For this family:

This is one of the places where the UI needs to be more explicit.


5. What The Confirmation Window Means

If the swing confirmation window is:

5

Fusion checks:

That means the full pattern spans:

11 bars total

Smaller windows

Larger windows

This is the main design choice for this family.


6. What The Model Output Means

This is a classification family.

The correct trader meaning is:

+1 = confirmed swing low
 0 = no confirmed swing
-1 = confirmed swing high

Important current product note

The saved model contract may still need class decoding to translate the encoded class id back into the trader meaning cleanly.

So the correct mental model is:

treat this family as +1 / 0 / -1 turn labels

not:

treat the raw plotted encoded number like a smooth oscillator


7. What 0 Means Here

For Swing Reversal, 0 means:

So 0 here means:

“No confirmed turning point.”

That is different from 0 in:


8. Why Traders May Like This Family

This family often matches how traders think about chart structure:

It can be easier to understand than raw return prediction when the real question is:

“Is this the kind of bar that becomes an important turning point?”


9. What Data This Family Needs

This family depends on:

In practice, the safest rule is:

Important

If High or Low are missing from the captured export, this family cannot be created correctly.


10. Why The Last Bars Of The Dataset Are Different

This is a very important limitation for users to understand.

Because confirmation needs future bars on the right side of the pattern:

That is not a bug.

It is a direct result of how confirmed swing labels work.

Plain-English version:

you cannot confirm the last possible swing until enough future bars exist


11. How This Differs From Direction (3-Class)

Direction (3-Class)

Asks:

“By the end of the horizon, is the move down, flat, or up?”

Swing Reversal

Asks:

“Does this bar later prove to be a confirmed turning point?”

So Direction (3-Class) is about the final directional outcome.

Swing Reversal is about whether this bar later becomes a structural turn.

That is a different kind of question.


12. Step-By-Step Swing Reversal Walkthrough

Step A: Prepare the raw dataset

Open Export and make sure:


Step B: Turn on swing-reversal answer generation

In AI Studio Step 1:

Example first pass:

That lets Fusion create both a faster and a slower swing-label version.


Step C: Create the prepared dataset

Click Create New Capture.

Now Fusion creates answer columns such as:


Step D: Choose the actual training question

In Step 2:

Example:

Now the model is learning:

Important

This family is classification-only.

If only swing-reversal targets are available in the capture, regression should not be the active path.


Step E: Choose the features

Pick the inputs that may help answer:

“Is this bar likely to become a confirmed turn?”

Useful first feature types often include:

Good first rule:


Step F: Train

Choose:

Good first algorithms:


Step G: Read the result

Think of the output like this:

+1 = confirmed swing low pattern
 0 = no confirmed swing pattern
-1 = confirmed swing high pattern

And remember:

this family uses future confirmation

So the label itself is intentionally lagged relative to the bar being classified.


13. Good First Session

If you want a clean first experiment with this family:

Step 1

Step 2

Step 3

This gives one of the clearest “turn-recognition” workflows in AI Studio.


14. What Not To Do

Do not treat this as a zero-lag pivot detector

This family uses future bars for confirmation.

Do not assume the last bars of the dataset can be labeled normally

They may not have enough future bars yet for confirmation.

Do not assume 0 means a small continuous value

Here, 0 is a class meaning “no confirmed swing.”

Do not assume regression is the right task for this family

This is a classification family built around bounded turn labels.


15. Current Product Notes From The Swing Reversal Guide Pass

These are the product improvements this guide exposes.

A. The UI should say “classification only” more explicitly

Suggested note:

“Swing Reversal is a bounded class target for confirmed swing low / no swing / swing high. Use Classification, not Regression.”

B. The UI should explain future confirmation more directly

Suggested note:

“Swing Reversal uses future bars on both sides of the bar for confirmation. It teaches the model to recognize setups that precede confirmed turns, not to detect the pivot with zero lag.”

C. The UI should explain the end-of-dataset limitation

Suggested note:

“Because confirmation needs future bars, the final bars in a captured dataset cannot be labeled for this target.”


16. One-Sentence Rule To Remember

Swing Reversal means:

“Predict whether this bar later becomes a confirmed swing low, no swing, or confirmed swing high using future-bar confirmation on both sides.”

← All target families