Page 1 of 1

Comparing instrument data within strategy

Posted: Jul 05 2024
by SuspiciousTaco
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.

Re: Comparing instrument data within strategy

Posted: Jul 06 2024
by TJ
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.

Re: Comparing instrument data within strategy

Posted: Jul 07 2024
by SuspiciousTaco
Awesome thank you so much!