[amibroker] Setting Variables in DLL

2010-08-28 Thread WiseStockTrader
Hello Tomasz I'm wandering is are there any problems in doing the following AmiVar result = gSite.AllocArrayResult(); gSite.SetVariable(blah, result); return result; Would this cause problems to the GC having the same memory in two variables? Thanks in advance.

[amibroker] How many open charts do you use

2010-08-28 Thread Tomasz Janeczko
Hello, I have a question for AmiBroker users, especially those using it in real-time: how many chart windows do you have open simultaneously and how many panes per chart ? I mean the maximum that you use or would like to use. I am asking because knowing that would make code tuning /

[amibroker] Re: How many open charts do you use

2010-08-28 Thread Rob
TJ, As a real time day trader I use 12 open charts... each chart currently has 8 panes, but frankly I only use max 3 panes per chart (on some a single pane only)... I think 8 may have been the default and I didn't change it. As I understood it, reducing the number of panes didn't add any speed

[amibroker] Formula Help Needed

2010-08-28 Thread JEFF F
If one of the AFL experts out there could help me out, it would be greatly appreciated. I do not understand why, in this formula the sell price is not being executed according to my stops. Please understand this is a work-in-progress and not meant to be a complete formula. I put in all the

[amibroker] How many open charts do you use

2010-08-28 Thread Vinay Gakkhar;
Dear Tomasz, In my view the ideal maximum is 10 windows (the font I use is Abadi MT Condensed 8), 5 of them with 1 each default chart, and the other 5 with 1each linked chart, each 'linked chart' linked to 1 each default chart. The idea is that I will have 5 stocks/ commodities each with one

Re: [amibroker] Re: How many open charts do you use

2010-08-28 Thread Keith McCombs
I am confused by your use of the terms 'sheet' and 'pane'. I believe that 8 is the default number of sheets per chart (or is it per chart window). One is the default number of panes per sheet. Also, I'm not sure what a chart is. For example, on page 38 of the Users Guide 5.20, I see a

Re: [amibroker] How many open charts do you use

2010-08-28 Thread Dennis Brown
Tomasz, Currently I have one main chart open as visible with just one pane. I also have 3 other chart windows open on upper tabs, but not always visible. My intention is to have up to 4 additional minimized charts running in the background on different timeframes to provide timed refresh AFL

Re: [amibroker] Re: How many open charts do you use

2010-08-28 Thread Tomasz Janeczko
Hello, Keith, you are right. In AmiBroker, a chart is a window that may contain one or more panes (each displaying indicator and/or price/volume). Sheets are excel-like tabs on the bottom of chart window. I was asking for chart windows and panes in the sense above. As I understand it Rob

[amibroker] Re: Formula Help Needed

2010-08-28 Thread JEFF F
Thanks cas soni, I appreciate your input, and adding the plot. The problem I am having is the sellprice and sellstop seem to be floating numbers and recalculated every day. I want them to be calculated once at entry, and remain that fixed value until a sell is triggered. Any help is much

Re: [amibroker] Re: How many open charts do you use

2010-08-28 Thread Keith McCombs
TJ -- I think I got it now. Chart, as an adjective, as in chart pane, chart sheet, chart widow, etc.. As a noun, it means a chart window. Thank you very much. -- Keith On 8/28/2010 13:01, Tomasz Janeczko wrote: Hello, Keith, you are right. In AmiBroker, a chart is a window that may

[amibroker] QP EOD data base not updating

2010-08-28 Thread Keith McCombs
I originally posted this as a follow up to Using QP EOD and AB 64bit. I assume it was overlooked because of this. TJ -- Running the Scan helped. However, that leads me to another question or two: I had set up the data base, QP3L, with local enabled a while ago, in addition to my already

Re: [amibroker] QP EOD data base not updating

2010-08-28 Thread Tomasz Janeczko
Hello, 1. It will only update if a) you scan entire database using 32-bit version. b) you make sure that in File-Database Settings Data source is set to Quotes Plus. How copying from external database to local one works is explained in manual: http://www.amibroker.com/guide/h_workspace.html

[amibroker] desperately need help forgetting pop up window alert

2010-08-28 Thread amit k
plz help i m looking for pop window formula which i can add to my formulae...so whenever i use ita pop window opens with buy-sell share name on the basis buy-sell signals generated by my formula and on compltd bars only( no repetition)and when evr any signal comes on

RE: [amibroker] How many open charts do you use

