[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] 3rd logical alert



PureBytes Links

Trading Reference Links


Jayson;  Thanks, that 
worked. 
 
I'm using 1 minute bars, so you are correct,  
I get a signal every minute.  The between buy and sell sound is merelya 
tick, quite unobtrusive.  The value is simple, I don't have to keep aneye 
on the graphs at all, and can do something else (like learn a bit of code 
8->).    
 
The "tick" sound tells me the monitor is 
working.  While my laptop is quite bulletproof,  it is possible 
to lose connectivity, or lag etc.  
 
Works quite well.  Not quite as good as  
a programmable buy sell, but I don't like the additional overhead.  I've 
taken 1K up to 10k in about 16 months, but that has involved a lot of work,and 
pretty basic tools.   The signals free me from hanging on the graphs, 
real-time.
 
Thanks for helping out, you saved me some 
time.  I have some idea of the time TJ must be spending, even given an 
apparently amazing level of skill.  I've been programming since 1966,  
(really an EE type), and have learned my way around more languages than I care 
to count.  Originally I got into it, as the demand was high, and 
programmers were very scarce.  In recent years,  I've dabbled with 
C,  but given the sheer number of programmers (at IBM),  I focused on 
product related issues in recent years.  I was never great,  but 
always spent whatever time necessary to get the job done.
 
Now focused on increasing my play money.  
Didn't expect to get back into programming, even at this high level.  I 
just bought into RT a week ago, and have been focused on implementing what I 
know works, with indicators AB has already available.  So far so 
good. 
 
Thanks again,
Richard
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=jcasavant@xxxx 
href="">Jayson 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, October 31, 2002 10:11 
AM
Subject: RE: [amibroker] 3rd logical 
alert

<SPAN 
class=334184617-31102002>Richard,
you 
lose me here. you want an alert if you get a buy condition. You want an alert 
if you get a sell condition. Your want a 3rd alert when there is no buy or 
sell. Why on earth would you want an alert on EVERY SINGLE BAR??  at 
any rate it is easier to create a third variable....<FONT 
color=#0000ff><FONT 
size=2>

test=Buy<FONT 
color=#282828>==<FONT 
color=#ff00ff>0 <FONT 
color=#000000>AND<FONT 
color=#282828> <FONT 
color=#000000>Sell<FONT 
color=#282828>==<FONT 
color=#ff00ff>0;
<FONT 
face="Courier New">AlertIf(<SPAN 
class=334184617-31102002>test<FONT 
size=2>,"SOUND 
C:\\Windows\\Media\\start<FONT 
face="Courier New">.wav",<FONT 
face="Courier New">"Audio Buy",<FONT 
face="Courier New">2,<FONT 
face="Courier New">1<FONT 
face="Courier New">);
the 
error below is in your use of 
parenthesis...
<SPAN 
class=334184617-31102002> 
<FONT face="Courier New" 
color=#0000ff size=2><FONT 
color=#0000ff> 
Jayson 

<FONT face=Tahoma 
size=2>-----Original Message-----From: Richard Harper 
[mailto:rdharper@xxxx]Sent: Thursday, October 31, 2002 
11:24 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
[amibroker] 3rd logical alert

Jason;
As you may have read, my alerts are working great, shown 
here.
AlertIf<FONT 
face="Courier New">(Buy,<FONT face="Courier New" 
color=#ff00ff>"SOUND C:\\Windows\\Media\\Notify.wav"<FONT 
face="Courier New">,"Audio 
Buy",<FONT face="Courier New" 
color=#ff00ff>2,<FONT 
face="Courier New" color=#ff00ff>1<FONT 
face="Courier New">);
<FONT 
size=2>AlertIf<FONT 
face="Courier New">(Sell,<FONT face="Courier New" 
color=#ff00ff>"SOUND C:\\Windows\\Media\\ding.wav"<FONT 
face="Courier New">,"Audio 
Sell",<FONT face="Courier New" 
color=#ff00ff>2,<FONT 
face="Courier New" color=#ff00ff>1<FONT 
face="Courier New">);
I'd like to add one more, which would alert an inbetween 
condition, not buy AND not sell;
I tried the following, which is not quite correct. Can you 
show me?
AlertIf<FONT 
face="Courier New">(((<FONT 
face="Courier New">Buy<FONT 
face="Times New Roman">=0) AND (<FONT 
face="Courier New">Sell<FONT 
face="Times New Roman">=0)),<FONT 
face="Courier New" color=#ff00ff>"SOUND C:\\Windows\\Media\\<FONT 
face="Times New Roman" color=#ff00ff>start<FONT face="Courier New" 
color=#ff00ff>.wav",<FONT 
face="Courier New" color=#ff00ff>"Audio Buy"<FONT 
face="Courier New">,<FONT face="Courier New" 
color=#ff00ff>2,<FONT 
face="Courier New" color=#ff00ff>1<FONT 
face="Courier New">);
Thanks,
RichardPost 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.