No Alerts Received In All My Strategies
Author: fieldx285
Creation Date: 10/10/2011 9:50 AM
profile picture

fieldx285

#1
For many months I have normally been receiving normal alerts. But about a week or so ago was not able to receive any alerts at all with the very same strategies that was giving me alerts previously. And this is happening with every single custom made strategy I had been using.
profile picture

Eugene

#2
Welcome to the forums. Let's agree on terminology.

* What's a "normal alert"?

Next, more specific questions according to the standard checklist at
How to report a Problem?:

* Which Wealth-Lab version?
* Which WL tool was used to generate alerts?
* Does it happen with built-in strategies generating AtMarket orders e.g. "Moving Average Crossover" at the same time?
* Position Sizing + Data Loading settings
* Symbol(s)
* Static/streaming data provider
profile picture

fieldx285

#3
Please excuse my delay in answering, I was quiet tied up specially with a couple of days of extensive medical examinations for various problems. Am okay now.
I use Wealth-Lab Version 6.2
I use Strategy Monitor to screen through approximately 600 securities, primarily stocks and some ETF's
I have never used built-in strategies. I create my own simple strategies and they screen all of the SP500 DOWJONES and Nasdaq Plus some Proshare LONGS for a total of about 600.
I do not generate orders, I get the alerts and then I visually look at the charts and also search background with Yahoo, specially their profile and News Headlines.
I use the ATP beautiful Charts with Candlestick and other criterias on the Charts.
I had about half a dozens Strategies which I had to create on the home page of Wealth-Lab Pro Version 6.2. Once they were created then I clicked Strategy Monitor because the it screened much faster there, it is very slow the screening at the home page level due to all the results they go through.
My Static/streaming data provider is Fidelilty.

With the half dozen strategies I had at Strategy Monitor, I could click which strategy I wanted at the moment and for the past six months I was getting alert with them. Then suddenly one day they ceased to give any alerts what so ever. So I created a new strategy which obviously had to bring in alerts. The strategy was simply, Price greater than prevous day, and price above $25 and below $100. Obviously some alerts have to come but I got the same 0 (zero) Alerts.
profile picture

Eugene

#4
What's your data loading range in Strategy Monitor?
Is there any error message to the right of the current strategy in the SM tool?
What kind of entry/exit orders (okay, alerts) does your custom strategy issue, AtMarket or maybe AtClose?
profile picture

fieldx285

#5
I ran my simple strategy of Price greater than previous day, and Prices $25 to $100. I do not see any error message as you asked.
Also it goes through the 600 securities extremely slow, seems to take forever before completing the screening.
Data Loading is Account 3, Daily, 3000 Bars, RP 100 Shares. Exit at Close.
profile picture

fieldx285

#6
Additionally alerts still zero and no sound effects during screening because it is not selecting any alerts.
profile picture

Eugene

#7
AtClose orders do not generate any alerts. See Programming Trading Strategies > Alerts > How to: Alert for AtClose Signals in the WealthScript Programming Guide.
profile picture

Eugene

#8
If using AtMarket orders, make sure that the Strategies all use bar+1 and not bar or not bar+2 etc.

If it's bar+1, then let's perform this simple test. Take "Moving Average Crossover" with the parameters like 1/2 (the periods) to ensure you'll get lots of alerts on each bar on any DataSet, add it to Strategy Monitor using "Dow 30" and run on your 600-item DataSet. How many trades and alerts do the SM columns display?
profile picture

fieldx285

#9
I have at HOME AtMarket as the first rule. I have at STRATEGY MONITOR Moving Average Crossover. But I cant seem to have them placed together into one strategy. Also I can not find bar+1 anyplace and I can not type into the strategy. I am at a loss as to how to coordinate these things together into one strategy.
profile picture

Eugene

#10
I could not decipher your reply.
profile picture

fieldx285

#11
I log on to wealth-lab pro 6.2
At home page I click the first rule, buy AtMarket
How do I apply the second rule there, moving average crossover??

I found moving average crossover okay but only at the strategy monitor.

I have not been able to get this second rule, moving average crossover to be applied to where the AtMarket is at.

Can you please tell me if I have to logout and login everytime or can I just stay right here and when your reply comes I might see it as it comes on??
profile picture

Eugene

#12
You can stay here logged in for 3 hours of inactivity.

