No alerts from created strategy.
Author: aperlowski
Creation Date: 12/2/2011 11:15 AM
profile picture

aperlowski

#1
Whwn I create my own strategy, it shows buy and sell graphicaly on the chart. All OK.
When I run the strategy in the strategy Monitor, it scans it OK, but never creates an alert.

I can take a sample strategy, provided by Fidelity, all works OK.

But when I use my own simple strategy, the alerts are never created.

Any ideas? What am I doing wrong?

Thanks.
profile picture

Eugene

#2
Without an idea about your simple strategy, we can only point to this Wiki FAQ:


FAQ | Strategies and WealthScript > Alerts are not triggered
profile picture

aperlowski

#3
I tried Wiki.

The strategy is simple, but I do not know how to attach it to this?

so here is the xml.



CODE:
Please log in to see this code.
profile picture

Eugene

#4
QUOTE:
so here is the xml.

Wow. Not every rookie makes it to the Strategies file folder location without hints. Nonetheless, a snippet with the code from the editor is enough.
QUOTE:
I tried Wiki.

Very good, so what did the Wiki link say, namely #2?

<<Are your strategy using AtClose orders? These are not going to produce an alert.>>

There you have it in your code:
CODE:
Please log in to see this code.
profile picture

aperlowski

#5
Eugene,
thank you. You are correct. This rookie made an error in his logic.
It should have been buy/sell at the market.
I missed the Wiki.

Thank you for your help an patience.

Andy.
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).