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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
66 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
36 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment