Global Dictionary sender and receiver - EasyLanguage Programming | futures io social day trading
futures io futures trading


Global Dictionary sender and receiver
Updated: Views / Replies:4,110 / 6
Created: by RM99 Attachments:3

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Global Dictionary sender and receiver

  #1 (permalink)
Fortitudo et Honor
Austin, TX
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 882 since Mar 2011
Thanks: 128 given, 703 received

Global Dictionary sender and receiver

Can someone walk me through how to setup the send and receive using the globaldictionary. I've pasted the code below for the generic indicator sender and receiver.

Sender:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

using elsystem.collections ;
inputs:
string GDictName( "MyGD" ),
string KeyToUse( "MyGV" ),
double ValueToSend( 100 ) ;

variables:
GlobalDictionary GDict( NULL ) ;

once
begin
GDict = GlobalDictionary.Create( true, GDictName ) ;

if GDict.Contains( KeyToUse ) then
GDict.Items[ KeyToUse ] = ValueToSend
else
GDict.Add( KeyToUse, ValueToSend ) ;
end ;

Plot1( ValueToSend, "SentValue" ) ;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

and the receiver:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
using elsystem ;
using elsystem.collections ;
inputs:
string GDictName( "MyGD" ),
string KeyToRetrieve( "MyGV" ) ;

variables:
GlobalDictionary GDict( NULL ) ;

method void ItemChg( Object Sender, ItemProcessedEventArgs Args )
begin
if Args.Key = KeyToRetrieve then
PlotOutputs() ;
end ;

method void PlotOutputs()
begin
if GDict.Contains( KeyToRetrieve ) then
Plot1( GDict.Items[ KeyToRetrieve ] astype double, "RecValue" ) ;
end ;
once
begin
GDict = GlobalDictionary.Create( true, GDictName ) ;
GDict.ItemChanged += ItemChg ;
end ;

PlotOutputs() ;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

"A dumb man never learns. A smart man learns from his own failure and success. But a wise man learns from the failure and success of others."
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Fortitudo et Honor
Austin, TX
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 882 since Mar 2011
Thanks: 128 given, 703 received


Sorry, should have been posted in TradeStation. Not sure if MC uses globaldictionary or not. Big Mike, please move. Thanks.

"A dumb man never learns. A smart man learns from his own failure and success. But a wise man learns from the failure and success of others."
Reply With Quote
 
  #4 (permalink)
 Vendor: www.protraders.com 
Houston, TX
 
Futures Experience: Advanced
Platform: TradeStation
Broker/Data: Tradestation Securities
Favorite Futures: ES
 
Posts: 1 since Apr 2011
Thanks: 0 given, 1 received

Simple Global Dictionary Sender/Receiver Template

Demonstrates in two very simple to use and modify templates, how to send and receive global data in realtime. You should modify the Global Variables and Plot Method to meet your needs.

Read the fully commented details in the source code for usage instructions.

Attached is the ELD's source file and PDF's of source code.

Attached Thumbnails
Global Dictionary sender and receiver-__templatesendergdict.pdf   Global Dictionary sender and receiver-__templatereceivergdict.pdf  
Attached Files
Register to download File Type: eld _GlobalVarsTemplate.ELD (23.7 KB, 98 views)
Reply With Quote
The following 3 users say Thank You to fbraden for this post:
 
  #5 (permalink)
Elite Member
boulder, colorado
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: emini's
 
Posts: 21 since Jun 2010
Thanks: 2 given, 7 received

GlobalVarsTemplate.ELD (23.7 KB, 54 views)

What are the names of what is contained in this ELD? I find only Global (p=100) and Global (p=100) SID, neither of which contains a template.

Reply With Quote
 
  #6 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

bob314159,

I haven't looked at the code, but from what I understand there is a sender and receiver part which is the template. As in use this as a foundation and expand/modify it to your needs.
What are you looking for or did you expect?

Regards,
ABCTG


bob314159 View Post
What are the names of what is contained in this ELD? I find only Global (p=100) and Global (p=100) SID, neither of which contains a template.


Reply With Quote
 
  #7 (permalink)
Elite Member
boulder, colorado
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: emini's
 
Posts: 21 since Jun 2010
Thanks: 2 given, 7 received

TS Dictionary

Scratch that. The names are shown in the download.

Reply With Quote

Reply



futures io > > > > > Global Dictionary sender and receiver

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is how you do Global Arrays. bjschwenzer EasyLanguage Programming 4 January 27th, 2012 12:19 AM
Global cyberattack under way for 5 years kbit News and Current Events 2 August 3rd, 2011 07:34 PM
Is there a 64bit Global Variable replacement? Tarkus11 NinjaTrader Programming 4 March 16th, 2011 08:47 AM
Global Variables and Strategies in Ninja 6.5 TonyA NinjaTrader Programming 3 November 6th, 2010 08:50 AM
Global Vertical Line Indicator EDGE NinjaTrader Programming 1 October 12th, 2010 12:09 AM


All times are GMT -4. The time now is 11:04 AM.

Copyright © 2017 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
Page generated 2017-12-18 in 0.12 seconds with 20 queries on phoenix via your IP 54.226.113.250