How use crossover method in NT7 to code when market crosses price level - NinjaTrader | futures io social day trading
futures io futures trading


How use crossover method in NT7 to code when market crosses price level
Updated: Views / Replies:558 / 3
Created: by svasily Attachments:0

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 100,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
 

How use crossover method in NT7 to code when market crosses price level

  #1 (permalink)
Elite Member
Seattle WA USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Russell, ES, DX
 
Posts: 4 since Sep 2015
Thanks: 1 given, 0 received

How use crossover method in NT7 to code when market crosses price level

Hello,
I am going to backtest my strategy in Ninjatrader 7, so I am creating automated strategy using Ninjascript Strategy tool. I am not a C++ guru so I am using Edit Strategy Wizard rather then writing a code. I need a help to create strategy that allows for example to open Market buy order when price crosses over the defined price level. Can somebody help me with this issue. Any help will appreciative very much.

Reply With Quote
 
  #2 (permalink)
Elite Member
charlotte nc
 
Futures Experience: Master
Platform: ninjatrader
Broker/Data: NinjaTrader
Favorite Futures: Emini (ES, YM, NQ, ect.)
 
Posts: 282 since Jan 2015
Thanks: 54 given, 572 received

It's super easy

You can do this just by using the default Sample MA Cross Over strategy that installs with NT. Just start with this and reverse engineer it to suit your needs: This is the basic meat of it.



if (CrossAbove(SMA(Fast), SMA(Slow), 1))
EnterLong();
else if (CrossBelow(SMA(Fast), SMA(Slow), 1))
EnterShort();
}

Just alter your trading values from this accordingly. If you have any specific questions let me know and I may be able to help you.

Happy Trading.

Ian

Reply With Quote
 
  #3 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninjatrader / Optimus Futures / AmpFutures
Favorite Futures: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,054 since Aug 2009
Thanks: 1,145 given, 1,488 received

NT Link to Simple MA


Try this.

NinjaTrader Version 7

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Reply With Quote
 
  #4 (permalink)
Elite Member
Seattle WA USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Russell, ES, DX
 
Posts: 4 since Sep 2015
Thanks: 1 given, 0 received


DavidHP View Post

Thanks a lot for help.

Reply With Quote

Reply



futures io > > > > How use crossover method in NT7 to code when market crosses price level

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

July Journal Challenge - $500 in Amazon Gift Cards!

July
 

AXESS Trader: Powerful Cloud Based Trading Platform w/GFF Brokers

Jul 17

TBA: FuturesTrader71 w/Morad Askar

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plot on price panel when subgraph study crosses zero line Big Mike Sierra Chart 5 October 27th, 2014 02:20 PM
Can Prior SMA Crossover Price Levels be Stored? Piptick NinjaTrader 3 April 23rd, 2013 09:33 PM
Code TOS Vervoort Crossover for Sierra platform trendfriendpa Sierra Chart 6 April 11th, 2013 10:07 AM
USD/JPY crosses 80, pushes up against major 50% retracement level Dan Blystone Currency Futures 1 February 22nd, 2012 06:32 AM
Alert as price crosses resistance and support... Houston Jr NinjaTrader Programming 7 July 23rd, 2011 12:07 PM


All times are GMT -4. The time now is 04:53 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-07-16 in 0.10 seconds with 14 queries on phoenix