If what you want is a canned system, you probably don't want Amibroker. If what
you want is to develop a system you probably don't want 80 canned systems. Two
different products with two different goals.
good luck
Jerry
gray_1946 wrote:
=
OK, I just bought (on a 30-60 day
can only go to longer timeframes, eg daily over 60minute chart
--
Cheers
Graham
AB-Write Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 04/02/07, Jerry Laster [EMAIL PROTECTED] wrote:
I am playing with timeframeset, etc., but I
Hi,
Let's say I want to buy on the second cross of indicator1 and
indicator2. Is there a way to set this up without a loop?
Thanks,
Jerry
Hi,
How do you go creating your own array? In other languages you can
create an array an populate it. I can't find how to do it in AFL.
Thank,
Jerry
http://www.aflwriting.com
On 30/01/07, Jerry Laster [EMAIL PROTECTED] wrote:
Hi,
How do you go creating your own array? In other languages you can
create an array an populate it. I can't find how to do it in AFL.
Thank,
Jerry
Please note that this group is for discussion
PROTECTED]
wrote:
one way to do this would be:
yourArray = IIF(signal1,C,Null);
rgds, Ed
- Original Message -
From: Jerry Laster
To: amibroker@yahoogroups.com
Sent: Monday, January 29, 2007 9:09 PM
Subject: [amibroker] Re: Creating Arrays
Yes, ma, c, H, etc
-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf
Of Jerry Laster
Sent: Monday, January 29, 2007 16:17
To: amibroker@yahoogroups.com
Subject: [amibroker] Re: Creating Arrays
I think that that code would overwrite the value of yourarray with
each new signal1.
I
Hi,
Is there any way to create a composite from the indicator window?
I'am trying to create a trailing stop. If a new signal is found while
in the trade, I want to change the stop to that signal if it's lower/
higher than the previous one:
StopPS1= StaticVarGet(ShortTrailing) +(R);
Have you tried, SetOption( InitialEquity, 10 ) at the begining of the
code?
That will not take into account any loses, but will always trade with that
fixed amount.
Jerry
On Mon, 08 Jan 2007 23:09:39 -0500, brentonfx [EMAIL PROTECTED]
wrote:
Graham
I don't actually want to size
If it's in the trade description, it's because the exit is due to a stop,
not a signal.
On Wed, 10 Jan 2007 15:39:56 -0500, troll [EMAIL PROTECTED] wrote:
Minor question but unable to find anything in the reference
material, settings or help files.
Now getting Short(21), Long(15) (or some
Hi,
I am stuck here. I am writing the following conditions,
Fail=IIf((Index 1 AND trend2 1) AND CBBandBot (Close, 20, 0.8 ),
VarSetText(ShortFlag+Name(),Fail ), StaticVarRemove( ShortFlag) );
Downtrend= IIf(C1Ref(BBandBot (Close, 20, 0.8), -1) AND CBBandBot
(Close, 20, 0.8 ) AND trend2=1
i,
I am stuck here. I am writing the following conditions,
Fail=IIf((Index 1 AND trend2 1) AND CBBandBot (Close, 20, 0.8
), VarSetText(ShortFlag+Name(),Fail ),
StaticVarRemove( ShortFlag) );
Downtrend= IIf(C1Ref(BBandBot (Close, 20, 0.8), -1) AND CBBandBot
(Close, 20, 0.8 ) AND trend2=1 AND
I second that. Happy holidays everybody.
On Fri, 22 Dec 2006 02:12:50 -0500, Graham [EMAIL PROTECTED] wrote:
Wishing Tomasz, Marcin and everyone in Amibroker community a very merry
Christmas
Thank you Tomasz for the great updates to the program and your support
during the year and look
Hi,
Until yesterday the following code reported correctly short and long
positions. Now is sending orders even if position is negative. Any clues?
if( Position 0 )
Sz= ibc.getpositionsize(Name());
{
// retrieve orderID from previous run, will be
Hi,
Is there any difference between implementing
Buy= Reason1 OR Reason2;
As oposed to
Buy= Reason1;
Buy=Reason2;
What's the best practice?
Thanks
Jerry
--
Kind regards,
Jerry
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an
Thanks a lot. Back to the drawing board.
On Thu, 21 Dec 2006 16:52:19 -0500, Graham [EMAIL PROTECTED] wrote:
Buy= Reason1 OR Reason2; this will use either condition to signal a
buy
Buy= Reason1; this will set uparray for buy signals using only reason1
Buy=Reason2; this will overwite
You can do this with simple code by substracting the Max system drawdown %
from the available funds. It's not perfect but it will give you an
aproximation to Van Tharp's approach. Other than that, you need to follow
Graham advice for coding it.
Jerry
On Tue, 05 Dec 2006 06:27:47 -0500,
Hi,
I notice differences between real time trading and backtesting. Where can
I find detailed information on how the backtester picks the signals it
uses?
--
Kind regards,
Jerry
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an
, but not known realtime). There are
many other ways to get future looking results too. Have you used the
Check
button in the editor to test?
--
Terry
-Original Message-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf
Of Jerry Laster
Sent: Wednesday, December
Thanks Tomasz!
On Wed, 06 Dec 2006 05:45:02 -0500, Tomasz Janeczko [EMAIL PROTECTED]
wrote:
http://www.amibroker.com/guide/afl/afl_view.php?strtonum
http://www.amibroker.com/at/
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message -
From: Jerry Laster [EMAIL
eqr=ibc.GetAccountValue(TotalCashBalance);
eqr is a string. Is there any way to get a numeric value?
Where is ibc.GetAccountValue documented?
Thanks again in advance
Jerry
--
Kind regards,
Jerry
Please note that this group is for discussion between users only.
To get support from AmiBroker
a function like getforexsize() which is doing it
automatically.
Be careful about the sign of ther currency balance, depending on the
contract you want trade.
Hope this helps
Ly
--- In amibroker@yahoogroups.com, laster [EMAIL PROTECTED] wrote:
Hi,
When trading forex checking the position
The sample code you mention uses the command TransmitOrder. I didn't find
any information about it on the help system. Does it exist? What's the
story about it?
Jerry
On Mon, 13 Nov 2006 17:40:43 -0500, Mark H [EMAIL PROTECTED] wrote:
Sorry I misread your question. I use this sample code as
/at/
- Original Message -
From: Jerry Laster [EMAIL PROTECTED]
To: amibroker@yahoogroups.com
Sent: Sunday, November 19, 2006 1:51 PM
Subject: Re: [amibroker] ConTEXT Templates (was Re: AFL editor )
The sample code you mention uses the command TransmitOrder. I didn't
find
any information about
:[EMAIL PROTECTED] On
Behalf Of laster
Sent: Tuesday, October 10, 2006 21:21
To: amibroker@yahoogroups.com
Subject: [amibroker] Buy. False/True?
I was hoping the function Buy to return a False/True that I could use in
an if or while statement. I can't figure it out how to access
of this type of application.
I am looking for others.
Hopefully there is an author around who can take me further on the
subject.
BrianB2.
--- In amibroker@yahoogroups.com, Jerry Laster [EMAIL PROTECTED] wrote:
Not really. My guess is that brian is trying to find a book on the
use of
statistics
Not really. My guess is that brian is trying to find a book on the use of
statistics applied to stock trading.
Haven't read any books that deal with probability of trades and measuring
them. The most advanced use of statistics I know is the afore mentioned
Van Tharp book and other books that
Hi,
I am using OLE for intraday data. No need telling that it takes years to
get years of data (because there is no backfill available). Is there a
place where I can download free historical intraday data? I am using TCNet
and OLE.
Thanks in advance,
Jerry
--
Using Opera's revolutionary
There is a chandelier trailing stop code in the library.
On Tue, 24 Oct 2006 11:26:31 -0400, darwin_ding [EMAIL PROTECTED]
wrote:
Hello,
I would like to code some sort of chandelier trailing stop (not the
built-in ATR trailing stop) and the stop line will trail the HHV since
the actual
File New Default Chart
On Mon, 23 Oct 2006 08:45:46 -0400, Paul Yarwood [EMAIL PROTECTED] wrote:
what the heck did I do. Under the Window Menu I have only New Linked
Chart
menu item and no New Chart menu item
running 4.871 beta. Ami has been fine this is new this am
Would testing SP-500 solve your problem? The patterns should match
(although not the values). Not sure about the point value changing though
(I only trade e-minis).
On Mon, 23 Oct 2006 15:50:01 -0400, eric paradis
[EMAIL PROTECTED] wrote:
Can anyone explain how to backtest the SP500 back
Well, they tell you how much you could make if you are perfect. I didn't
find any description of a trade: bot date price, sold date price.
Many of this places will pick winners for show. The important issue is how
many good/bad trades and how much you lose on the average bad trade. 80/20
Ive successfully traded triangles
for years, and yes, there are many conditional parameters that cant be
coded practically (for instance seasonality). To give you 3 recent examples:
GOOG broke up off a triangle pattern, JCP broke off a pennant pattern and went
on to test its historic
I would like to add a column with the signal to the back
test or scan screen results. I found in the help how to add them to the explore
screen. Is it possible to add them to the other screens?
TIA,
Jerry
__._,_.___
Please note that this group is for discussion between users
Your code should be fixed with
Buy = C Ref(C, -1);
BuyPrice=C;
Sell = C Ref(C, -1);
SellPrice=C;
Short = Sell;
ShortPrice= C;
Cover = Buy;
CoverPrice=C;
And the returns
are much lower. Get your point anyway.
Jerry
From: amibroker@yahoogroups.com
PROTECTED]ps.com
[mailto:[EMAIL PROTECTED]ps.com]
On Behalf Of laster
Sent: Saturday, October 14, 2006
11:21
To: [EMAIL PROTECTED]ps.com
Subject: [amibroker] Help
undestanding Arrays
Hi,
Still trying
to figure out working with Arrays, and its apparent there is something I
am not getting.
My
Hi,
Still trying to figure out working with Arrays, and its
apparent there is something I am not getting.
My understanding of the following is: If in the i bar the
cross of the MACD was true, then Buy at the High. However, Amibroker is buying
in several circumstances (including when
points you need to use the BuyPrice Array ...
PS ... Buying at the H or L price of the current bar is never a good
idea because these are unknown until the bar is no longer current.
--- In [EMAIL PROTECTED]ps.com,
laster [EMAIL PROTECTED] wrote:
Hi,
Still trying to figure out working
What does it mean in English? Equity(1,0)
and why does it remove the surplus signals?
TIA
Jerry
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Graham
Sent: Thursday, October 12, 2006
20:25
To: amibroker@yahoogroups.com
Subject: Re:
Its missing PolyFit.afl. Is it
downloadable from somewhere?
Thanks
Jerry
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Fred Tonetti
Sent: Wednesday, October 11, 2006
20:16
To: amibroker@yahoogroups.com
Subject: [amibroker]
Ooops. Too late for me. Thanks
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Fred
Sent: Thursday, October 12, 2006
22:04
To: amibroker@yahoogroups.com
Subject: Re: [amibroker]
RTFP
--- In [EMAIL PROTECTED]ps.com,
laster [EMAIL
Tomasz,
To generate signals for Interactive
Brokers, do I continually scan the symbols I want to trade? If I incorporate
the trading rules to the chart, do I need a chart refresh (i.e., show the
chart) or they will triggered as new data comes in?
Thanks in advance,
Jerry
Hi,
When trading forex checking the position of the trade does
not work to avoid duplicated trades (because there is no position to speak of).
Did anyone find a way to avoid duplicated trades when trading forex?
I dont want to limit the size of a trade because I
may want to pyramid.
Yes. You need to create the formula with TimeFrameSet
in daily and use TimeFrameExpand to show the information on the hourly chart. Plenty
of information on the help files.
Jerry
From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Padhu
Sent:
Hi,
I am trying to get the datenum or barindex of the last high
and last low.
My attempts to this point are not fructiferous.
L1 = L Ref(LLV(L,500),-1);
dd= ValueWhen( L1,BarIndex() ) ;
Will provide a
date but within the 500 period, or any other period.
What I really need
What you could do is to back test the
strategy and return the historical risk for that kind of trade and apply it to
the formula Graham provided. That way you would have your second pass during at
time of entering the trade.
Jerry
From:
amibroker@yahoogroups.com
I want to have several possible rules for entry and exit. These
rules should have scores (AFL provides that) but I dont want to use OR. I
was thinking about creating a function, assigning the score to the signal and
then passing the result to the buy or sell function. Is there an easier
Guys,
I am trying to add futures and forex
contracts to the AMI database from IB and I dont seem to be able to
enter the right symbol. The only ones working are for stock. The plug-in reads Consult
symbology guide. Where can I find it???
Thanks in advance,
Jerry
From:
://www.amibroker.com/ib.html
--
Terry
-Original
Message-
From: [EMAIL PROTECTED]ps.com
[mailto:amibroker@yahoogroups.com]
On Behalf Of laster
Sent: Sunday, October 01, 2006
13:14
To: [EMAIL PROTECTED]ps.com
Subject: RE: [amibroker] Re: IBC
sending two orders, but should send only one
Guys
Shouldnt the above line prevent overnight short
positions?
Thanks in advance for any comments,
Jerry
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For
, colorwhite);
Bill
- Original Message -
From: laster
To: [EMAIL PROTECTED]ps.com
Sent: Friday, September
22, 2006 11:29 PM
Subject: [amibroker]
Conditional #include
Hi,
I am trying
to create a ParamToggle group that
would include different files
-wire.net.au/~eb_kavan/ab_write.htm
On 30/09/06, laster
[EMAIL PROTECTED]net
wrote:
Shouldn't
the above line prevent overnight short positions?
Thanks
in advance for any comments,
Jerry
__._,_.___
Please note that this group is for discussion between users only.
To get
Hi,
Before trying to reinvent the wheel. Do you know of any
existing way to measure the slope of a moving average?
Thanks in advance,
Jerry
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail
Just to clarify. Not looking for a
formula, but for an indicator.
Thanks again
From:
amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of laster
Sent: Wednesday, September 27,
2006 6:30 PM
To: amibroker@yahoogroups.com
Subject: [amibroker] Any way to
measure
Hi,
I am trying to create a ParamToggle group that would include different
files. The result is that the files get included even though they are inside if
statements. I guess the answer is to create functions and call them from the ParamToggle?
OptionT = ParamToggle(Options?, No|Yes
Hi,
Do you know if printf commands are
accepted in the body of the email? I would like to add information about the
signal to the email, but so far I could not make it work. I didnt find
any information about this.
Where I could I look, if its
possible to do?
Thanks,
Jerry
Hi,
For backtesting I am trying to enter trades intraday generated by data
in the daily time frame (for instance, when the 1 minute bar crosses
the 20 EMA).
I've tried using TimeFrameCompress and call the modified 20 EMA in the
1 minute timeframe for instance:
dC = TimeFrameCompress(C,
Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 18/09/06, Jerry
Laster [EMAIL PROTECTED]net
wrote:
Hi,
For backtesting I am trying to enter trades intraday generated by data
in the daily time frame (for instance, when the 1
58 matches
Mail list logo