[amibroker] Re: barcount

2009-08-27 Thread jooleanlogic
Thanks Snoopy, Barcount doesn't give you the total number of bars in the data, just the total number of available bars. I need to know how many total bars exist in the current symbol when running under QuickAFL. Turning off QuickAFL is about a 10x performance hit which is not acceptable for

[amibroker] Re: barcount

2009-08-27 Thread jooleanlogic
. But then... you would need to ACCESS them. But then you will need to SetBarsRequired( sbrAll, sbrAll ) and then... BarCount will represent total number of bars of available data. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: jooleanlogic juliangoods

[amibroker] Re: barcount

2009-08-27 Thread jooleanlogic
It contains all info you need. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: jooleanlogic juliangoods...@... To: amibroker@yahoogroups.com Sent: Thursday, August 27, 2009 8:04 PM Subject: [amibroker] Re: barcount But BarCount *IS* total number of bars

[amibroker] Re: barcount

2009-08-28 Thread jooleanlogic
: jooleanlogic juliangoods...@... To: amibroker@yahoogroups.com Sent: Thursday, August 27, 2009 11:10 PM Subject: [amibroker] Re: barcount What's sad Tomasz is your inability to understand the question being asked and offer a normal response. You jump to ridicule so quickly as to miss

[amibroker] Re: barcount

2009-08-29 Thread jooleanlogic
Thanks. Yes I'm aware of Market Delta and yes, c++ and gfx.

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
--- In amibroker@yahoogroups.com, jooleanlogic juliangoodsell@ wrote: Thanks. Yes I'm aware of Market Delta and yes, c++ and gfx.

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
feedback would be great... Cheers --- In amibroker@yahoogroups.com, jooleanlogic juliangoodsell@ wrote: It took a while Sidharta.:) Depends how fast you mean by realtime? The chart in the picture takes around 70ms on my p4 3.2ghz. The only real bottleneck is the GDI drawing so

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
proportional scaling that may or may not give exactly the date/time range displayed on chart. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: jooleanlogic juliangoods...@... To: amibroker@yahoogroups.com Sent: Friday, August 28, 2009 1:37 PM Subject

[amibroker] Re: Loops with a variable counter... possible?

2009-09-01 Thread jooleanlogic
Is this what you mean? sumArray = Sum( Array_y , LookBack ); for (i=0; i50; i++){ c2_Posn = Ref( HHVBars( Array1, sumArray[i]), -1 ) + 1; ... } --- In amibroker@yahoogroups.com, sidhartha70 sidharth...@... wrote: Sorry, forgot to add a line that illustrates the iterative nature

[amibroker] Re: Remove all static variables

2009-09-21 Thread jooleanlogic
I can't remember where I read it Brenton but you can use a wildcard. StaticVarRemove(prefix*); // removes all variables starting with prefix Jules. --- In amibroker@yahoogroups.com, Brenton Hill bphill0...@... wrote: Hi Is there an easy way to remove all static variables at once? I know

[amibroker] Re: Footprint Intellectual Property

2009-09-25 Thread jooleanlogic
. I'll just call mine Bootprint charts and see if they sue me. :) Regards, Julian. --- In amibroker@yahoogroups.com, jooleanlogic joole...@... wrote: I've been working on my own footprint charts for Amibroker and was just curious about the patents Market Delta claims: http

[amibroker] Re: Plotting Gfx ..

2009-09-28 Thread jooleanlogic
Do you mean like this? Paste it at the end of your existing code ColumnCount = Param(Column Count, 10); rowCount = Param(Row Count, 10); ColumnWidth = ChartWidth / ColumnCount; rowHeight = ChartHeight / rowCount; y = y1Chart; for (row=0; rowrowCount; row++){ x = x1Chart; for

[amibroker] Re: Best Backup software

2009-09-29 Thread jooleanlogic
DriveImage XML is a brilliant free imaging tool for Windows. --- In amibroker@yahoogroups.com, Rob sidharth...@... wrote: Hi, Little poll... What's your favorite backup software...?? I've had a few problems with Acronis True Image 2010. I'm wondering what peoples experiences are with

[amibroker] Re: Planning: estimating time to finish programming

2009-09-30 Thread jooleanlogic
Haha. Thanks for the laugh Jeff. Timelines are one of the more comedic aspects of programming. You need them, but they're a joke. Programming can be immensely time consuming and Tomasz is bang on the money. At least in my case, I'd say about 60% of it is pure research (google searching,

[amibroker] Tick count on es

2009-10-05 Thread jooleanlogic
Can anyone tell me what an average and high tick count per day is on the es eminis, and what is the average number of ticks for the life of a contract? Also if anyone's got it, what is the average number of bid/ask messages to trade ratio. E.g. The SFE Spi averages about 15k ticks per day and

[amibroker] Re: Tick count on es

2009-10-05 Thread jooleanlogic
Thanks Rajiv, I found some samples on the CME website. Jules. --- In amibroker@yahoogroups.com, Rajiv Arya rajivary...@... wrote: Hi Jules, Try the CME website, I believe they have a time and sale history that can be downloaded. Also if you use Interactive broker they have a

[amibroker] Re: Replicating Studies

2009-10-15 Thread jooleanlogic
I just manually write levels in a text file Rob and then have a simple script to load and plot them which you can add to any chart. You can also prefix different types of levels. E.g. vah,4000 poc,3990 val,3985 vah,3970 ... and plot them in different colours or turn different types off/on.

[amibroker] Turn off SetBarsRequired

2009-10-17 Thread jooleanlogic
Is there a way to reset setBarsRequired after you've done setBarsRequired(sbrAll, sbrAll)? I have a paramTrigger that sets all bars required so it can perform a computation. But once I've done that, the only way I've found to get it back to normal is to open the script and apply it again.

[amibroker] Re: Turn off SetBarsRequired

2009-10-17 Thread jooleanlogic
AM, jooleanlogic wrote: Is there a way to reset setBarsRequired after you've done setBarsRequired(sbrAll, sbrAll)? I have a paramTrigger that sets all bars required so it can perform a computation. But once I've done that, the only way I've found to get it back to normal

[amibroker] Re: Ami is exiting without an exit command

2009-11-02 Thread jooleanlogic
Same thing happens on mine too Dennis. I don't press the enter key in the params window anymore either. --- In amibroker@yahoogroups.com, Dennis Brown se...@... wrote: Yes, It works most of the time for me also. That is why I have not sent it to support yet, because I can not reproduce it

[amibroker] Re: slow amibroker chart

2009-11-25 Thread jooleanlogic
Rink, this is a consequence of the amount of data you are requesting to be processed. The more you have, the slower it goes. When charting, Amibroker will only use as much data as is necessary to correctly calculate the indicators you have plotted. E.g. You might have half a million bars of

[amibroker] Window Id

2009-12-07 Thread jooleanlogic
Is there any way to identify windows in Amibroker like there is for chart panes? I know there's no getWindowID() function like there is a getChartId() one, but has anyone got a roundabout way of identifying the window a script is running in? I need it to store data on a per window basis.

[amibroker] Re: How to Draw a Chart Just Once?

2009-12-09 Thread jooleanlogic
I don't think it's possible progster as it re-renders the image each update. I have a feeling with requestTimedRefresh that irrespective of what you request, it refreshes at least at the speed set in preferences. So if you've got it set to 1 second in the prefs, then all charts will update every

[amibroker] Re: Esignal Data feed Historical data issue

2009-12-09 Thread jooleanlogic
Kapil, what is the base time interval for your database? Is it 1 minute or tick? Sounds like it might be set on Tick with mixed EOD/Intraday. If it is set on tick, then 10,000 bars is not going to cut it. The es mini for example has about half a million ticks per day. Other symbols are much

[amibroker] Re: AmiBroker 5.29.5 BETA released

2009-12-23 Thread jooleanlogic
Thanks Tomasz, in regards to the changes to BarIndex(), my plugin has been using the following code to determine the total number of bars in underlying compressed quotations array: totalBarCount = LastValue(BarIndex()) That will no longer work, but will this work the same? SetBarsRequired(-1,

[amibroker] Re: Question about JScript/VBScript DLL's...

2010-03-08 Thread jooleanlogic
For loops and array access, yes there is a significant speed difference in C. Just think of it this way Sid, your afl loop in a dll will take about as long as any other inbuilt afl function does. If an MA call on your machine takes a few milliseconds, then that's roughly as long as your afl

[amibroker] Re: Question about JScript/VBScript DLL's...

2010-03-08 Thread jooleanlogic
Yes you can attach to the Broker.exe process and step through your dll code. The Visual C++ Debugger is excellent. As DNSFAB noted, the C code equivalent is not as straight forward as afl as there is glue code needed, but Tomasz has made the plugin as easy as possible to get started with and

[amibroker] Re: Question about JScript/VBScript DLL's...

2010-03-09 Thread jooleanlogic
downloading of all the Microsoft symbol's at http://msdl.microsoft.com/download/symbols Any ideas what's going on here...? TIA --- In amibroker@yahoogroups.com, jooleanlogic jooleanl@ wrote: Yes you can attach to the Broker.exe process and step through your dll code. The Visual C

[amibroker] Re: Question about JScript/VBScript DLL's...

2010-03-09 Thread jooleanlogic
@yahoogroups.com, jooleanlogic jooleanl@ wrote: As far as I know Sid, the ftol2 is the assembler code for converting a float to an int. Are you trying to step into that line of code (F11) during debugging or does it give you that error no matter what? There's not much point stepping

[amibroker] Re: Passing DateTimes to C++ from AFL

2010-03-15 Thread jooleanlogic
Sid the info on the datetime format is in the ADK doco. It uses an AmiDate union which is 64 bits and contains a PackedDate struct. The doco outlines how the date and time are bit packed. Also in version 5.28.1, Tomasz released the GetDateTimeArray function for the ADK.

[amibroker] Re: IB Controller from C++ plugin

2010-04-09 Thread jooleanlogic
If you've never worked with com before Jens, then no it's probably not trivial. At least it wasn't for me. I haven't used the IB interface at all and am no com expert, but I've managed to interface with Amibroker so will outline how I went about it. Here's a useful tute on it

[amibroker] Re: Change last value of array

2010-04-15 Thread jooleanlogic
I think that will only work in version 5.3 Sid. BarIndex() changed from being the actual index in 5.2, to always starting at 0 in 5.3. So LastValue(BarIndex()) in 5.2 can give you a number greater than BarCount under QuickAFL. You could just use BB_Array[BarCount-1] which will always work.

[amibroker] Help with Foreign

2010-06-06 Thread jooleanlogic
I have two symbols AP and APS for the Aussie Spi futures. APS is basically a 24 hour instrument and AP is the day only version of it from 9:50-16:30. They're identical during the day session. I want to view the AP symbol (just high to low bar) overlaid on the APS(24h) symbol in the daily

[amibroker] Re: Help with Foreign

2010-06-07 Thread jooleanlogic
:23 PM, jooleanlogic joole...@... wrote: I have two symbols AP and APS for the Aussie Spi futures. APS is basically a 24 hour instrument and AP is the day only version of it from 9:50-16:30. They're identical during the day session. I want to view the AP symbol (just high to low bar

[amibroker] Re: Help with Foreign

2010-06-07 Thread jooleanlogic
@yahoogroups.com, jooleanlogic joole...@... wrote: I have two symbols AP and APS for the Aussie Spi futures. APS is basically a 24 hour instrument and AP is the day only version of it from 9:50-16:30. They're identical during the day session. I want to view the AP symbol (just high to low bar

[amibroker] Amibroker multiple installs

2010-08-19 Thread jooleanlogic
Sorry I'm sure this has probably been answered before but Yahoo keeps giving me Search server is busy (code=300) when searching. Very annoying. Anyway, I want to install 5.3 but also keep 5.2 running as I need them both for testing purposes. Just after advice on the best path. Can I just