Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 08-28-2011, 12:26 AM   #1

Join Date: Mar 2010
Location: Houston
Posts: 6
Ignore this user

Thanks: 0
Thanked 1 Time in 1 Post

ADE - "No Data Available for Class..."

I've saved class data. I can open the csv file at CADE\Data

However, when I try to load the saved file in easylanguage I get "No data available for Class" error.

I can see the class name listed with

GetFileSymbols(Class,myLi stS);

and it's interval as well.

I just can't load the data.

Any suggestions on how to debug this?

---update

It happens when I close MC and open it backup. I lose access to the Class data that I stored. Any help would be great!

Thanks
Matt

Indicator Code

Code:
Inputs: Data2toADE(false),
	 addMostRecentRPMData(true);
Vars:
	Class("RPM"),   // identifies our metrics with a unique name
	InfoMap(MapSC.New), // used to pass data to ADE
	InfoMap2(MapSN.New);


// Put the information we want to store in our InfoMap
if Data2toADE then begin
	Value1 = MapSN.Put(InfoMap2, "RPMValue", close data(2));

	// Tell ADE to store this info for the current symbol and bar interval
	Value1 = ADE.PutBarInfo(Class, GetSymbolName, ADE.BarInterval,	ADE.BarID, InfoMap2);
	Value1 = ADE.SaveMap(Class, GetSymbolName, ADE.BarInterval);
end;

Plot1(_RPMValue);
_RPMValue Function

Code:
Vars:
	Class("RPM"),   // identifies our metrics with a unique name
	InfoMap(MapSC.New), // used to pass data to ADE
	InfoMap2(MapSN.New),

ADE.getbarInfo(Class,GetSymbolName,ADE.BarInterval,ADE.BarID,infoMap2); 
value2  = MapSN.Get(infoMap2,"RPMValue"); 	
_RPMValue = value2;

Last edited by rpmfxtrader; 08-28-2011 at 12:58 AM.
rpmfxtrader is offline  
Reply With Quote
Old 08-28-2011, 01:38 AM   #2

Join Date: Mar 2010
Location: Houston
Posts: 6
Ignore this user

Thanks: 0
Thanked 1 Time in 1 Post

Re: ADE - "No Data Available for Class..."

I needed to Add

ADE.OpenMap(Class, GetSymbolName, ADE.BarInterval);

before ADE.GetBarInfo... so far thats working
rpmfxtrader is offline  
Reply With Quote
The Following User Says Thank You to rpmfxtrader For This Useful Post:
Tams (08-28-2011)

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Morgan Business Trial Group Files Class Action Against Forex Capital Markets, LLC Mysticforex Brokers and Data Feeds 2 05-09-2011 05:40 AM
Rich Dading Trading Class Real/ newtrader001 Beginners Forum 10 11-12-2010 11:03 AM
ES Data Looks Incorrect on Sierra Intraday Historical Data 233jim Beginners Forum 4 04-25-2010 07:12 PM
Neat High School Class Pit Trading brownsfan019 General Discussion 8 01-04-2009 09:21 AM
Will the YM Data Feed be included with the Globex E-mini Data Feed The Bear E-mini Futures Trading Laboratory 1 01-19-2008 01:05 PM

All times are GMT -4. The time now is 10:58 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.