Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
C# Guru -- Possible to execute Strategy method from Indicator
Collapse
X
-
C# Guru -- Possible to execute Strategy method from Indicator
Calling C# Gurus.....is it possible to execute a Strategy method from an Indicator?
ThanksTags: None
-
You can do custom code to accomplish this, as for example my NTMT code and helpers.
With my solution you can spawn a new strategy, but once started you cannot control it furhter.
regards
andreas
www.zweisteintrading.eu
Comment
-
If the strategy is already running you could talk via:
Static reference - a static singleton class can provide machine global access to methods and properties which are publicy exposed by a class..
Event subscription - the indicator can bind to events or vice versa
Shared memory /Pointers
File system
Winmessaging
Database//data/ isloated storage
Remote proc call
DDE
OLEDB
You can hook a process and use a method invoker...
it is really endless....
loads of possbilites- one whould have to ask why you wanted to do it- perhaps the implementation is not ideal in terms of best practice ?
sometimes it is best to look at the architecture and say: if this was a new project how would we best design it?Last edited by MicroTrends; 07-12-2010, 05:23 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
59 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
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
283 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment