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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
55 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment