NexusFi: Find Your Edge


Home Menu

 





ELcollection need help


Discussion in MultiCharts

Updated
    1. trending_up 1,706 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?
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
2 thanks
30 Sessions
1 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


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