Thanks, SSP
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy to pick from list
Collapse
X
-
Strategy to pick from list
Could someone point me to a strategy example to pick the strongest or weakest symbol from a list of symbols based on an indicator value? For example, DJ-30 is a list, RSI14 is the indicator, each time frame (daily, weekly, monthly) the strategy re-evaluates the list and picks the one symbol with weakest RSI14 to purchase.
Thanks, SSPTags: None
-
Hello skidsteerpilot,
Thank you for your note.
I’m unaware of such strategy however you could add a data series for each symbol you’d like to check through using,
Then you would you could write a series of if statements to determine the weakest RSI, for example you check if the RSI of the 2nd series is lower than the third and 4th,
I would suggest seeing the SampleMultiInstrument strategy preloaded with NinjaTrader for a strategy with additional series added.Code:if(RSI(BarsArray[1], 10)[0] < RSI(BarsArray[2], 10)[0] && RSI(BarsArray[2], 10)[0] < RSI(BarsArray[3], 10)[0]) //use second instrument added.
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment