script idea - NinjaTrader Programming | futures io social day trading
futures io futures trading


script idea
Updated: Views / Replies:10,150 / 64
Created: by sharky Attachments:14

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

script idea

  #11 (permalink)
Elite Member
Indy
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: 6E,TF,YM,NQ
 
RodS's Avatar
 
Posts: 88 since Jun 2009
Thanks: 433 given, 65 received

Sharky,

I like the potential this presents.
I was testing this morning on the ZN 4 range chart with only the 1 contract. I set the strategy on sim and I just got back and it only took a couple of trades and stopped. Not sure why it stopped but i will continue to check it out later on replay.

I would like to know if someone can take this a step farther. I would like to trade this based off the 4 range chart but only take signals that agree with my 11 range chart.
This way you are only trading with the long term trend. The strategy still kicks your position out when the DMA turns to short but it doesn't reverse your position. It just lets the pullback happen and re-enters when it goes long again.

Any thoughts?

Reply With Quote
The following 2 users say Thank You to RodS for this post:
 
  #12 (permalink)
Elite Member
MIAMI,FL
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Private
Favorite Futures: Zn,6E,6J
 
sharky's Avatar
 
Posts: 1,060 since Jun 2009
Thanks: 624 given, 3,875 received

yes one step at a time we are working one bug out at a time but it will get better over time i promise thanks...sharky

Reply With Quote
 
  #13 (permalink)
Elite Member
Indy
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: 6E,TF,YM,NQ
 
RodS's Avatar
 
Posts: 88 since Jun 2009
Thanks: 433 given, 65 received


Thanks! I understand, just throwing an idea out there.

Reply With Quote
 
  #14 (permalink)
Elite Member
MIAMI,FL
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Private
Favorite Futures: Zn,6E,6J
 
sharky's Avatar
 
Posts: 1,060 since Jun 2009
Thanks: 624 given, 3,875 received

just dont want people to get sidetracted from my original idea i have something in my head so please just be patient and let me run with this lol and i promise we will find something that works for everyone...sharky

Reply With Quote
 
  #15 (permalink)
Elite Member
Brisbane; Australia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: IB/TDA needing new broker
Favorite Futures: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 101 received

OK, tried to add condition that it only enters when signal changes.

This is COMPLETELY untested (done a minute ago) .....so at own risk.

Attached Files
Register to download File Type: zip SharkyMAStrategy_v1_01.zip (44.9 KB, 47 views)

Last edited by Peter; June 27th, 2009 at 02:49 AM.
Reply With Quote
The following user says Thank You to Peter for this post:
 
  #16 (permalink)
Elite Member
MIAMI,FL
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Private
Favorite Futures: Zn,6E,6J
 
sharky's Avatar
 
Posts: 1,060 since Jun 2009
Thanks: 624 given, 3,875 received

sharkys script

i would like to thank everyone for helping with the script ive taken everyones suggestion into consiteration and but ive been trying to keep this one as simple as i could with only the rules from my mind that make sense to me with trial and erros,i add a rule and take one off but im trying to keep this as orignal as i can to my first idea,if we want to make a different script later with more rules than im all for helping but the sharky script i would like to keep with just a few of sharkys basic ideas anyway thanks again for the awsome imput and good luck with your trading next week...sharky

Reply With Quote
 
  #17 (permalink)
Elite Member
Westlake, Oh
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: CL
 
Riverend's Avatar
 
Posts: 352 since Jun 2009
Thanks: 1,439 given, 207 received


Peter View Post
OK, tried to add condition that it only enters when signal changes.

This is COMPLETELY untested (done a minute ago) .....so at own risk.

Peter,I was testing this on market replay this morning. I had to manually add the MApaint 7 zerolag indicators to my chart. Otherwise I saw trades in both directions with bar close set to true.
Vic

Reply With Quote
 
  #18 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

A modified version, with no more time limits, stop win, stop loss, trailing stop, and ZeroLagMA period from 1 to ....

Attached Files
Register to download File Type: zip SharkyMAStrategy_v1_02.zip (45.2 KB, 38 views)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #19 (permalink)
Elite Member
MIAMI,FL
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Private
Favorite Futures: Zn,6E,6J
 
sharky's Avatar
 
Posts: 1,060 since Jun 2009
Thanks: 624 given, 3,875 received

thanks sam i will test it monday have a great weekend and be ready for more mods to the script next week

Reply With Quote
 
  #20 (permalink)
Elite Member
Brisbane; Australia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: IB/TDA needing new broker
Favorite Futures: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 101 received


Adapted the last version a bit.

- Saw that strategy didn't take certain valid trades. Reason was that strategy only allowed for new direction when being flat.
I changed ExitShort/ExitLong rules to allow for immediate reversal of position before being flat first.

- made second ZeroLag period also accessible parameter

- (line 70) added DMAPaint to be displayed on the chart
The DMAPaint in the .zip is adapted with the parameter PaintBar changed to false by default.

- (line 80) commented out "//if (Historical) return" to enable backtesting
As EOD all trades are closed don't see a reason yet to leave in.
Spend an hour before realizing that this was why the strategy didn't work in backtests.

BTW The DMAinternal.cs in this zip is my adapted version that also allows for TEMA, ZeroLagTEMA and ZeroLagHATEMA to be selected in the DMAPaint pulldown.


The wrong type of DMA was displayed with the strategy. This is corrected in the 1.03b zip

Attached Files
Register to download File Type: zip SharkyMAstrategy_v1_03c.zip (45.6 KB, 30 views)

Last edited by Peter; June 29th, 2009 at 03:25 AM. Reason: On request of Sharky version 1.03c has some new defaults
Reply With Quote
The following 3 users say Thank You to Peter for this post:

Reply



futures io > > > > > script idea

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
is having a trading buddy/s a good idea anniebee321 Psychology and Money Management 14 July 22nd, 2017 11:40 AM
Want to create an indicator and have no idea where to start? forrestang NinjaTrader Programming 93 January 20th, 2012 08:33 PM
Will pay you , If You Code This Idea For Me . . . . jmejedi NinjaTrader Programming 11 January 30th, 2011 02:05 AM
Strategy Idea soumi71 NinjaTrader Programming 30 December 2nd, 2009 03:58 PM
Downloads/File Sharing: Just an Idea Prtester Feedback and Announcements 2 June 17th, 2009 08:51 PM


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