2010-08-28 Thread TA
6 charts, 4 panes From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Tomasz Janeczko Sent: Saturday, August 28, 2010 6:54 AM To: amibroker@yahoogroups.com Subject: [amibroker] How many open charts do you use Hello, I have a question for AmiBroker users,

Re: [amibroker] How many open charts do you use

2010-08-28 Thread J R
    6 charts   3 panes   JR From: Tomasz Janeczko gro...@amibroker.com Subject: [amibroker] How many open charts do you use To: amibroker@yahoogroups.com Date: Saturday, August 28, 2010, 8:53 AM   Hello, I have a question for AmiBroker users, especially those using it in real-time: how

[amibroker] Re: How many open charts do you use

2010-08-28 Thread Rob
Sorry yes. 12 chart windows. Each with 8 sheets. Each chart window has only one pane. --- In amibroker@yahoogroups.com, Tomasz Janeczko gro...@... wrote: Hello, Keith, you are right. In AmiBroker, a chart is a window that may contain one or more panes (each displaying indicator

Re: [amibroker] How many open charts do you use

2010-08-28 Thread Edward Pottasch
I have 8 charts, each having 3 panes. But I have multiple Layout setups and click between them depending on what I trade. These days I usually use a 4 chart layout each with 3 panes, all using 5 min interval but a 1 minute database. reason I do not use N-Volume charts is that I can only use

[amibroker] Performance

2010-08-28 Thread tstudent
Is possible, with Amibroker, to have performance results indipendent from equity? When i test a system i don't want posizion sizing, i don't want initial equity, i only want evaluate every single trade without the influence of the equity in a particular point in time. Thanks

Re: [amibroker] Performance

2010-08-28 Thread Tomasz Janeczko
Hello, You just run your test with one contract SetPositionSize( 1, spsShares ); (or fixed trade amount). SetPositionSize( 5000, spsValue ); // $5000 in every trade This will give you raw performance, without sizing effects. Best regards, Tomasz Janeczko amibroker.com On 2010-08-28

Re: [amibroker] Re: Formula Help Needed

2010-08-28 Thread Edward Pottasch
Jeff, I agree with cas soni that plotting the problem makes it easier to solve. You can use the valuewhen() function but the problem is that before a sell is found new buy signals emerge. That is why I would solve such a problem using an exit loop. See code below. If this can be solved using

Re: [amibroker] Re: Formula Help Needed

2010-08-28 Thread cas soni
Hello Edward,wow..great .   .i was looking for something like this [ i.e- your code ]Thank you --- On Sun, 29/8/10, Edward Pottasch empotta...@skynet.be wrote: From: Edward Pottasch empotta...@skynet.be Subject: Re: [amibroker] Re: Formula Help Needed To: amibroker@yahoogroups.com Date: Sunday,

Re: [amibroker] Performance

2010-08-28 Thread Tomasz Janeczko
Hello, You need to think again. No, there won't be ANY influence if your initial equity is large enough so no trade is dropped because of insufficient funds. Equity curve is not sum of percent profits, but actual VALUE of portfolio (in dollar terms). If all trades have equal position size

Re: [amibroker] How many open charts do you use

2010-08-28 Thread Tomasz Janeczko
Hello, Thank you everyone who responded. It gives me good idea about setups you are using (and confirms my earlier assumptions that chart window count is usually well below 20 with each window having not more than 4-5 panes - speaking of course about visible, simultaneously open windows).

[amibroker] Re: Two Newbie Questions

2010-08-28 Thread valuelive
Thanks Sanjiv In future, I will ask one question per post. kind regards valuelive

[amibroker] Re: Should All Symbols in Database Have Same Amount of Data?

2010-08-28 Thread valuelive
Thanks Keith and Sanjiv for your replies - this newbie greatly appreciates your input. Clearly AB is a sophisticated TA software package. With sophistication comes many benefits. But it also requires a reasonable investment in time to (a) work out how to make the sotware do what you want it

[amibroker] Help with Swing Chart

2010-08-28 Thread aarbee60
I refer to the Gann Swing Chart code originally done be Tomasz. The charts identify the Swing Low and Swing High charts with dots depicting the no. of bars since the last swing point. I would like the code to draw straight lines connecting the High and Low points of the swing bars, much like a

[amibroker] Re: How many open charts do you use

2010-08-28 Thread af_1000000
Hello, 3 charts per symbol (4 pains including price for the first and the second chart and third chart only one pane). First chart for the direction, second for the execution, third (always minimized) to calculate everything for the first and the second chart. The third chart is like a batch