Probably I wasn't clear. Sorry for that. Since we have not enough information about your strategy code, the idea was to run the built-in strategy "Moving Average Crossover" with a couple of fast MAs to ensure valid trading signal (alert) generation on every bar.

So, "Open Strategy" > find "Moving Average Crossover", add it to the Strategy Monitor, set two fast MA periods, and execute it on one of your DataSets. A non-zero number of trades and alerts in the SM column indicates that this aspect is OK.
QUOTE:
I have not been able to get this second rule, moving average crossover to be applied to where the AtMarket is at.

It's not required right now for our troubleshooting purposes but should you need it in the future, please refer to the respective chapter of the Wealth-Lab User Guide and the Tutorial Videos section of our Wiki.
profile picture

fieldx285

#13
I was unsure how to use your instructions. So at first I simply ran it as is with SP100, 100 stocks. It beeped at every stock and alerts was 100. Then at the home page I created the strategy Fast MA of 10 and 15. Then back to Strategy Monitor and I was able to use Moving Average Crossover together with the Fast MA but it again beeped at every stock, 100 Alerts. Then I changed the Scale to different settings. I could not get any alerts now. At 4:00 PM I stopped trying.
profile picture

Eugene

#14
Let's agree on definitions: it's not at the Home Page - it's Strategy Builder where you create Strategies from Rules (rule-based strategy wizard).

So, alert generation is working as expected in the Strategy Monitor. Open your problematic rule-based strategy via "Open Strategy" (hit Ctrl-O), click "Open Code in new Strategy Window", copy the code and paste the result here for our review.
profile picture

fieldx285

#15
1 Am at Strategy Monitor
2 Clicked Ctrl-O (The letter O)
3 13 Folders appear. "Moving Average Crossover" and two of my creation, Fast MA and Faster MA
4 I Click Fast MA (10 MA and 15 MA) and a dialog box appears
5 The only thing this dialog box allows me to do is to Click Okay.
6 When I click Okay, it leaves Strategy Monitor and reverts to Home

I then tried something.

1 At Home I click Strategy Monitor
2 At Strategy Monitor now and I click + to Add Strategies
3 The 13 folders come up as before
4 I clicked my Strategy Fast MA (10 MA and 15 MA lines)
5 This time it stayed at Strategy Monitor, it did not revert back to Home
6 When I clicked Fast MA a dialog box came up for me to select the scaling I want. I have it set for my normal Paperaccount3, 400 bars, 100shrs (RP), Daily, SP100
7 I then clicked Run this strategy, It ran quickly and selected 12 Alerts.
8 I now used my beautiful ATP Charts, with only 10 and 15 MA lines. All 12 alerts you can see them crossing various times and up and down through these lines.
profile picture

Eugene

#16
Forget Strategy Monitor, it's already clear that it's working good.

I need to quickly review your code for errors. From WLP's main workspace, click Ctrl-O, follow previously posted suggestions on getting your code here.
profile picture

fieldx285

#17
Could you please refresh my memory and tell me specifically you want me to do now.
I deleted a lot of my previous strategies to start anew.
Where exactly I am supposed to and what exactly am I supposed to do.
Also I do not exactly know what you mean getting my code and where is this code to be placed
profile picture

Eugene

#18
See 10/18/2011 5:09 AM, everything explained step by step.
profile picture

fieldx285

#19
I am completely wrong. At Home (which I guess is the main workspace) I Clicked "Open Strategy"
13 folders appear, including "Moving Average Crossover" And also in the samed dialog box was "10 MA and 15 MA"
I thought they were together because they were in the same dialog box. But I see now it was the "10 MA 15 MA"
that was highlighted and gave me 100 Alerts. When I highlight "Moving Average Crossover" I got ZERO Alerts.
I Apologize.

As I explained to Eugene I have never been involved with this kind of work. I got started somehow with Creating Strategies at the Home Page. I created half a dozen strategies at the Home Page. Then I went to "Strategy Monitor" and all those strategies were there for me to use. And I used them for six months and got excellent results. Then one day suddenly all of that stopped, it would not work anymore.

I am now having a difficult time following what Eugene wants me to do, and it seems it might be the last step in the long process we have been through.

I need someone to give me specific details as to where I go and and what to do for this apparent last step in the process. I do not know where to get that "Generation Code" that he wants. Please help and I thank you.

