[amibroker] basic question about referencing bars

2009-02-23 Thread bigitop
hi, im learning AFL and need some basic help. while i'm running a script how can i reference previous bars and forward bars? in other words, how do i get OCHLV info from a bar(s) that are back in time and forward in time from the current array for the same symbol? I guess it would be something

Re: [amibroker] basic question

2008-02-25 Thread wavemechanic
You can find the bar number with barindex() when the condition is met and then identify that bar in a variety of ways, including arrow, color, etc. Bill - Original Message - From: "trdrync" <[EMAIL PROTECTED]> To: Sent: Monday, February 25, 2008 11:57 AM Subject: [

[amibroker] basic question

2008-02-25 Thread trdrync
Hi, I am trying to run explore with a set of conditions .. something like for (...) { Filter = cond1 and cond2; if (Filter) break; } As Filter is an array I cannot use the above code and I cannot use selectedvalue(Filter) as I discovered that it always returns the last value in the

[amibroker] Basic question on how to start programming

2007-09-23 Thread Kourosh Ghasssemieh
Hi all, I'm relatively new to amibroker and don't know programming. I'd like to start adding a few custom indicators and hope that someone can help get me started. I have a set of indicators I'm following in FX to set up trades. I have 3 stochastics set up on the same pane and when all 3 dr

[amibroker] Basic Question

2006-06-21 Thread Ashish Bhatia
Hi, Can somebody please explain, what is the difference between x = AMA(Ref(Avg,-1),0.5); and x = Ref(AMA(Avg,0.5),-1); Cheers. Ash Yahoo! Groups Sponsor ~--> What does your credit report say about you? Find out on the Beehive. http://us.cli