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 8,432 views
    2. thumb_up 1 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 2 attachments




 
Search this Thread

DDE Bridge

  #1 (permalink)
 Prtester 
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
Posts: 151 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?
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 71 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/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
  #5 (permalink)
 Prtester 
SE-Asia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp
Trading: ES
Posts: 151 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: 151 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts