NexusFi: Find Your Edge


Home Menu

 





DDE Bridge


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Prtester with 3 posts (1 thanks)
    2. looks_two wh with 3 posts (0 thanks)
    3. looks_3 decs0057 with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 9,279 views
    2. thumb_up 1 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 Prtester 
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
Posts: 153 since Jun 2009
Thanks Given: 66
Thanks Received: 124

I'm trying to make some kind of bridge between Ninja and another application using DDE for that I'm using the attached free library but Ninja throw the following message, any one have an idea how to fix it?


Failed to execute DB job 'StrategyUpdateJob': There was an error reflecting type 'NinjaTrader.Strategy._Bridge'.: Cannot serialize member 'NinjaTrader.Strategy._Bridge.TheDdeClient' of type 'NDde.Client.DdeClient', see inner exception for more details.: NDde.Client.DdeClient cannot be serialized because it does not have a parameterless constructor.


Attached Files
Elite Membership required to download: NDde.2.01.0563.src.zip
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 73 since Feb 2010
Thanks Given: 15
Thanks Received: 25


You have to implement a default constructor

public DdeClient()
{
}

because of Serilalization


Reply With Quote
  #4 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

why dde, its old and slow.

NDde Discussions

https://www.codeproject.com/KB/cs/Realtime_Quotes.aspx


Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
  #5 (permalink)
 Prtester 
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
Posts: 153 since Jun 2009
Thanks Given: 66
Thanks Received: 124


wh View Post
why dde, its old and slow.

Well really not an expert and no formal programming foundations, but if you can show me the path for a better solution I will be a happy camper, it doesn't have to be DDE, I just found it and think of it as a possible option.


Started this thread Reply With Quote
  #6 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512


Prtester View Post
Well really not an expert and no formal programming foundations, but if you can show me the path for a better solution I will be a happy camper, it doesn't have to be DDE, I just found it and think of it as a possible option.

dde was fine 4 using matlab. here a russian page Using MATLAB as a Client :: COM and DDE Support (Windows Only) (External Interfaces)

but you can use for net interop COM Interop Part 1: C# Client Tutorial (C#)

and an example to call excel from c# with interop https://msdn.microsoft.com/en-us/library/ms173186%28VS.80%29.aspx

best regards

also possible tcp/ip client server communication ...


Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
  #7 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

look in elite section for matlab ninja sample


Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
  #8 (permalink)
 Prtester 
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
Posts: 153 since Jun 2009
Thanks Given: 66
Thanks Received: 124


wh View Post
look in elite section for matlab ninja sample

Well my trials can not give any fruits, if any advance user can take a look to this will be great appreciated. My Programmings skills are very limited

The idea Behind the code:

I'm Trying to make a Bridge between Market Delta and Ninja Trader, the main idea is receive a signal generated by MD in order to trigger actions in NT.


Attached Files
Elite Membership required to download: MD_Bridge.cs
Started this thread Reply With Quote




Last Updated on March 9, 2010


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts