Lua application

Moderator: Moderator

Lua application

Postby jhouchin » Tue Oct 25, 2011 8:03 pm

Since Lua is used for indicators, it seems that it would be nice if Lua was able to be used for creating ForexConnect applications.

Will Lua access be available for non C++ programmers?

Thanks.
jhouchin
FXCodeBase: Confirmed User
 
Posts: 46
Joined: Fri Feb 25, 2011 1:38 pm
Location: Texas

Re: Lua application

Postby sunshine » Thu Oct 27, 2011 12:42 am

Please read about Indicore Integration SDK. I believe this is what you need.
sunshine
 

Re: Lua application

Postby jhouchin » Thu Oct 27, 2011 8:16 am

sunshine wrote:Please read about Indicore Integration SDK. I believe this is what you need.


Hello,

No, that is not what I was referring to.

I am currently using Order2Go in an app. ForexConnect is the future.
Since the developers are using Lua in Indicore.
I thought it would be nice if Lua was natively usable in ForexConnect to build a ForexConnect app using Lua. This would also make using the indicators in a ForexConnect app fairly easy. Yes the indicators may need some tweaking for such use. But it wouldn't be difficult.

Yes, I know that it is possible. But I am not a C++ developer and have no knowledge of how to embed Lua and compile it into a ForexConnect application.

Currently, I am using Python to access the COM dll in Order2Go.

Thanks.

Jimmie
jhouchin
FXCodeBase: Confirmed User
 
Posts: 46
Joined: Fri Feb 25, 2011 1:38 pm
Location: Texas

Re: Lua application

Postby sunshine » Mon Oct 31, 2011 2:27 am

Hi,

Could you please give me more details about what you are going to do.
As far as I understand you need one of the following:
1) You would like to write your program in Lua and use ForexConnect in it.
or
2) You would like to use Lua scripts (indicators/strategies) within your program written in some programming language, say in C#.
sunshine
 

Re: Lua application

Postby jhouchin » Mon Oct 31, 2011 8:59 am

Hello,

To make this simple, for the moment forget about indicators, just ForexConnect.

ForexConnect current supports C++, .NET, Java natively for applications.
It has been stated that a windows COM dll will be generated in the future for people who want to migrate from Order2Go and such a dll would help them do so.

I and many others do not use C++, .NET, or Java, but can use Lua.
Lua is supported language in other products, Indicore SDK, and MarketScope.

This could be seen as a request or a nice feature for ForexConnect.
It would be nice if Lua was embedded in ForexConnect and one could build their trading application in Lua. It would be nice if Lua was supported like C++, .NET and Java.

Yes, I know there is technically nothing stopping anybody from doing this right now.
But for many of us, yes there is. We don't know how. But technically speaking, .NET and Java are being provided support above a basic C++ library to build apps. Their interop libraries are being provided with the SDK. I am just proposing that a nice dynamic language like Lua be added to that support.

All that said. What I was referring to before with regards to Indicators, is that if Lua was embedded into ForexConnect. It would be easy to use the indicators in your ForexConnect application.

In other words. The idea isn't about embedding Indicators in a ForexConnect app. But rather embedding Lua into ForexConnect.

Thanks.

Jimmie
jhouchin
FXCodeBase: Confirmed User
 
Posts: 46
Joined: Fri Feb 25, 2011 1:38 pm
Location: Texas

Re: Lua application

Postby Nikolay.Gekht » Mon Oct 31, 2011 2:38 pm

I understand the idea. Having C++ API in core, ForexConnect can be integrated with virtually any platform. However, we aren't planning to include all possible platform into standard implementation. However, developing of Lua ForexConnect wrapper for ForexConnect is pretty good idea. I'll take a look what we can do. I think the most possible thing is developing the core implementation and then release it as a open-source product. I'll keep you informed.
Nikolay.Gekht
FXCodeBase: Base Builder
 
Posts: 1222
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: Lua application

Postby jhouchin » Mon Oct 31, 2011 3:04 pm

Thanks for your consideration.

I understand that you wouldn't want to support every possible combination. The only reason I make the suggestion, is that you already use Lua in your other products. You are already comfortable with it. Your user base will potentially already be familiar with it. It seems like a good fit for a dynamic language element to your ForexConnect API.

Jimmie
jhouchin
FXCodeBase: Confirmed User
 
Posts: 46
Joined: Fri Feb 25, 2011 1:38 pm
Location: Texas


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 5 guests