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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
333 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment