[amibroker] Re: PROGRAMMING ISSUE

 

Hello

Usage of .APX file interferes with the code and unless one is careful about updating the embedded code first, any corrections/changes made to the referenced AFL file will get lost as it keeps getting over-written everytime .APX file is reopened.

Before raising earlier query, I had already figured out solution of using include files but that solution is lot less desirable and creates many more down-stream headaches and are as listed here.

Usage of the stub AFL file to be embedded APX causes far too many implementation oriented problems

1) Usage of stub forces unnecessary speed penalty(in a software that boasts for its speed)

2) Usage of stub forces that the customer uses same folder name as that on the development machine.

3) If the stub is relying on a watch list, Ordinal number of watch list on both machines have to matchThis is fine only as long as customer does not have any watch list already set. If he already has many
watch lists, this is a problem. 

4) Usage of stubs also makes it difficult to update the from-to range dates and current work-around is to use status("lastbarinrange")

5) Stub also turns out to be another headache for AFLs that are to be run at repeated intervals and resulting exploration data has to be exported. AFAIK, the feature to ExportCSV function is available 
only on the COM side. One alternative work-around is to create separate javascript for loading and separate for exporting but this work-around restricts number of analysisdoc that can be open at once
to ONE.
Second work-around is to shift implementation of looping and repeat timing interval firing into the Javascript. This work-around is fine but it deprives user from using already built decent UI and if some user disregards developers and forcefully activates repeated firing in AmiBroker also, it creates race-till-you-crash scenario between amibroker and Javascript. Sometimes amibroker teams up with Javascript and both of them gang up together to crash the third app that was waiting for exported output to do further signalling.

Also, at other times, Javascript goes on creating new AnalysisDocs with same code and only stable solution is to keep closing & re-opening the APX (set with no repeat interval)

__._,_.___

Posted by: parmar.ajay32@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon