How to convert AFL to C# using AmiBroker .NET SDK and Community Plug-ins

531 views
Skip to first unread message

narayanam.v...@gmail.com

unread,
Jul 30, 2018, 3:59:40 AM7/30/18
to AmiBroker Developers Group
Hello, I am trying to convert my afl to a DLL. I am totally new to using this. I am stuck at converting my afl to c#. Can some one help me how can I convert my code using this?

jecr...@gmail.com

unread,
Aug 10, 2018, 12:08:44 PM8/10/18
to ami...@googlegroups.com

Amidey,

 

    That SDK does not work the best way is to use the amibroker SDK plugin and make a call to any function

 

Ex.

 

2.4.3 Calling internal AmiBroker functions

You can call internal AmiBroker function using CallFunction() method of site interface. To do so you should prepare argument table first. Argument table should define all parameters needed by the function you are calling (even the default ones).

                         AmiVar args[ 2 ];

                         args[ 0 ].type = VAR_FLOAT;

                         args[ 0 ].val = 12;

                         args[ 1 ].type = VAR_FLOAT;

                         args[ 1 ].val = 26;

                         gSite.CallFunction("macd", 2, args );

 

 

There also is a C# SDK that will do what you want for personnel use only

www.dotnetforab.com/

--
You received this message because you are subscribed to the Google Groups "AmiBroker Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amidev+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/amidev.

Niraj Bhole

unread,
Aug 18, 2023, 11:38:42 PM8/18/23
to AmiBroker Developers Group
i am in the requirement of AFL to C++ code converter, Please guide me how can i convert required AFL code.

Thanks
Niraj.
Reply all
Reply to author
Forward
0 new messages