Amibroker Tutorial Video - Using The Foreign And Setforeign Amibroker Afl Functions

8 Nov 2021 · 4 min
3:54

Adrian Reid shows how to use Amibroker's foreign() and setforeign() functions to filter trades based on index conditions. foreign() pulls a single data series like closing price from another ticker, while setforeign() switches context to calculate full indicators like RSI or ATR on the index. Example: only trade stocks when the index close exceeds its 200-day EMA plus 8 ATR.

Chapters

More from Adrian

9:25
youtube.com

Discretionary vs Systematic Trading: Which Actually Works?

1d ago
15:08
youtube.com

The Hidden Link Between 10‑Year Treasury and Gold – Proof Inside

2w ago
1:26
youtube.com

In-sample vs out-of-sample (which one matters?)

1mo ago
0:52
youtube.com

Trade List vs Reality

1mo ago
1:12
youtube.com

How AI Saves Traders Hours Every Week

2mo ago
0:50
youtube.com

How AI Models Evolved in 2 Years

2mo ago
0:56
youtube.com

The Memory Trap in ChatGPT

2mo ago
0:54
youtube.com

You've Been Using AI Wrong This Whole Time

2mo ago
1:07
youtube.com

The One Mistake Traders Make with AI

2mo ago
1:05
youtube.com

Your trading gaps revealed by AI

2mo ago
1:20
youtube.com

Claude runs my backtests while I sleep

2mo ago
See all content