Need an Alert created when DJI SPX & IXIC have all moved up or down by 1% during the trading day
Author: LCrewe
Creation Date: 9/14/2009 9:02 PM
profile picture

LCrewe

#1
Is it possible to have a Wealth Lab Pro alert created when all 3 major indexes (the DJI,SPX and IXIC)are up or down 1% or more during a trading day?

Please help! If possible, along with the actual code, I would also need some basic instructions on how to implement this code in my recently downloaded Wealth Lab Pro pgm since it is new to me. Thanks in advance for your help!
profile picture

Eugene

#2
Before going further, we need to know what kind of alert are you looking for: a trading alert or a sort of notification.

As for the instructions, please see the WealthScript Programming Guide, "How to Run Example Code". This is a complete example in terms of that article.
CODE:
Please log in to see this code.
profile picture

LCrewe

#3
I am looking for a notification of some type that this 1% up or down on all 3 indexes has just occured during the trading day. I have signed up with Vector Vest service, and they want you to wait until you see this 1% confirmation signal (or close to it) before placing any of their recommended strategy trades for that day. So I guess I would also like code to notify me when all 3 indexes hit .75% up as well as 1% up. Or when 2 of the 3 indexes hit 1% up - those would both be almost situations - where I could use my best judgement if I wanted to go ahead and buy in that day.

I would ideally like this notification sent to my cell phone as a text or email message (in case I am away from my computer)as well as sounding an alert on my computer.

My brokerage, Fidelity, told me that the "Buy" Signals I am currently generating in the Wealth Lab Pro pgm (I downloaded from their site), cannot be sent to a cell phone right now, but will be able to be sent at some point in the near future.

If there is a way to send selected generated buy notifications to a cell phone as a text or email right now in addition to the alert which already sounds on my computer - please let me know. I am in sales, so on some days I am out and about. The rest of the time I work from a home office. Just trying to be able to invest and work as well.

Thanks again for your help! I really appreciate this!
profile picture

Cone

#4
You can write code for Email Alerts right now, but Email Alerts will be "built in" when 5.5 is released - probably next week.
profile picture

mltrade2009

#5
Will this email alerts from the quote window also? I used that in WL4,

Thanks
profile picture

Cone

#6
Sure. Any Alert-generating tool.
profile picture

mltrade2009

#7
Thanks, that is useful. Another feature I used in WL4 is "Load Alerts From File" in the Quote Manager. I have sometimes > 100 quotes I want to monitor for "dip buying" and they have different limit prices. Is the "Load Alerts" feature going to be supported in the new WL5?

Thanks
profile picture

Cone

#8
Short answer: no

The main reason that feature existed was because in v2.1/3, it was the only way to get Alerts into the Quotes window. In v5, the Strategy Monitor and Strategy Window can push Alerts directly to the Quotes tool. So, the reason to load from a file essentially doesn't exist... even though your work flow may have found a reason. What is it?
profile picture

mltrade2009

#9
My work flow includes getting EOD data and scanning for swing-trade dip buying signals with very fast software (not with WL). I may have 100 symbols that I want to monitor with different limit orders; 1%, 3%, 7% etc. I found that the program I use to scan >6000 symbols was significantly faster than WL (at least WL4). I would then paste the symbols into excel, add the correct format for WL4 QM limit orders and autopilot trade. I have a few years of work into this and it works well. I did use the WL5 canned Dip Buyer code to get symbols into the quote manager, but I need to modify the code to get all of the different percentages for the limit orders. I know I could code the entire thing in WL, but I don't know how the speed will compare scanning 6000 EOD symbols. In any event it requires extra work for me to code this, and it still might be too slow scanning for symbols. My other software scans 6000 symbols in < 10 min, limited by hard drive access. A second scan is < 1 min when the data is in RAM, Can WL5 scan this fast with Fidelity EOD data?

Thanks
profile picture

Cone

#10
QUOTE:
Can WL5 scan this fast with Fidelity EOD data?
10 minutes? Maybe. You'd have to spend maybe another 10 minutes updating the data (more if you add fundamentals, earnings estimates, etc.) But what's the difference in 10, 20, or 60 minutes for EOD?

If you want fast scanning, use TeleChart/TC2007. Updating and scanning 6000 or 7000 symbols takes about 1 minute, maybe a little longer with custom formulas. The resulting DataSet can be read into Wealth-Lab. And at that point, running those 100 symbols to generate Alerts would take only a few seconds.
profile picture

mltrade2009

#11
WL 5.5 is out and email alerts are there and at least partially work. When I put in my text email address(4132532345@txt.att.net) it gives an error message "please enter emails in proper format". It works fine for my other emails. WL 4 work fine for my text email. Is this a bug?

Thanks,

ML
profile picture

Eugene

#12
Thanks for reporting. I'm sure that's a bug: WL doesn't like the all-digit sequence. Please create a support ticket.
profile picture

Cone

#13
At least for 5.5, you'll need an e-mail address that starts with an alpha character (non-numeric).