[amibroker] Re: Static Variables - Remove All

2009-04-04 Thread Graham Johnson
Thanks again Herman I've found OSAKA in the Third-Party area - is there documentation to aid implementation/understanding? In the meantime I'll persevere with static variables and hopefully achieve consistent results and when that is bedded-down, I can pursue the likes of OSAKA. Graham

[amibroker] Closing Price prediction for MACD crossing it's Signal

2009-04-04 Thread binjobingo
Hi , Was Going throgh Mr Dimitris Tsokakis's Ema Crossover Predictions AFL He had also written about Macd Roc value if one has to know if MACD will cross it's signal. Does anyone know the AFL to calculate the "CLOSEPRICE" so that macd crosses it's Signal ? Thanks & Regards

Re: [amibroker] Re: Curious what most people use AmiBroker for? What kind of trading or usage?

2009-04-04 Thread Dennis Brown
Genius does not imply great world shattering results. Only that the genius has far above average creative or intellectual abilities. He may choose to apply those abilities in any area, or on none, or squander them in selfish pursuits if he/she chooses. For an intellectual genius the norm

[amibroker] Re: The Year of The Bear

2009-04-04 Thread brian_z111
Correction. The comparison was 0.8242/0.8179 (N/50*N), an extraordinary convergence and will within sample error for N. Even more astounding, to me, the pattern frequency was also very similar, which is counter intuitive ... I expected a much lower frequency occurrence for the 'bullish pattern

[amibroker] The Year of The Bear

2009-04-04 Thread brian_z111
Just a heads up for newcomers. 2008 was an extraordinary year that will be in our databases for years to come. IMO it is worth preserving a database for the year ... it is a lot easier to do it now than to try and isolate the 'bear year' data later. It can be very instructive to run tests in a

Re: [amibroker] Are Trailing Stops & Stop Profit instructions giving reliable results ?

2009-04-04 Thread Tomasz Janeczko
Wrong settings. Read the manual. Also "activate stops immediatelly" should only be used if you enter trades on *OPEN* price as it is said in the manual (see ApplyStop description). Your pictures show clearly that you are _NOT_ entering on open ! Also check this: http://www.amibroker.com/kb/20

[amibroker] Are Trailing Stops & Stop Profit instructions giving reliable results ?

2009-04-04 Thread rem_yah
Hi, Are Trailing Stops and Stop Profit instructions in AmiBroker giving reliable results ? I created a simple code ( see the AFL code below), but when I back-test it, I obtain a lot of ApplyStop (stopTypeTrailing & stopTypeProfit) false signals, as shown on the picture ( a false stopTypeTraili

[amibroker] Re: Curious what most people use AmiBroker for? What kind of trading or usage?

2009-04-04 Thread brian_z111
My dictionary says a genius is a person with EXCEPTIONALLY GREAT creative or intellectual powers i.e. something more than just great. IMO we use the word far too readily in modern society ... I reserve it for someone who makes a mark on the World stage, like Da Vinci, Einstein. Mozart etc. I

Re: [amibroker] Two trailing stops possible - 7% and ATR(10)?

2009-04-04 Thread Ara Kaloustian
You might consider combining the critria formulas and use one ApplyStop Criteron1 = your formula1 criterion2 = your formula2 criterion = smaller of (or larger of or whatever ) critrion1 and criterion2 ApplyStop(.,criterion,...); - Original Message - From: "srengret" To: Sent: Sat

[amibroker] Two trailing stops possible - 7% and ATR(10)?

2009-04-04 Thread srengret
Does Amibroker allow two trailing stops? I've been trying to code two trailing stops with different criteria in Amibroker 5.10. Why do this: Some, but not all, of the ATR-based trailing stops allow too big of a loss when the 7% stop seems to catch them earlier. Here is what I've tried: The

Re: [amibroker] Re: explain datenum

2009-04-04 Thread Tomasz Janeczko
Hello, Generally yes. The format YYYMMDD uses year (YYY) expressed as (FourDigitYear - 1900). But that is equivalent to your understanding. CYYMMDD DD - day MM - year YY - year (2 digit) C - century where 0 represents 20th century (years 1900...1999) and 1 represents 21 centruy (2000...2099)

[amibroker] Re: explain datenum

2009-04-04 Thread ozzyapeman
> i am trying to get my head over the first digit only. would 1 = 20 and 0 = 19 Not exactly. Look at the first 2-3 digits. 1xx = year 20xx and xx = year 19xx 1011231 = 2001-12-31 790407 = 1979-04-07 Just do a few calculations by hand using various dates and the formula pasted below, and you wi

[amibroker] Re: Static Variables - Remove All

2009-04-04 Thread Graham Johnson
Thanks Herman & Aron I have added my vote to Suggestion #1518 and I did note that its priority is shown as High. I am comfortable with the concept of adding code to the end of CBT process to loop through all Bars, Trades and then using StaticVarRemove. Naming format is "Text" + Symbol + BarDa

[amibroker] Re: explain datenum

2009-04-04 Thread murthysuresh
i am trying to get my head over the first digit only. would 1 = 20 and 0 = 19 the first 2 digits of the year in format? --- In amibroker@yahoogroups.com, "ozzyapeman" wrote: > > e.g. > > 2001-12-31 = 1 * (year - 1900) + 100 * month + day = 1011231 > > > > > --- In amibroker@yahoogr

[amibroker] Re: explain datenum

2009-04-04 Thread ozzyapeman
e.g. 2001-12-31 = 1 * (year - 1900) + 100 * month + day = 1011231 --- In amibroker@yahoogroups.com, "murthysuresh" wrote: > > i have a datenum like 1090403 > > what does the first digit stand for? >

[amibroker] explain datenum

2009-04-04 Thread murthysuresh
i have a datenum like 1090403 what does the first digit stand for?

[amibroker] Re: problem with intraday interactive brokers data

2009-04-04 Thread paulchow2k
I like to add a comment as a Amibroker newbie. My trial of AB does NO report the Volume properly when I connect via the IB plugin. I'm getting Australian ASX data and this is frustrating especially in the Time&Sales window. Not sure if anyone is having the same issue. regards paul --- In amib

Re: [amibroker] Re: Curious what most people use AmiBroker for? What kind of trading or usage?

2009-04-04 Thread reinsley
And the definition of a genius is that he is in advance in his time. That implies that he serves nothing... :) Herman a écrit : > > > And it takes a simpleton to see what no one else sees ;-) > > > herman > > > > Thursday, April 2, 2009, 11:09:58 PM, you wrote: > > >> A smart engine