NexusFi: Find Your Edge


Home Menu

 





ELcollection need help


Discussion in MultiCharts

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




 
Search this Thread

ELcollection need help

  #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?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

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 Twitter Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627


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 Twitter 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


© 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