New Strategy Coding Help - NinjaTrader Programming | futures io social day trading
futures io futures trading


New Strategy Coding Help
Updated: Views / Replies:6,295 / 49
Created: by FatDemon Attachments:9

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
 9  
 
Thread Tools Search this Thread
 

New Strategy Coding Help

  #21 (permalink)
Elite Member
San Francisco California, USA
 
Futures Experience: Intermediate
Platform: MetaTrader, NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, Oanda
Favorite Futures: USD/JPY, ES
 
FatDemon's Avatar
 
Posts: 110 since Nov 2012
Thanks: 48 given, 316 received


MWinfrey View Post
After looking at your chart and reading your posts, I'm wondering why you want a strategy. You obviously apply discretion. A strategy will just get in your way.

The main reason I'd like to use a script is for modifying my orders. When the market moves fast, I sometimes miss entry points because i might be looking at other charts, news, etc. I wouldn't use it as a completely automatic strategy, but it would help me multitask more efficiently.

Reply With Quote
 
  #22 (permalink)
Elite Member
San Francisco California, USA
 
Futures Experience: Intermediate
Platform: MetaTrader, NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, Oanda
Favorite Futures: USD/JPY, ES
 
FatDemon's Avatar
 
Posts: 110 since Nov 2012
Thanks: 48 given, 316 received


MWinfrey View Post
....I will proceed with the short entries and other capabilities after you approve what I've done so far.

MWinfrey, thanks for writing this! I'm trying to use your code to plot the short entries but I'm having no luck. My lack of programming knowledge may cause me to punch my monitor... I'd happily pay you to complete this if you're interested.

I appreciate what you've done so far!

Reply With Quote
 
  #23 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


Sounds like what you really want is a signal generator or basically an indicator that identifies the entries with an arrow. I say this because based on your description you have a set of rules but you use discretion to either accept or reject the potential entry. Can't really do any order entry based on discretion. A strategy will either take ALL the entries or NONE.

So, what I can do is write it as an indicator. Let me know if that's what you want.

Mike

Reply With Quote
 
  #24 (permalink)
Elite Member
San Francisco California, USA
 
Futures Experience: Intermediate
Platform: MetaTrader, NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, Oanda
Favorite Futures: USD/JPY, ES
 
FatDemon's Avatar
 
Posts: 110 since Nov 2012
Thanks: 48 given, 316 received

I originally thought an indicator would suffice, but what I am finding is I miss several signals when the markets are moving fast. Manually moving my orders above/below the Don mean line isn't the easiest to keep accurate when things are moving at light speed. Catching those "runners" is what makes it profitable and when a quick retrace happens and I miss the move, I may not catch another one for the day. Automating that process should solve it. I figure I can disable the strategy when market conditions aren't ideal. Perhaps, some of my "discretion" can be coded as well such as trading only market hours, staying out of big news events, defining major S/R areas... etc. Turning a running strategy on and off is obviously part of the overall strategy as well. If conditions aren't met, that can't be coded, simply disable it until they are.

Reply With Quote
 
  #25 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


FatDemon View Post
I originally thought an indicator would suffice, but what I am finding is I miss several signals when the markets are moving fast. Manually moving my orders above/below the Don mean line isn't the easiest to keep accurate when things are moving at light speed. Catching those "runners" is what makes it profitable and when a quick retrace happens and I miss the move, I may not catch another one for the day. Automating that process should solve it. I figure I can disable the strategy when market conditions aren't ideal. Perhaps, some of my "discretion" can be coded as well such as trading only market hours, staying out of big news events, defining major S/R areas... etc. Turning a running strategy on and off is obviously part of the overall strategy as well. If conditions aren't met, that can't be coded, simply disable it until they are.

The problem is that I can't write a strategy that allows discretion. A strategy will take EVERY entry and you apply discretion. So i can't do what you are asking.

Reply With Quote
 
  #26 (permalink)
Elite Member
San Francisco California, USA
 
Futures Experience: Intermediate
Platform: MetaTrader, NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, Oanda
Favorite Futures: USD/JPY, ES
 
FatDemon's Avatar
 
Posts: 110 since Nov 2012
Thanks: 48 given, 316 received


MWinfrey View Post
The problem is that I can't write a strategy that allows discretion. A strategy will take EVERY entry and you apply discretion. So i can't do what you are asking.

I appreciate your help MWinfrey. I know discretion doesn't factor into testing results, but I think using a strategy with discretion could prove to be profitable. Who knows, I may find that my discretion is limiting my profitability. A more mechanical approach could be more powerful.

Reply With Quote
 
  #27 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


FatDemon View Post
I appreciate your help MWinfrey. I know discretion doesn't factor into testing results, but I think using a strategy with discretion could prove to be profitable. Who knows, I may find that my discretion is limiting my profitability. A more mechanical approach could be more powerful.

What I'm attempting to say is using discretion AND a strategy are mutually exclusive. You can't have both with NT.

Reply With Quote
 
  #28 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received

Maybe others can weigh in here...

Reply With Quote
 
  #29 (permalink)
Elite Member
San Francisco California, USA
 
Futures Experience: Intermediate
Platform: MetaTrader, NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire, Oanda
Favorite Futures: USD/JPY, ES
 
FatDemon's Avatar
 
Posts: 110 since Nov 2012
Thanks: 48 given, 316 received

I have to admit, I'm growing more curious to how well it would work without me cherry picking entries.

Reply With Quote
 
  #30 (permalink)
Elite Member
Northern Germany
 
Futures Experience: Intermediate
Platform: NT
Favorite Futures: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,807 received



MWinfrey View Post
What I'm attempting to say is using discretion AND a strategy are mutually exclusive. You can't have both with NT.


MWinfrey View Post
Maybe others can weigh in here...

Well, technically it would be possible, but would it make sense?
I could imagine two basic approaches: let the strategy wait for confirmation from user (even a timeout would be imaginable) or let the user "disable" the strategy on the fly...

I know most might say it's not possible and NT support would say so too, but all the funny stuff is "not possible"

Vvhg

Hic Rhodos, hic salta.
Reply With Quote

Reply



futures io > > > > > New Strategy Coding Help

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
Some coding help adding PnL display to strategy grego The Elite Circle 5 March 23rd, 2012 02:12 PM
Strategy Coding Challenge MWinfrey NinjaTrader Programming 4 January 25th, 2011 06:12 PM
Strategy coding - Would Anyone please take a quick look at........ mdsvtr NinjaTrader Programming 4 November 5th, 2010 06:54 AM
Strategy Wizard Coding Question njaisson NinjaTrader Programming 8 October 6th, 2010 08:34 AM
Help Coding Trailing stoploss in Strategy Darshiit NinjaTrader Programming 3 June 25th, 2010 10:45 AM


All times are GMT -4. The time now is 01:24 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-11 in 0.13 seconds with 20 queries on phoenix via your IP 54.145.16.43