Chris,
I ran this little test. The \t works in the interpretation window, but it
does not work in the chart Title.
This code prints both places since I did not surround the Title = statement
with _N(Title = "stuff"); However, the \n does work to create a
newline.
Plot(C,Name(),1);
Plot(m = MA(C,20),"MA",2);
Title = "Close:\t\t" + C + "\nMA\t\t" + m + "\n{{VALUES}}\t{{DATE}}";
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of Chris DePuy
Sent: Monday, October 09, 2006
23:00
To: [email protected]
Subject: Re: [amibroker] Title=
question
Is it possible to place a TAB format
into a Title=?
Using interpretation, "\T"
is a tab, but in the Title (title = "\T") just gives you a box and
doesn't push the next text over neatly.
Terry, thanks for your help on the
title=title+"new stuff" below.
----- Original Message -----
Sent: Monday,
October 09, 2006 4:00 PM
Subject: RE:
[amibroker] Title= question
Title
is just a variable so,
Title
= Title + "new stuff";
-----Original Message-----
From: [EMAIL PROTECTED]ps.com
[mailto:[EMAIL PROTECTED]ps.com] On
Behalf Of Chris DePuy
Sent: Monday, October 09, 2006
16:24
To: [EMAIL PROTECTED]ps.com
Subject: [amibroker] Title=
question
It seems like Herman used two
separate Title= commands
here, one for the text up on top and another inside the T=0 loop that
follows. How do you make so the second Title= command doesn't just
supersede the one before it?
I am blasting this question to the
normal amibroker list even though it was initially sent this to the AT list
because my question relates to non AT issues.
PS: Herman, thanks for the ticker
list idea, by the way.
----- Original Message -----
Sent: Tuesday,
August 29, 2006 2:25 AM
Subject: Re:
[AmiBroker-at] FW: Re: ONE SECOND REFRESH IS HERE! (was [OT] AT State-Engines)
You use a loop to test all the tickers in a watchlist,
see example below. I use such loops to calculate RT prices, to place orders, to
create display table, etc. I use includes when code is "finished" but
somehow my code is never finished :-) Except for debugging I don't usually
display chart & signals, a table with system status and trades in progress
is all I need - see below.
TickersTraded = StaticVarGetText("TickersTraded");
for( T=0; (Ticker = StrExtract( TickersTraded, T ) ) != ""; T++ )
{
TickerLastPrice =
GetRTDataForeign("Last",Ticker);
... etc ...
}
A typical (off-line now) trading screen:

best regards,
herman
jppt0k wrote:
Hello Herman,
a couple of questions because I'm not sure I have understood.
You have your chart with the system loaded (the system written within or
do you use #include?) and then every trading signal that's generated by
the system is plotted onto it (plotshapes or else?).
But you don't limit this way the trading signals to the current ticker?
Or there's a way to run a scan every tick this way?
Thanks in advance for you inputs.
j
Herman wrote:
> Hello Angelo,
>
> Code in an Indicator window executes with each new quote or each second
> if you use the new function. For me , in real-time trading I want my
> system to trade as soon as possible after it detects a price change that
> triggers a trade, not 5 seconds later. As far as i know the AA doesn't
> do that, also RT systems are hard to debug in the AA as you can't
> display debugging charts.
>
> I use the AA for explorations, backtesting, etc. but not for RT trading.
>
> best regards,
> herman
>
>
>
> Angelo wrote:
>>
>> --- In AmiBroker-at@yahoogroups.com
>> <mailto:AmiBroker-at%40yahoogroups.com>,
"Herman" <[EMAIL PROTECTED]> wrote:
>> >
>> > I run my trading systems in the Indicator window, this normally
>> refreshes
>> > each time a quote comes in
>>
>> Hi Herman,
>>
>> it seems that this is just what I'm looking for (I maen, what I've
>> been asking at
>> http://finance.groups.yahoo.com/group/amibroker/message/100305
>> <http://finance.groups.yahoo.com/group/amibroker/message/100305>)
.
>>
>> Could you please elaborate a bit more on what exactly means "run
a
>> system from the indicator window"?
>>
>> Many thanks,
>>
>> Angelo.
>>
__._,_.___
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 material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|