- ago
I have a backtest that shows this:


and a strategy monitor that shows this:




How do I get the strategy monitor to show that this position is open ?

The strategy has an x day cover cover period:

CODE:
Position p = LastPosition;     if(idx - p.EntryBar > Parameters[5].AsInt)             {                ClosePosition(p, OrderType.Market, 0,"Time_out");             }


Thank you.
0
558
13 Replies

Reply

Bookmark

Sort
Cone8
 ( 3.87% )
- ago
#1
The Strategy Monitor doesn't have a Positions view. In no case will it "show you" backtest Positions, so I don't know what you're indicating with the red box.

Furthermore, a S. Monitor backtest WILL BE DIFFERENT if you have "Use Live Positions" enabled in Trading Preferences.
0
- ago
#2
Back to this. Sorry. I don't understand what the different windows are showing and I would like to.

Strategy monintor is showing these potential trades for today for my USABLE strategy:



Order manager is showing this: for the same strategy.



What is the difference.

I am trying to figure out what each window shows.

Thank you.


0
Cone8
 ( 3.87% )
- ago
#3
Where did the orders in the Order Manager come from? There's a Source column that you're not showing us.
0
- ago
#4
Back to this. I can't' seem to get it to work.

Here is the strategy monitor and the configuration for the strategy monitor for this strategy.



Please note the $CBU stock
Please note that there is a cover order implying that I have gone short at some point.

Configuration:



Here is the individual backtest configuration settings once I have opened the strategy from the strategy monitor



And here are the backtest results: NO TRADES for $CBU. How could this be?



Same settings, same stock, no trade?

Also would it be possible to open a chart from the strategy monitor with the strategy pre loaded onto the chart? If that is the case already then the reason I don't see it is because I have a cover signal in strategy monitor but not on the backtest.

Thank you.




0
Cone8
 ( 3.87% )
- ago
#5
You'd get an exit signal in the S. Monitor and not in the Strategy Window if:

1. you had a CBU short position in the selected broker account (Dummy Broker - Account 1), and,
2. "Use Live Positions" was checked in Trading Preferences.
0
- ago
#6
Use live Positions has always been checked:

0
- ago
#7
and so how do I remove all positions from accounts and "start over."?

Or sort of fix this issue.
0
Cone8
 ( 3.87% )
- ago
#8
It sounds like you confirmed that "Use Live Positions" is working as designed.
Undoing #1 and/or #2 will make it so that the S. Monitor is the same as the S. Window.

To remove all positions, just open the Accounts Tool (Ctrl+T), click on one of the Positions in your Dummy Broker Account 1 and hit the "Flatten Account" button.

And/or uncheck "Use Live Positions" if you don't want to use that feature.
0
- ago
#9
Is there a way to add an "Accounts" button to the Ribbon/Header (Ctrl + T)
0
Cone8
 ( 3.87% )
- ago
#10
There is an Account column, is that what you mean?

0
- ago
#11
Not really. How do I get to accounts w/out hitting CTRL+T
0
Cone8
 ( 3.87% )
- ago
#12
Tools menu.
(or save it in your Workspace)
1
- ago
#13
Thank you
0

Reply

Bookmark

Sort