Problems with the coding

Moderator: admin

Problems with the coding

Postby d10gen3 » Thu Jan 27, 2011 1:35 pm

The following code is always giving me problems:
Code: Select all
OfferID = core.host:findTable("offers"):find("Instrument", instrument).OfferID;

It can be found in CCI Strategy as well as in TrendMagic_Strategy_Dir

Is something wrong with this line or is it just my platform?
The error I get is:
attempt to index a nil value
d10gen3
 
Posts: 11
Joined: Wed Jan 26, 2011 8:18 pm

Re: Problems with the coding

Postby Apprentice » Fri Jan 28, 2011 4:14 am

The development team knows about this problem.
I hope that we will soon know more.

The cause of the problem is probably the Platform or Server.

Proposed Fix.
Put manually all custom strategies to corresponded folder and restart FXTS.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 50 guests