OmniTrader Forum
-
Trade Plans
TP issues |
^ Top | ||
kmcintyre![]() Posts: 410 Joined: 8/30/2007 Location: Valley Center, CA ![]() | I'm back to working on my simple implementation of one of Steve Primo's strategies. At this point I'm just trying to get the TP to work in Lab Mode. Issue 1 - My initial order is Buy 100% SYM with Stop at 0.1 points above high DAY The TP draws a chevron at the right price, but the TP doesn't go away after a DAY. It lives on and will enter a trade many bars later. How can I get the TP to honor my DAY order request? Issue 2 - once my TP enters a trade, I have two OL #stops. One is a stop loss and the other is a take profit. My OL code has a PlotPrice() statement, and the lines drawn on the chart appear to be at the right price, BUT there are no chevrons available to make changes to the default levels. Also, the levels are not set until I enter the trade. With other TPs I have used I can set/adjust stop and profit targets prior to submitting the order. How do I get chevrons to appear for my OL stops? Thanks ![]() | |
^ Top | ||
Barry Cohen![]() Posts: 6338 Joined: 1/19/2004 ![]() | 1. DAY doesn't work in Lab Mode, it's a reported issue. It works in Real Mode however. 2. OL chevrons depend on how the stop is coded. I don’t know the specific code, but if you look at the Rising Stop (comes with Pro), it has a chevron, so maybe you can compare that with yours. It has a Level parameter, so it may just need that. | |
^ Top | ||
kmcintyre![]() Posts: 410 Joined: 8/30/2007 Location: Valley Center, CA ![]() | The chevron appears to be controlled by the ExitLevel variable. #stop Dim sLevel as Single sLevel = 50.00 ' computed by #stop logic ExitLevbel = sLevel ' causes a chevron to show up when TP uses the stop Thanks! |