Amibroker Help

#14
Hi,

From last two days stuck with unique problem in amibroker EOD database...

i use to make changes in high or low wrongly traded thnx to algo or freak trade in morning session...database date format is getting changed to YMD from DMY i.e. 25/05/15 becoming 15/05/25....when i go to edit the quote, any suggestion who to rectify the error.

Regards,
Kedarnath
 

mastermind007

Well-Known Member
#17
Two questions

1) I want to have different default charts for different Amibroker databases. And, also the screen layout needs to be different for different databases.

2) Also, whenever I save the chart file, the formula on chart file effectively gets locked and any changes I make to the formula independent of chart also get lost. I always Insert-link the afl to chart, never do Insert to avoid this problem. But if I ever save a chart with formula in it, this problem re appears.
 

amitrandive

Well-Known Member
#18
Two questions

1) I want to have different default charts for different Amibroker databases. And, also the screen layout needs to be different for different databases.

2) Also, whenever I save the chart file, the formula on chart file effectively gets locked and any changes I make to the formula independent of chart also get lost. I always Insert-link the afl to chart, never do Insert to avoid this problem. But if I ever save a chart with formula in it, this problem re appears.
First issue ,not tried but seems possible.Used to have two instances of Ami's running at the same time a few years back.One for trading equities and the other for commodities both having different databases and different live feeds.

For the second , i always edit and paste a new formula in the existing formula window.This new version gets saved with a different name and I simply rename the title of the AFL again with the old name.

Can try :D
 
Last edited:

trash

Well-Known Member
#19
1) I want to have different default charts for different Amibroker databases.
Make a request here http://www.amibroker.com/members/feedback/index.php or ask here [email protected] whether such feature is available already (but I don't think so).

1) And, also the screen layout needs to be different for different databases.
Simply save as local layout(s) but not as global one(s) (if we talk about same thing).

2) Also, whenever I save the chart file, the formula on chart file effectively gets locked and any changes I make to the formula independent of chart also get lost. I always Insert-link the afl to chart, never do Insert to avoid this problem. But if I ever save a chart with formula in it, this problem re appears.
I don't understand this one. What gets locked? Changes get lost? Where?
Explain in a reproducible way like

1. first you do this ...
2. then you do this ...
3. ...
...
10. then you will get this result.
 

mastermind007

Well-Known Member
#20
1) I want to have different default charts for different Amibroker databases.
Make a request here http://www.amibroker.com/members/feedback/index.php or ask here [email protected] whether such feature is available already (but I don't think so).
OK, Thanks for the tip! Shall do the same.

1) And, also the screen layout needs to be different for different databases.
Simply save as local layout(s) but not as global one(s) (if we talk about same thing).
I think I don't really understand how Amibroker manages layouts and workspaces, but my hunch tells me that if I somehow improve my understanding, it will do what I am aiming to do.

2) Also, whenever I save the chart file, the formula on chart file effectively gets locked and any changes I make to the formula independent of chart also get lost. I always Insert-link the afl to chart, never do Insert to avoid this problem. But if I ever save a chart with formula in it, this problem re appears.
I don't understand this one. What gets locked? Changes get lost? Where?
Explain in a reproducible way like

1. first you do this ...
2. then you do this ...
3. ...
...
10. then you will get this result.
Perhaps the most unusual thing on how I use Amibroker is that I keep editing and improving upon my AFLs which also includes some renaming

Second most unusual thing I do differently is how I place AFL on a chart, I very strictly do not do any of the following

a) Double click on the AFL from Chart Window
b) Drag and drop the AFL
c) Cut-paste the code

The above conventional approach can creates multiple copies of same code. It also implies that if I want to make any corrections I will have to be repeat it n number of times.

Unless you are very careful, you can have hundreds of files with identical contents but different names. This is one aspect that annoys me.

Every time, I create a chart file, it makes a copy of entire code into the chart file by replacing newlines with its escape sequences.

For trading, I keep moving from one database to another and this sometimes causes chart files to get closed. If any of the AFL present in chart was improved while the chart was not open, the embedded copy in the chart file becomes a problem. When I next open the chart file, it renames the AFL adding suffix _imported. Before I understood the problem, I did lose some of the more recent code.

If I do not check for this, I might end up trading on the earlier version of the AFL (minus my improvements)
 
Last edited: