Swing Strategy help needed! - NinjaTrader Programming | futures io social day trading
futures io futures trading


Swing Strategy help needed!
Updated: Views / Replies:1,024 / 6
Created: by prisonbreaker82 Attachments:5

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Swing Strategy help needed!

  #1 (permalink)
Elite Member
Rio de Janeiro
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, IB
Favorite Futures: Equity & Futures
 
prisonbreaker82's Avatar
 
Posts: 312 since Jun 2010
Thanks: 57 given, 141 received

Swing Strategy help needed!

Hi!

Can anyone point me in right direction what I need to do to avoid the arrows to be repeated.

Trading idea

Long side:
EMA>200
SMA(10) > EMA(30)

Enter Long on WilliamR(3) < -80

I am trying to add the conditions in the Strategy Wizard, but I can not find where to tell the system only write one green arrow when all the conditions are full filled.

Attached Thumbnails
Swing Strategy help needed!-conditions_actions.png   Swing Strategy help needed!-oversold.png   Swing Strategy help needed!-chart.png  
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,220 received


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.

Mike

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.

Reply With Quote
 
  #4 (permalink)
Fiddler
Nashville, TN
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IB
Favorite Futures: NQ ES
 
Posts: 468 since Feb 2011
Thanks: 323 given, 542 received

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.

Luger

Reply With Quote
 
  #5 (permalink)
Elite Member
Rio de Janeiro
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, IB
Favorite Futures: Equity & Futures
 
prisonbreaker82's Avatar
 
Posts: 312 since Jun 2010
Thanks: 57 given, 141 received


Luger View Post
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.

Luger

Thank you for your reply!

I understand the problem... But it looks like on the chart where it print outs the green arrows is wrong.

According to attached screen shot these are the pullbacks it should show, but when I runt the strategy it shows green arrows even when WilliamsR(3) is not oversold...

It looks like the system prints out an arrow if price is above EMA(200) and SMA(10)>EMA(30) does not take into account the WilliamsR(3) condition...

Attached Thumbnails
Swing Strategy help needed!-pullbacks.png  
Reply With Quote
 
  #6 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received

Add a condition to Set 1 in your strategy builder

 
Code
WilliamsR(3)[1] >= OverSold
Not perfect, but it will only give you the arrow when WilliamsR changes. You

Math. A gateway drug to reality.
Reply With Quote
 
  #7 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received


prisonbreaker82 View Post
Thank you for your reply!

I understand the problem... But it looks like on the chart where it print outs the green arrows is wrong.

According to attached screen shot these are the pullbacks it should show, but when I runt the strategy it shows green arrows even when WilliamsR(3) is not oversold...

It looks like the system prints out an arrow if price is above EMA(200) and SMA(10)>EMA(30) does not take into account the WilliamsR(3) condition...


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!!!





Attached Files
Register to download File Type: zip PrisonBreaker82.zip (11.7 KB, 25 views)
Reply With Quote
The following 2 users say Thank You to EDGE for this post:

Reply



futures io > > > > > Swing Strategy help needed!

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SuperTrend for trailing stop in a strategy - help needed DarrenH NinjaTrader Programming 16 September 29th, 2017 11:03 PM
Automated Simple Swing Forex Strategy diverdan The Elite Circle 39 July 1st, 2011 01:47 AM
Strategy Coding - help needed - ORB & Trailing conditions RodS The Elite Circle 24 December 8th, 2010 09:30 AM
NT7 Strategy/Strategies Needed Slipknot511 NinjaTrader Programming 8 August 22nd, 2010 02:39 AM
Swing in a Strategy MXASJ NinjaTrader Programming 10 October 3rd, 2009 11:49 AM


All times are GMT -4. The time now is 09:33 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-12 in 0.10 seconds with 20 queries on phoenix via your IP 54.221.93.187