In the ActiveTrader 2005-11 Gap Buy strategy coded by Cone, I run the strategy at the open a couple of times against a watchlist, which stages the orders in the Orders window under my Fidelity account number. I then hit place orders and the orders go to Fidelity fine. I have two questions:
1). Is there any way to tell when you run the strategy in the strategy monitor if all the stocks in the watchlist have opened? I tried some PrintDebug and DrawLabel statements but apparently they don't print out when a strategy runs in the strategy monitor window or in the case of DrawLabel, you can't see them unless you are in a single stocks chart. It's kind of catch 22 now since if you wait too long you miss the buying at the opening price (or nearly so), but if you run too soon several stocks may not have opened and you miss trades.
2). I've enabled the AutoProfitLevel option in WealthLab 6.9.19, but I never see the profit stop trades generated in the orders window from this strategy, so I've been manually setting them in Fidelity ATP. Shouldn't the strategy be generating them for me as long as it generates a Buy at Market on the stock?
Thanks for your help.
Size:
Color:
QUOTE:
1). Is there any way to tell when you run the strategy in the strategy monitor if all the stocks in the watchlist have opened?
Yes, it's called
GetSessionOpen. It's evaluated on a per symbol basis. Check it out in the QuickRef: description and example say it all. Unlike the cosmetic methods like PrintDebug and DrawLabel which have no effect outside of the chart context (Strategy Monitor, Combination Strategies) and won't work there, GetSessionOpen is universal. Make sure it's above 0 for your stock which means it has opened.
P.S. I've renamed your topic titled "AutoProfitLevel question" to sound more focused and to be found by a keyword search later. Words like "question, wealth lab, problem, issue, help" in topic title is a tautology (almost everyone comes here with a
question or problem with "
wealth lab". As since they do not help at all I took the time and effort to rename the majority of forum threads which had contained them to express the actual question contained inside.
Also, to keep the forum more organized and searchable please avoid putting loosely related or unrelated questions into one topic. I'd suggest to split your AutoProfitLevel question into a new forum thread. Thanks.
Size:
Color:
Thanks, I'll split out the AutoProfitLevel question. The strategy already checks to see if the GetSessionOpen == 0, the problem is there doesn't appear to be a way to notify me if it's running in the strategy monitor that I'll need to run it again because all the stocks haven't opened. Is there a way it could notify how many stocks have not opened yet?
Size:
Color:
QUOTE:
Is there a way it could notify how many stocks have not opened yet?
For example:
1. Run a separate Strategy on 1-minute scale whose purpose is to collect the number of symbols with GetSessionOpen == 0 (or vice versa) and notify you via
AlertByEmail.
2. How about using the "Daily Strategy Scheduling" feature to schedule the EOD run to a time when all the symbols would open with the good probability? Take care not to act on today's incomplete OHLC, though.
Size:
Color: