yeah the way I solved it looks complicated but basicly the solution in words
is: when the stoploss is hit you still need to sell at the sell defined by the
cross. For the sellprice you use the stopprice. This is the only way to prevent
the backtester from allocating funds right after the stop. T
DEAR AMIBROKER BUDDIES,
I AM PRETTY NEW TO AMIBROKER AFL CODING.
CAN SOME BODY PLEASE WRITE A CODE FOR FOLLOWING CRITERIA.
STOCKS WHICH OPEN ABOVE PREVIOUS DAYS CLOSE AND CLOSE BELOW PREVIOUS DAYS CLOSE
AT END OF FIRST 5 MIN.
EX: ABC STOCK PD CLOSE AT 400 NEXT OPENS AT 402 AND CLOSES AT 398 AT
Hi..I'm newbie in AB from Indonesia. I always try every AFL for intraday, but
fail. Would u like to give me AFL for intraday for signal buy and sell?
Thanks...
Thanks Aron, sounds great.
regards,
paolo
--- In amibroker@yahoogroups.com, Aron wrote:
>
> Thomas Ludwig wrote:
> > On Saturday 07 March 2009 10:29:46 Tomasz Janeczko wrote:
> >
> >
> >> Yes calculation of complex formula in one pane and passing to other panes
> >> is the simplest applicati
Actually b < BarCount
should be used instead of for b < BarCount-1
since "less than" operator guarantees that b is never equal to BarCount.
Alternativelly one could use b <= BarCount-1 (note less or equal operator used
this time).
Best regards,
Tomasz Janeczko
amibroker.com
- Original Messa
Graham is frequent poster and he has offered a lot of help on this list
and I have heard nothing but praise about his service.
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: "mytakeismine"
To:
Sent: Monday, March 09, 2009 5:40 AM
Subject: [amibroker] Re: www.aflw
Tomasz,
To clarify my understanding (and perhaps help others as well):
1) The upgrade of StaticVarSet/Get now allows arrays, previously only numbers
and strings.
2) StaticVarSet allows one to store an array and then retrieve this via
StaticVarGet similar to
a) Foreign (ATC), EXCEPT that this w
I also noticed that running Composite on All symbols ( Apply to ALL SYMBOLS
checked on) vs
( Apply to USE FILTAR checked on / INCLUDE TAB empty/ EXCLUDE TAB indexes
checked on )
yields different results.
Thank you Brian for response.
- Original Message -
From: brian_z111
To: a
I have used Graham's (afl writing) service in the past (2006) and he did an
excellent job for me as well. My impression is that he is overly busy so there
is a few weeks of queue time but once he got around to it, he did an excellent
job.
On that point, it is quite obvious to me and others that
It is not about global or local (i.e. scope), but about lifetime of variables.
Static variables as far as scope is considered are global,
however that is not the most important thing.
The lifetime is where the main difference is.
The lifetime of static variable is as long as program is running,
Happy Monday to All!
wondered if anyone was using ProphetX with DDE to amibroker? i know you can
get the IQFeed free if you have ProphetX but was trying to use through DDE to
Amibroker without IQFeed.
Here's what a DDE looks like when I drop it into Excel:
=ProphetX|QUOTE!'msft[DTN:NASDAQ]?La
Hi All,
I just posted a new suggestion at www.Amibroker.com/feedback. It occurred to me
that most AB users don't know about or use the feedback area. So, I wanted to
take a second to highlight the value of using the site to add suggestions and
provide feedback for existing ones. If you haven't
Gordon,
I'm pretty sure you can code for this type of stuff already in AFL. You can
simply set up your on checks to see if an event has occurred, and if it has,
execute any code you want...
For example, OnBar() that you are talking about could be achieved by looking
for a change in DateTime()
'own checks' that should read...
--- In amibroker@yahoogroups.com, "sidhartha70" wrote:
>
> Gordon,
>
> I'm pretty sure you can code for this type of stuff already in AFL. You can
> simply set up your on checks to see if an event has occurred, and if it has,
> execute any code you want...
>
>
Mike wrote:
> You would do that by defining your own "fitness function" and exposing
...
> bo.addCustomMetric("tMult", tMult);
excellent! thanks
Hi sidhartha70,
Thanks for your thoughts. I actually did try something like that, but seemed to
find some sensitive timing issues. My objective was, as soon as I detected a
new bar (this was using one minute bars), to access information about the just
completed bar. At least in my experience, i
I'm sure TJ will comment on this. But you may need to use static variables. I'm
not sure.
But I'm pretty sure all this event stuff can already be achieved in AFL.
--- In amibroker@yahoogroups.com, "Gordon" wrote:
>
> Hi sidhartha70,
>
> Thanks for your thoughts. I actually did try something lik
Gordon,
AFL is event driven. Some event causes your AFL program to execute.
You can check to see which event caused it to run and run all or a
portion of your program depending on the event.
Check back on your suggestion again for an example of bar closed.
You can suggest a new event type
Hi All,
to clarify what event driven programming model means read this article
http://en.wikipedia.org/wiki/Event-driven_programming
To make it short and simple: the whole AFL code executes as a "single batch"
when some event (new tick, time refresh etc.) occures in AB. And then AFL
code has t
Herman,
What I said is that I have to exit AFL between passes. That is to let
operations take place that will not run while I am inside the AFL
loop. For instance, recompiling the Parameters window (after poking
the Reset all button with my DLL) takes a whole new AFL pass from the
start
Sorry, but clearly your knowledge about computers is very limited.
In Windows OS, all programs execute strictly sequentially. And all this
"event driven" processing in Windows is actually single big loop
that calls non-stop GetMessage function and that processes the
message through sequence of co
Hi:
I am trying to generate statistics using stock data from TC2007, but find AB
treats both stocks and funds (e.g., , DXO) as stocks. Is there a way to
filter out non-stock symbols?
Thanks.
HL
> This website is a sham. I've got taken. I asked for a system to >trade
> ETF's and I got back my own script that I posted a month ago on >this Yahoo
> Group. What a waste of time...
>
I don't understand.
I thought aflwriting.com was a code writing service and not a seller of
'systems'
Forget it. Waiting for his replies takes forever...
--- In amibroker@yahoogroups.com, "Mike" wrote:
>
> Hi,
>
> I've never dealt with the company. But, Graham has a long history of helpful
> and constructive contributions to this forum.
>
> If you haven't already, you might try contacting him
He did not write my code to specifications. He wasn't even close. It takes
forever for him to reply to emails and quite frankly, I don't think he even
read my emails to full extent. I wanted to call him to verify the
specifications before he started the job but he didn't want any of that.
Andy,
In my time in the forum I have tried to be fair to others and stick up for
fairness (didn't always succeed).
That is why I asked you to clarify further.
It seems that there is more to it than your original post and it involves
matters that can only be clarified by discussion between your
If you've been a 'computer scientist all your life', you wouldn't need someone
to write an AFL for you, especially since you have already written AFL trading
system.
Something doesn't quite add up, especially your insistence on not wanting to
contact Graham to resolve this matter vs slamming hi
Actually, I'm writing it myself now. I'm just not up to speed on the
various indicators in what I should be using in my own system. I've
bought quite a few technical books so I'm deep into that right now. I
feel if I have one more indicator that works, it's going to be a robust
system...
As I wrote before, in the past I have heard nothing but praise for Graham
expressed on this list many times.
I consider this thread as closed.
The original poster should resolve the issue in private.
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: "ozzyapeman"
To
Wow! You don't have a conference and you get more conversation about it than
if you do have one.
Seriously, Thank you to everyone who made comments about the conference, and
especially to Tomasz, Bruce Robinson and Howard Bandy. Also to Bill Barack who
did not contribute to this discussion.
Yes. I'm a computer illiterate. There is no doubt about that :)
And you are beautiful and always right :)))
And yes! I wrote my message loop in AFL... I enjoyed it! 15 years old
memories flashed back :)
Still, AB is not even close to what is called event driven programming
modell.
I didn't eve
Richard,
I'd be there in a heart beat. But of course, you know that:)
Dave
- Original Message -
From: richardlboroff
To: amibroker@yahoogroups.com
Sent: Monday, March 09, 2009 5:11 PM
Subject: [amibroker] Re:FT Monitor/AB Conference
Wow! You don't have a conference and you
Hey Richard, sorry I missed the last meeting, only I didn't know it might be
the last. You know the circumstances. Wish we could find a conference center
with lower up front commitments but one that would be attractive enough to draw
a good attendance. One that one make it profitable for you, t
I considering automating the execution of a strategy that is working for me.
Can anyone point to reference material on automation with AB/IB?
My strategy needs to actively scan a lot of symbols and check if the data meets
the criteria to buy/short/sell.
also, one basic question: can Amibroker
Bigitop
#2 and #6 on this list.
http://www.amibroker.org/userkb/2008/03/23/amibroker-supported-sites/
Hermans' your man ... Heart of Gold (Neil Young).
--- In amibroker@yahoogroups.com, "bigitop" wrote:
>
> I considering automating the execution of a strategy that is working for me.
> Can
Hi all,
I hope this is the right place to post this - apologies otherwise & please
redirect me to the right place.
I'm trying to filter some signals using a for loop.
I print the variables in the loop and I 'plotShapes' the same variables.
Results are erratic and inconsistent.
If I move the sel
Herman,
Your solution is clever, but does not apply to me. I already have
realtime event handling in my general includes for my chart -- and I
really only have one realtime chart that I use, so that is not my
problem.
However, your other statement is interesting:
"You could also write a
Tomasz,
Re: 'nosync' arrays
Please be gentle with me ... you know I only conduct computing thought
experiments and have never opened the bonnet on my computer, or read the OS
manual.
Also, I am not teaching you how to suck eggs ... I don't know what is in your
mind ... I can only make an appr
38 matches
Mail list logo