profile picture

Eugene

#20
Create your rule-based strategy from scratch in Strategy Builder. Save it and do whatever you do to make it work. Does it produce alerts now?
profile picture

fieldx285

#21
I still am not sure of myself. You told me forget about Strategy Monitor. So I am at Home (which I assume Home is the Main Workspace). I do not find anything that says Strategy Builder as you say but I do have a Build & Backtest where I have always created new strategies.

I created a simple strategy that would surely get some alerts. I ran them at Home the main workspace, then I also ran them at Strategy Monitor. I come up with no alerts in both places.

I am trying my hardest to follow what you tell me. I sure hope you can find a way to get me going with this program, I am lost without what I had for those six months when it was working.

Since the market was closed I used AtClose like I always did before.

Please help me get going with this program. I know it has to be AtMarket and activate it during the last minute or so before the market closes.

I thank you for what ever you can do for me.
profile picture

Eugene

#22
QUOTE:
Since the market was closed I used AtClose like I always did before.

As already indicated in my reply from 10/13/2011 4:14 PM, AtClose orders never (nunca, mai, nie) generate an alert.
profile picture

Cone

#23
QUOTE:
AtClose orders never (nunca, mai, nie) generate an alert.
Just to qualify that statement for other readers: AtClose orders created by the Strategy Builder don't generate Alerts because they are coded to create a trade on the current bar instead of bar + 1.

In other words, when you use AtClose signals you're looking for something to happen and to have already closed the position when it occurred, not a realistic operation.

On the hand, it's certainly possible to create (and trade) a strategy manually that creates an AtClose signal for the following bar.
profile picture

fieldx285

#24
Eugene and Cone I thank you both.

From what you both are telling me is that I must use AtMarket which is coded with a bar + 1.
If I want to do daily results as I used to then I must run the program a minute or so before the market closes, and since there are about 600 stocks to screen at one time I better engage it more then a couple of minutes or so before the market closes.

Cone, I am interested in knowing how I could create (but NOT trade) a strategy manualiy AtClose unless it is too complicated.

For now I will be doing AtMarket and make sure I do it before the market closes.

I thank you both for the inputs, I hope I am finally settled. I will keep you advised, good or bad.
profile picture

fieldx285

#25
On 10/20 Thursday; throughout the day I practiced with my strategies at Home and also at Strategy Monitor. They both gave identical 56 Alerts. Seems okay.
As I practiced further into the day I realized I was getting the same results, the same 56 Alerts.

Later in the day I reaziled the Alert time was for the previous day 10/19 Wednesday. It seems my scale of Daily, 3000 Bars kept giving me the same identical results over and over again.

I was getting close to the 4:00 PM Market Close So I quickly changed the scale to 300 Bars and 5 Minutes. I didnt have time to get back to Home so I did it right where I was at, Strategy Monitor.

Now I got 41 alerts. 27 had Alert time of 3:55 PM and 14 had Alert time of 4:00 PM.

I examined all 41 Alerts on my ATP Chart screen and all 41 met the stragey properly.

At 1:00 Today 10/21 Friday I tried my Strategy with Strategy Monitor and got 26 Alerts, 9 at 1:00 PM and 17 at 1:05 PM. The ATP chart shows they all met the Strategy okay.

If there is any other information you fellows care to pass on to me, I am all ears.

I am grateful to be able to use the Wealth-Lab Pro again, and I thank you very much.

I will be ready to do the screening near the 4:00 PM Market Close for Symbols I might use on Monday.
profile picture

Cone

#26
QUOTE:
how I could create (but NOT trade) a strategy manualiy AtClose unless it is too complicated.
The Strategy Build will create an AtClose strategy correctly. The problem is getting the Alert when required. To do it, you have to dig into the code yourself, as explained in the WealthScript Programming Guide > Programming Trading Strategies > Alerts > How to: Alert for AtClose Signals

QUOTE:
So I quickly changed the scale to 300 Bars and 5 Minutes.
I don't know what you want me to tell you, but if you change the scale and data loading why would you expect the same results? Further, on the 5-min scale, why would you expect the same number of alerts from one bar to the next?

Even with the same data, but different starting data range, Alerts may change if you use IIR filter-type indicators (i.e., unstable indicators like ATR, EMA, and the entire list given in the Programming Guide > Indicators > Stability of Indicators.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).