![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
Ok, multiple charts running same strategy; Say if the 'EURO' see's a buy signal, and the strategy tests for:
if (Position.MarketPosition == MarketPosition.Flat) { doLong(); } will the 'ER2' see MarketPosition.Long ? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
No it will not since the Strategy.Position is local in scope to the Instrument the strategy is running on.
Ray
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|