How to update existing database on backfilling in amibroker.

#12
So the problem is that ami is not uploading the new data.

Put screen shot of the data youbhve and how u are uploading it, then only we can figure out a way
I had figured out in the internet. It says b4 copying new data delete broker.master. I did it and now both files are shown in ami :) but with the same name{ncc,ncc}. Even i changed the name of new data as ncc1{vcc etc.} The most funny part is this that merge option of ami works only for different scrip name.:lol: So it cant merge ncc with ncc !
 

Iron_Man

Active Member
#13
I had figured out in the internet. It says b4 copying new data delete broker.master. I did it and now both files are shown in ami :) but with the same name{ncc,ncc}. Even i changed the name of new data as ncc1{vcc etc.} The most funny part is this that merge option of ami works only for different scrip name.:lol: So it cant merge ncc with ncc !
Change name of the TICKER not the file name. I assume you have the NCC file (that you want to upload) in some .txt file. So open the txt file and replace all the TICKER Name "NCC" to "NCC 1" and then do it.

If you don't have it in .txt file, then export that from the Ami, and do the process I mentioned above.

See the example of Nifty below

 
#14
QUOTE=Iron_Man;1061297]Change name of the TICKER not the file name. I assume you have the NCC file (that you want to upload) in some .txt file. So open the txt file and replace all the TICKER Name "NCC" to "NCC 1" and then do it.

If you don't have it in .txt file, then export that from the Ami, and do the process I mentioned above.

See the example of Nifty below

[/QUOTE]

Actually the format of data is not in txt it is in some another form which i dont know has it dont have any extension. Screenshot - 03_04_2015 , 12_44_30.png
And i use rtdata to backfill . i dont have any other data feeder. Tell me how to convert it into txt format. Screenshot - 03_04_2015 , 12_43_35.jpg
 
Last edited:

trash

Well-Known Member
#15
Most annoying Amibroker problem is that it keeps making copies of same AFL over and over and over and over again. On one installation, I had seen 440+ copies of Price.afl (with little or no change amongst them).

The drag-drop folder could be, by far the biggest source many of the afl bugs.

The amount of nonsense in this forum is incredible.

There is no Drag&drop problem. The only problem is that you don't understand how it works.

Drag&drop is applied only if you double-click an AFL of "Charts" window.
Now if you double click price.afl to one chart sheet's pane the first time ever it will have name of Price 1.afl in drag&drop folder. If you double-click the AFL of same name to another sheet's pane or to completely other chart tab or in completely other database only then it will have name Price 2.afl in drag&drop folder and so on.

Now if some amateur would have 400 numbered price afl then it would be a good idea to use a provided already existing tool called "Indicator maintenance" of "Tools" menu. That tool scans for Amibroker Workspace layout files (.awl) that don't use AFLs being part of drag&drop folder anymore and provides you with option to delete them from disk. So no problem at all.

But panes that are closed remove AFLs being part of Drag&drop folder automatically (you can view it yourself if you keep drag&drop folder opened). So once again no problem at all. They are only kept in Drag&Drop folder if a database has gotten deleted (chart panes with dragged&dropped files have not been closed then. Well, surprise surprise the deleted DBs don't exist anymore). So then some files in drag&drop have no connection to any DB then and are not active. So what now? Well, we are back at already mentioned "Indicator maintenance" of "Tools" menu. Which means again that there is no problem at all.

Now if you wanna completely avoid AFLs being created as copies and wanna avoid being moved to drag&drop folder then there simply is existing option "Insert Linked" available if you right-click a formula of "Charts" window. That one will not move AFLs to drag&drop folder but will apply them as original AFL. Oops, I'm repeating myself as it means again that no problem exists.

Now what is the purpose of drag&drop folder? Its purpose is to keep original files untouched by default. My guess is that AB were thinking of amateurs who blindly or without thinking would edit files and then would be wondering about why original file does not work anymore. If drag&drop would not be default option then there wouldn't be the original file available anymore that could be restored but just the blindly edited one.

But let's see the difference of insert (does the same as double-clicking a formula) and insert linked in AB help:

Frequently Asked Questions about drag & drop functionality

Q. What is the difference between Insert and Insert Linked option in chart menu?

A. Insert command internally creates a copy of the original formula file and places such copy into hidden drag-drop folder so original formula will not be affected by subsequent editing or overlaying other indicators onto it. Double clicking on formula name in the chart tree is equivalent with choosing Insert command from the menu. On the other hand Insert Linked command does not create any copy of the formula. Instead it creates new chart pane that directly links to original formula. This way subsequent editing and/or overlaying other indicators will modify the original.
But that simple difference possibly is too much challenging for some people.
 
Last edited:

Similar threads