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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment