Sounds like you only want an entry when flat. So something like
if (MarketPosition != MarketPosition.Flat) return;
Haven't used NT in a long while, so I may be rusty or wrong. No idea where it is in the wizard, never used it.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
When applying the strategy to a chart you need to set it to only one entry, but because you are having it draw an arrow instead of taking a trade, I am unsure if this is possible from the strategy options.
You could however create a variable, start with it set to 0 and make that variable being 0 a condition of you going long (drawing the arrow), then at the same time you draw your first arrow set it to 1. You would also need to have an opposite condition to set the variable back to 0, basically whatever logic is saying that you should not be long would set the variable to 0.
If I were you, I would just setup the strategy to take a trade, would be much simpler and you could have it take one trade per signal.
Remember that Stategies are executed at bar close.. Things get very very tricky intrabar, and I would not suggest you even try at this point in your learning curve.. I put together your simple strat in the wizard, as well as adding several parameters that should allow you to tweak along the way without having to go into the strat wizard every single time.. This DOES Execute ORDERS, with a user defineable profit target and stop loss. MAKE SURE YOU ARE IN SIMULATION MODE!!! Import this like any other indicator or strat.. Control Panel - File - Utilities - Import ... I'm not sure your going to like the results of your strategy, but guess we all have to start somewhere.. Don't forget to add slippage in for any backtesting or historical data.. It's very unlikely that I will follow this thread or have time to help any further.. But hopefully this will at least get you thinking and started in the right direction of your journey.. Best of Luck!!!
The following 2 users say Thank You to EDGE for this post: