[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 inst

[amibroker] Re: Help with Foreign

2010-06-06 Thread jooleanlogic
Jules. --- In amibroker@yahoogroups.com, "jooleanlogic" 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. >

[amibroker] Re: Help with Foreign

2010-06-06 Thread jooleanlogic
t; > This is absolutely necessary because otherwise you won't be able > to do ANY meaningful operations involving both selected symbol and foreign > symbol. > > This also needed for the display so when you mark the quote with vertical > line it will always match the date displayed

[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 timefra

[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. Jul

[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 http://www.reliso

[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. http://www.amibroker.com

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

2010-03-09 Thread jooleanlogic
> Does anyone use that group...? > > --- In amibroker@yahoogroups.com, "jooleanlogic" wrote: > > > > Do you mean that the first value in BarIndex() is always 0? > > This will be the case if you are running the latest version of Amibroker. > > The implementation

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

2010-03-09 Thread jooleanlogic
ers to the C++ function from AFL. > > --- In amibroker@yahoogroups.com, "jooleanlogic" 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) du

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

2010-03-09 Thread jooleanlogic
ot;ftol2.asm"... > > I have been googling all morning and seem have enabled the automatic > downloading of all the Microsoft symbol's at > http://msdl.microsoft.com/download/symbols > > Any ideas what's going on here...? > > TIA > > --- In amibroker@yahoog

[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 the

[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 loop

[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: 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 les

[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] 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. Thank

[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 dat

[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 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 reliabl

[amibroker] Re: Replicating Studies

2009-10-18 Thread jooleanlogic
e price action is similar enough that they > broadly have similar characteristics... for example, reaction highs and lows > in roughly the same places... etc > > > --- In amibroker@yahoogroups.com, "jooleanlogic" wrote: > > > > I just manually write levels in a

[amibroker] Re: Turn off SetBarsRequired

2009-10-17 Thread jooleanlogic
> On Oct 17, 2009, at 6:23 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

[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. E.g.

[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. Regar

[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 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 tick co

[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 has

[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, referenc

[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" 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 this pro

[amibroker] Re: Plotting Gfx ..

2009-09-27 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; row wrote: > > Hello senior members, > I am using this

[amibroker] Re: Footprint Intellectual Property

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

[amibroker] Footprint Intellectual Property

2009-09-25 Thread jooleanlogic
I've been working on my own footprint charts for Amibroker and was just curious about the patents Market Delta claims: http://www.marketdelta.com/Footprint_Chart_Vend Any IP guru's here that could explain to what extent this kind of patent would reach? Is just the Footprint name Trademarked or h

[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 wrote: > > Hi > > Is there an easy way to remove all static variables at once? > > I know I ca

[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; i<50; i++){ c2_Posn = Ref( HHVBars( Array1, sumArray[i]), -1 ) + 1; ... } --- In amibroker@yahoogroups.com, "sidhartha70" wrote: > > Sorry, forgot to add a line that illustrates the iterative nature of the loo

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
ible bar > and less or equal than last visible bar. That would be also more accurate > than proportional scaling that may or may not give exactly the date/time > range displayed on chart. > > > Best regards, > Tomasz Janeczko > amibroker.com > - Original Message --

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
, just how big a task it would be. Do you > think the bulk has to be written in C++...? For a decent one man programmer > are we talking 1 month or 4 months time requirement...? > > Any feedback would be great... > > Cheers > > > > > --- In amibroker@yahoog

[amibroker] Re: barcount

2009-08-30 Thread jooleanlogic
t;pxchartwidth") / Cols; for (row=0; row wrote: > > Jules, out of interest 2 questions if I can... > > 1. How long did it take you to write...? > 2. Does it run fast enough to be fully operational in real time trading...? > > Thanks > > --- In amibroker@yahoogroups.com, "jooleanlogic" wrote: > > > > Thanks. Yes I'm aware of Market Delta and yes, c++ and gfx. > > >

[amibroker] Re: barcount

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

[amibroker] Re: barcount

2009-08-28 Thread jooleanlogic
ou by pointing it > out. > But of course you may not like it. > > And, no sorry, I don't have better answer for you, there is no one-to-one > replacement for LastValue(BarIndex()) . > > Best regards, > Tomasz Janeczko > amibroker.com > - Original Message ---

[amibroker] Re: barcount

2009-08-27 Thread jooleanlogic
mibroker.com/guide/afl/afl_view.php?barindex > > and this: > http://www.amibroker.com/f?setbarsrequired > > and this: > http://www.amibroker.com/f?status > > It contains all info you need. > > Best regards, > Tomasz Janeczko > amibroker.com > - Original Message -

[amibroker] Re: barcount

2009-08-27 Thread jooleanlogic
; 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" > To: > Sent: T

[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 th