I still do not quite understand what you are trying to do exactly. If you want a switch can't you just program it into the strategy itself? I don't think you need an indicator.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
interactive strategy chart
Collapse
X
-
I think your boolseries may do the trick...working on it now.
The switch I need is a manual switch and must be outside the strategy because when I change a parameter in the strategy, the chart refreshes...and I lose all plots/data prior to that point in time.
will advise...thanks
..........................
no...looks like I need to write to/read from a file
Comment
-
Problem with that is the strategy needs to be constantly reading and can not be disturbed or the chart will refresh...or...can the file be closed within the code?...if so, how please
I could have the strategy check somehow to see if the file is open before it tries to access (to avoid the error message). Is this possible?
Comment
-
for a StreamWriter named sw. You are working on very hairy grounds. You will probably get a ton of errors on historical data closing/reopening. No way to guarantee that the indicator has closed the file before the strategy tries to open it.Code:sw.Close();
Josh P.NinjaTrader Customer Service
Comment
-
interactive alert
further to my posts 1 and 3 in this thread, NT has pop-up alerts which have the OK option to close the pop-up.
could these not be made interactive..i.e. change OK option to Yes, No and Close/OK...so that some action could be initiated?....without refreshing the chart of course
main question = why can we not (in a new version) change parameters in a strategy on the fly without having the strategy recalculate the entire chart with the new setting ....thereby erasing all prior plots etc??
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
647 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment