DDE Bridge - futures io
futures io futures trading



DDE Bridge


Discussion in NinjaTrader

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




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

DDE Bridge

(login for full post details)
  #1 (permalink)
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
 
Posts: 148 since Jun 2009
Thanks: 64 given, 122 received

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
Register to download File Type: zip NDde.2.01.0563.src.zip (391.0 KB, 78 views)
Started this thread Reply With Quote
The following user says Thank You to Prtester for this post:

Can you help answer these questions
from other members on futures io?
Indicators for pair trading MES and M2K
Platforms and Indicators
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Volume Profile Indicator for Ninja Script in NT8
NinjaTrader
SimplerOptions
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
137 thanks
Want your NinjaTrader indicator created, free?
32 thanks
Big Mike in Ecuador
30 thanks
Saturday Morning Market Replay!
20 thanks
Selling Options on Futures?
19 thanks
 
(login for full post details)
  #3 (permalink)
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
 
Posts: 66 since Feb 2010
Thanks: 15 given, 24 received


You have to implement a default constructor

public DdeClient()
{
}

because of Serilalization

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 298 given, 504 received

why dde, its old and slow.

NDde Discussions

https://www.codeproject.com/Articles/15543/Creating-a-Mechanical-Trading-System-Part-3-Get-re

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
 
(login for full post details)
  #5 (permalink)
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
 
Posts: 148 since Jun 2009
Thanks: 64 given, 122 received


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
 
(login for full post details)
  #6 (permalink)
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 298 given, 504 received


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
 
(login for full post details)
  #7 (permalink)
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 298 given, 504 received

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
 
(login for full post details)
  #8 (permalink)
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
 
Posts: 148 since Jun 2009
Thanks: 64 given, 122 received


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
Register to download File Type: cs MD_Bridge.cs (4.3 KB, 70 views)
Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > DDE Bridge


Last Updated on March 9, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts