I am trying to calculate the % favorable price excursion based on the
current price vs the buy price, and then turn on a Chandelier trailing
stop if a % favorable price excursion threshhold is hit to lock in
more profits. I am unable to grab the buyprice on the first buy
(opening price). The code
Now all I have to do is work what the heck all these acronyms like ODBC and SQL mean-- CheersGrahamAB-Write >< Professional AFL Writing ServiceYes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 22/07/06, Tomasz Janeczko <[EMAIL PROTECTED]> wrote:
You could just add a condition that the next buy cannot be in the same
hour as the last sell.
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 23/07/06, nightscalper <[EMAIL PROTECTED]> wrote
Hi brian,
Thanks for the help...its slowly creeping in there..i have an example from marcin i am working with..time will tell!!
Allan
- Original Message -
From: "brian.z123" <[EMAIL PROTECTED]>
Date: Sunday, July 23, 2006 8:32 pm
Subject: [amibroker] Re: I am lostII
> I am still wo
Hi Dingo,
I have no problem doing anything along the lines of powerscan and writing code.Ami is excellent and intuitive as far as that...
The problem for a complete non programmer is when i get to "looping",the manuals tend to leave out thebasic stepsits little things like the "i" and "{ "
The standard Automatic Analysis Optimization report does not appear to
show the return of Long or Short Trades for each optimization run.
However, this info is shown in the standard AA report for single
backtests. For swing trading this is very important to know. Any way
to add this to the Optim
Its Powerscan: http://www.amitools.com/
d
From: amibroker@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of TerrySent:
Sunday, July 23, 2006 8:47 PMTo:
amibroker@yahoogroups.comSubject: RE: RE: [amibroker] Re: I am
lostII
See Steve's reply
because the bi
P.S
My gut feeling is that you pulled the wrong rein and made a mistake
on some aspects of that one (well actually you did pull the right
rein but now you need to pull it again and a bit harder this time).
As you well know, I can't give you any technical reasons.
To me the AB 'internal' database
See Steve's reply because the big
difference in AFL is the array processing as Steve explained.
The books were for Excel VBA programming
(macros) because that's what you asked for. VBA is, in a way, quite similar to
AB when using loops. They are just constructed a little different. I
Hello Michael,
I was a little biased against artificial tickers but I am picking up
the message from longer term users that some like that method.
Maybe it is horses for courses.
I have an open mind now and maybe I will use ODBC/SQL/artificial
tickers for different tasks or later on come to favo
I am still wobbly on the skates myself but I will stick my neck out.
Yes it could be any letter as long as you are consistent with it in
the code at hand.
As used in your example it is a actually a counter.
We could use 'i' as the variable in any way we wanted but we don't
in order to avoid conf
Yes this would be true if you imported every day. And as you say, Fnd
data just doesn't change enough for daily storage.
But as fortune may have it, My Fundamental data source is monthly. So im
only importing "Changing" data on a monthly
basis. The easy solution to bloated artificial tickers for
Thanks Steve,
Yes, I have had to go back to the AFL manual for a rework.
Your comments do help.
It all adds up.
BrianB.
--- In amibroker@yahoogroups.com, "scourt2000" <[EMAIL PROTECTED]> wrote:
>
>
> > How would one become proficient/knowledgable in writing code
such
> as this???
>
> By und
Thanks Tomasz,
I have been speculating about that stuff for a while now so it is a
relief to get presented with the facts and have it all cleared up.
BrianB.
--- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
> The reason why fundamental data implement
Hello Allan,
I am having success with:
SAMS 'Teach Yourself Beginning Programming' in 24 Hours'.
Author = Graig Perry
Sams Publishing
International Standard Book No 0-672-323307-9
Published in America.
www.samspublishing.com
The spine says $29.99 USD.
I haven't started the ascent of Mt AFL its
Steve,
Your input is appreciated and I will do precisely what you stated,but I still would like a reference that would enable me to undesrstand what is second nature to you..
For instance,I dont know what the "i" stands for in the code.Most of the examples reference the letter "i".I am slowly
Hi All - before i dive into coding it - does anyone know if there is
AmiBroker source code to Ehlers - Smoothed Adaptive Momentum available
anywhere on the net?
tks
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
> How would one become proficient/knowledgable in writing code such
as this???
By understanding that the Buy[] array is not true ONLY on the bar
where the first buy signal occurred in a trade.
Required reading with 100% comprehension:
1. Tutorial in the docs on "Understanding how AFL works"
Chuck - I don't know what's happening on your end , but I just clipped lines
of AFL
as contained in your message, inserted them in the formula editor, and chose
apply
indicator and stepped through several tickers. Here's a PNG of INTC -
Intel.
The other consideration is the color of your screen
Hi Terry,
Noticed you reccomended these 2 books...I have absolutely no problem coding in Amibroker,but I do run into problems with coding such as this..
for( i = 0; i < *BarCount*; i++ ){ if( priceatbuy == 0 *AND* *Buy*[ i ] )
{ priceatbuy = *BuyPrice*[ i ];
How would one become prof
Hi,
I am trying to build a trading system where I would like to use a
profit target. I began by using the ApplyStop function but that one
does not allow you to specify a different target for long resp short
trades. Is there an easy way around that?
Kind regards,
/Fredrik
Joe, thanks for your help, but I'm still getting no arrows displaying
on the chart even though there are numerous buy/sell signals. I even
copied your code verbatim into its own pane and all I got was the
basic price line.
Tomasz, is it possible that there is something corrupted in my
software th
How to write a formula that will plot a standardized relative strength
that sets the plot of RelStrength to 100 as of a specified fixed
date? This is what I have so far:
multiplier = Ref( RelStrength ("SPY"), -256 ) ; // how to set this to
a specific fixed date rather than a 256 bar lookback?
Hello all,
for backtesting purposes I want to define "nBarsWait" like this:
nBarsWait = 60 - Minute();
ApplyStop(stopTypeLoss,stopModePoint,nStop,1,False,nBarsWait);
ApplyStop stopTypeProfit,stopModePoint,nTarget,1,False,nBarsWait);
But the applystop function does not allow me to do this.
My
Hello,
The reason why fundamental data implemented in AB are current only are as
follows:
a)
Yahoo nor any other free source of fundamental data does not provide historical
values
for majority of fields. The idea behind new fundamental data functionality in
AB
was to couple it with a method t
Hello,
In AmiQuote,
please go to Tools->Settings and change
"Yahoo Historical Server" to
"ichart.yahoo.com (default)".
As "Server B" is having problems now.
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: "Don Lindberg" <[EMAIL PROTECTED]>
To:
Sent: Sunday, July
Being a long-time artificial ticker-er myself (and an absolute non-
programmer) I think one disadvantage of this method is that, assuming
a daily data base, we are creating arrays with many, many duplicate
values. For example an array containing EPS (in one of the OHLCVI
fields) would only chang
27 matches
Mail list logo