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

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(205 thanks from 24 posts)
looks_twoSalao's Journalby Salao
(53 thanks from 11 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(38 thanks from 18 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(35 thanks from 15 posts)
looks_5Maybe a little bit different journalby Malykubo
(14 thanks from 16 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Big Mike in Ecuador
76 thanks
The Crude Dude Oil Trading System
72 thanks
Help improve the FIO community
38 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
29 thanks
futures io site changelog and issues/problem reporting
27 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: 76 given, 1,088 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 
Legendary 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,376 since Aug 2009
Thanks: 10,027 given, 2,409 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
 

Journal Challenge w/$1,800 in prizes!

April
     



Copyright © 2021 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