logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
WmWaster  
#1 Posted : Monday, March 27, 2006 8:18:30 AM(UTC)
WmWaster

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/20/2006(UTC)
Posts: 53

Alert when it reaches the price, time, line... Hi. 1) I would like to know if the following alerts (sound &/or text) are possible: - when it reaches a particular price - when it reachs a particular price AND can stay above for a fixed period - (I draw uptrend/downtrend lines around the chart) Alert if it touches any point on the lines 2) Is it possible to choose whether the alert is loopable (ie alert once ONLY if the condition is met) or not (ie alert every time when the condition is met)? Thank you! :)
StorkBite  
#2 Posted : Monday, March 27, 2006 11:26:30 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Yes, this is all possible. Look up how to write an Alert Expert in your User's Manual. If you get stuck, post the code back here and a description of your problem. You will also want to check out the free training videos which may be of interest to you for focused problems such as how to write an Expert.
WmWaster  
#3 Posted : Monday, March 27, 2006 1:17:23 PM(UTC)
WmWaster

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/20/2006(UTC)
Posts: 53

g_stockman wrote:
Yes, this is all possible. Look up how to write an Alert Expert in your User's Manual. If you get stuck, post the code back here and a description of your problem. You will also want to check out the free training videos which may be of interest to you for focused problems such as how to write an Expert.
For your "yes" answer, does it include the question 2? As to Alert Expert in help file, do you refer to Expert Advisor - Alert tab? However only 1 expert adivsor can be attached at one time, so there's no point to create another Expert Advisor for alerts, if I need to detach mine first. Is there any workaround?
wabbit  
#4 Posted : Monday, March 27, 2006 1:20:16 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Yes it does... you can codify the system to only trigger on the first event and then ignore the rest.... Hope this helps. wabbit :D
StorkBite  
#5 Posted : Monday, March 27, 2006 2:13:33 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
You only need one Expert attached. Look at the Alert Condition section and modify it to meet your needs. You can continue your present alerts or modify them.
WmWaster  
#6 Posted : Monday, March 27, 2006 6:57:57 PM(UTC)
WmWaster

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/20/2006(UTC)
Posts: 53

g_stockman wrote:
You only need one Expert attached. Look at the Alert Condition section and modify it to meet your needs. You can continue your present alerts or modify them.
Do you mean I modify my existing expert by adding alerts to it? If it is what you mean, sorry I couldn't do that since the expert is not mine. I couldn't modify it. Any workaround?
StorkBite  
#7 Posted : Monday, March 27, 2006 10:12:42 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
No; if the Expert is PW protected, then you can't add to the alerts. As far as I know, you'll have to build your own Expert to design your own alert.
WmWaster  
#8 Posted : Tuesday, March 28, 2006 4:59:54 PM(UTC)
WmWaster

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/20/2006(UTC)
Posts: 53

g_stockman wrote:
No; if the Expert is PW protected, then you can't add to the alerts. As far as I know, you'll have to build your own Expert to design your own alert.
Is it possible to create a custom indicator which can make alerts? Or is it possible to attach 2 Expert Advisors at the same time? Thank you. :)
StorkBite  
#9 Posted : Tuesday, March 28, 2006 5:16:26 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
yes; you can make a custom dll to alert, though I don't know of any current code examples in the public domain. The easiest way to do what you are saying is to write an indicator that will flag your condition on the screen with a binary-type output. Alternatively, you could use a DDE link to Excel and set your alert condition there. In Excel, you can absolutely get an external alert. I think I posted a sample of this a while ago in the d/l section. It's a little in-depth, but it does work. no; you cannot attach 2 Experts at the same time.
WmWaster  
#10 Posted : Tuesday, March 28, 2006 8:18:56 PM(UTC)
WmWaster

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/20/2006(UTC)
Posts: 53

Sounds like beyond my ability :( How to set a DDE link to Excel and set alert condition there? I tried to search for it. Thanks for your help!
StorkBite  
#11 Posted : Tuesday, March 28, 2006 8:42:42 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
You can look up DDE connections in the user's manual. Once you get the data into Excel, you will need to be proficient enough to write your alert program in VBA or purchase an alert program such as Spinnaker.
wabbit  
#12 Posted : Tuesday, March 28, 2006 11:05:10 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Perhaps another third party dolution, in lieu of Excel, might be something like Medved QuoteTracker. Go google. wabbit :D
StorkBite  
#13 Posted : Wednesday, March 29, 2006 2:08:17 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Really... [-X if you'd spend more quality time with your user's manual and less time courting GOOG then you'd see that DDE is the way to go... :P
wabbit  
#14 Posted : Wednesday, March 29, 2006 2:54:36 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
I already know the wheel is round... I don't need to reinvent it! LOL wabbit :D
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.