NexusFi: Find Your Edge


Home Menu

 





ELcollection need help


Discussion in MultiCharts

Updated
    1. trending_up 1,611 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 Gillou 
Bordeaux, FRANCE
 
Experience: Advanced
Platform: MULTICHARTS
Broker: IB
Trading: Eurex
Posts: 8 since Oct 2010
Thanks Given: 2
Thanks Received: 0

Hello,

I use ELcollection with Multicharts to share list from a chart to another chart.

chart Number 1 list of numbers (calcul) with 12000 rows.

 
Code
var: ForceID(ListN.Share("F4"));
var: DernierID(ListN.Share("D4"));
var: CodeID(ListN.Share("C4"));

var: index(0), testvalue(10);

once begin
	ListN.Resize(ForceID,12000);
	ListN.Resize(DernierID,12000);
	ListN.Resize(CodeID,12000);
end;

for index=1 to 10000
begin

	value1 = ListN.Put(ForceID,index,testvalue);

end;
Chart Number Two reader :

 
Code
var: ForceID(ListN.Share("F4"));
var: DernierID(ListN.Share("D4"));
var: CodeID(ListN.Share("C4"));

var: index(0);

array: testvalue [12000](0);

once begin
	ListN.Resize(ForceID,12000);
	ListN.Resize(DernierID,12000);
	ListN.Resize(CodeID,12000);

       for index=1 to 10000
       begin

	       testvalue[index] = ListN.get(ForceID,index);

       end;


end;
Can't read all value are 0 ...


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
16 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

Gillou,

your second code doesn't compile, so I am not sure how you'd receive any values with it.
With blocking the array and therefore fixing the compiler error and printing the results the sending and receiving is working fine. This is a snippet from the print log:
 
Code
index: 9991.00; listValue:   10.00
index: 9992.00; listValue:   10.00
index: 9993.00; listValue:   10.00
index: 9994.00; listValue:   10.00
index: 9995.00; listValue:   10.00
index: 9996.00; listValue:   10.00
index: 9997.00; listValue:   10.00
index: 9998.00; listValue:   10.00
index: 9999.00; listValue:   10.00
index: 10000.00; listValue:   10.00
Regards,
ABCTG


Follow me on X Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639


One thing worth noting is that both charts have to be in the same instance of MC. Sending between two separate instances won't work.

Regards,

ABCTG


Follow me on X Reply With Quote
  #4 (permalink)
 Gillou 
Bordeaux, FRANCE
 
Experience: Advanced
Platform: MULTICHARTS
Broker: IB
Trading: Eurex
Posts: 8 since Oct 2010
Thanks Given: 2
Thanks Received: 0

Thanks ABCTG,

working now ...


Started this thread Reply With Quote




Last Updated on March 18, 2016


© 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