Basically, when Applystop is triggered, I need the Cover or Sell flag to
be set to true so that the corresponding trade can be executed.
How would I achieve this?
Thanks,
Andrew.
Andrew Z wrote:
G'day all,
I'm currently testing an FX system via a third party API that allows me
to
Try using the title lines special codes. One apears in the standard price chart that comes with AB_N(Title = StrFormat({{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
or for similar result_N(Title = {{NAME}} -
Hi Patrick
Thanks for your advice.
The momentum indicator in the attachment was a pretty generalised one
and I am currently constructing one based on the ADX/DMI.
While I already have one I've decided to fine tune it before I post
it. Am I'm sure you are aware it's the interpretation that's
Question: How do I reference the first close in a data set, perform a
calculation on it and that becomes the new surrogate close going
forward?
ie. Dow close 5 yrs ago = 9500
surrogate dow close = 9500+5
If I use:
InitalSurrogateClose = ref(c,-1)+ 5 ;
SurrogateClose =
That's how it works. ApplyStop gives a Sell/Cover code == 2 (which is
True just like a normal exit which == 1).
--
Terry
-Original Message-
From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Z
Sent: Monday, June 05, 2006 01:55
To: amibroker@yahoogroups.com
Not sure what you are really after.
What you did was create a reference to YESTERDAY's close. It will change
every day as you discovered. If you just want the first close of the
data to remain constant, try this:
InitalSurrogateClose = C[0] + 5;
Gets and stores the very first piece of data
Hello,
In addition to that, if you want to accumulate 5 over
subsequent days (so it adds 5 to every bar after initial one)you can
use:
Surrogate = Close[ 0 ] + Cum( 5 );
Best regards,Tomasz Janeczkoamibroker.com
- Original Message -
From:
Terry
To:
I am trying to re-dimension the Close array by increasing its size in
order to add the next day closing price and calculating the next day
signal using a built-in indicator that Do Not Provide An Array
Argument (Hope someone at AmiBroker catches the hint).
I've use a _vbscript_ to
function
Im working on some seasonal indicator but had problems with it.
I stripped the code to the problem related part, see below.
It counts the number of years within a symbol. As soon as i click
on apply indicator it displays the correct year count, but then
everything disappears and the yc is set
--- In amibroker@yahoogroups.com, troll [EMAIL PROTECTED] wrote:
Re conditional color in title
Thanks so much Terry Steve - your helpful comments helped me solve
this one. ( Also didn't realize my 52 week high formula needed to be
corrected to exclude current week as Steve kindly
Thank you both!!! I do believe that is what I'm looking for.
--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED]
wrote:
Hello,
In addition to that, if you want to accumulate 5 over subsequent
days (so it adds 5 to every bar after initial one) you can use:
Surrogate =
My .NET system creates parameters, sends them to AB, runs the AFL,
gets the results from the backtester, adjusts the parameters and
repeats many times. I'm currently using the Windows clipboard
(ClipboardSet(values)) as the interprocess communication mechanism
between AFL and .NET and it works
Hi,
try this:
tn = TimeNum();
Color = IIf( tn =08 AND tn = 14, colorBlue,colorLightBlue);
Plot( 1, , Color, styleArea | styleOwnScale, 0, 1);
Changing the last 1 you can change the width put it on the whole
pane or make a ribbon below the chart
traderix
--- In
Hi,
Thanks
Alan
traderix2003 wrote:
Hi,
try this:
tn = TimeNum();
Color = IIf( tn =08 AND tn = 14, colorBlue,colorLightBlue);
Plot( 1, , Color, styleArea | styleOwnScale, 0, 1);
Changing the last 1 you can change the width put it on the whole
pane or make a ribbon
Hello,
Write a plugin using ADK in C++that will "talk" to your
.NET app.
Best regards,Tomasz
Janeczkoamibroker.com
- Original Message -
From:
soundscribe_studios
To: amibroker@yahoogroups.com
Sent: Monday, June 05, 2006 7:39 PM
Subject: [amibroker] Interprocess
Thanks Tomasz. I thought you might say that.
Would the plugin approach execute faster than the clipboard?
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 other support
PLEASE UNSUBSCRIBE ME FROM THIS LIST
From: "Phsst" [EMAIL PROTECTED]Reply-To: amibroker@yahoogroups.comTo: amibroker@yahoogroups.comSubject: [amibroker] Quick ? about Variable NamesDate: Sun, 04 Jun 2006 00:24:46 -MIME-Version: 1.0X-Originating-IP: 66.94.237.48X-Sender: [EMAIL
Is it possible to control the dates which appear on the bottom axis from
code?
Alternatively, can I save a layout with the last 3 months showing; then save
another layout with 6 months showing, and recall one or the other. I have
tried but it seems the date span is not saved nor controlled by
When I open a new window, it appears to stick in the last Global Layout I
saved, which is not what I want. I do not see a way to control the layout
that opens with NEW WINDOW. Is there a way and what is it. Thanks for any
help on this minor issue.
Ken
--
No virus found in this outgoing
Hello,
It is using default template (not default layout). The difference is that
template
is for single window while layout is multi-window.
Default template can be saved using right click on chart, then Template-Save
as default.
Best regards,
Tomasz Janeczko
amibroker.com
- Original
20 matches
Mail list logo