Comparing instrument data within strategy
-
- Posts: 2
- Joined: Jul 05 2024
I am looking for help and understanding how to properly include data from one instrument to trade another. For example, getting the ATR from SPY and using that in a strategy to trade AAPL. I am a new user and new to programming so please forgive me if this is a silly question. I did try searching here first.
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
You will need 2 data streams on the chart.
Data1 is always the trading instrument.
You can use Data2 for your SPY ATR.
This is a start.
Look for multi-data analysis in your search.
The FAQ is a good resource.
Data1 is always the trading instrument.
You can use Data2 for your SPY ATR.
This is a start.
Look for multi-data analysis in your search.
The FAQ is a good resource.