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.
Size:
Color:
Size:
Color:
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.
Size:
Color:
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.
Size:
Color:
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.
Size:
Color: