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



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


Discussion in NinjaTrader

Updated
    1. trending_up 987 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

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

(login for full post details)
  #1 (permalink)
 svasily 
Seattle WA USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: Russell, ES, DX
 
Posts: 4 since Sep 2015
Thanks: 1 given, 0 received

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.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Time Segmented Volume
NinjaTrader
TD Sequential for NT or MW?
Platforms and Indicators
Portfolio Management Tool/Software
Psychology and Money Management
For the experts of Metastock
Platforms and Indicators
1 min chart v-shape scan help please
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Webinar: Happy Hour w/Cem Karsan
37 thanks
Avoiding Account Killing Freight Trains
20 thanks
The Beast Slayer, Lances NQ Trading Journal
15 thanks
TST/OneUp/LeeLoo/Earn2Trade
13 thanks
Losing faith...
13 thanks
 
(login for full post details)
  #2 (permalink)
 iantg 
charlotte nc
 
Experience: Master
Platform: ninjatrader
Broker: NinjaTrader
Trading: Emini (ES, YM, NQ, ect.)
 
Posts: 399 since Jan 2015
Thanks: 81 given, 1,093 received

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

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
 DavidHP 
Market Wizard
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,384 since Aug 2009
Thanks: 10,328 given, 2,449 received


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 ! ! !
Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
 svasily 
Seattle WA USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: Russell, ES, DX
 
Posts: 4 since Sep 2015
Thanks: 1 given, 0 received


DavidHP View Post

Thanks a lot for help.

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > How use crossover method in NT7 to code when market crosses price level


Last Updated on March 12, 2016


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

Your Charts Should Speak To You w/Bob Cometta

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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