NexusFi: Find Your Edge


Home Menu

 





Ninja Indicator to Ninja Strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 2 posts (0 thanks)
    2. looks_two kandlekid with 2 posts (0 thanks)
    3. looks_3 emini_Holy_Grail with 2 posts (0 thanks)
    4. looks_4 dannyss35 with 1 posts (0 thanks)
    1. trending_up 6,542 views
    2. thumb_up 0 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 1 attachments




Closed Thread
 
Search this Thread

Ninja Indicator to Ninja Strategy

  #1 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126

can someone put up some procedure as to how to convert Ninja Indicator to Ninja Strategy. is it few steps copying the Indicator's code in the Strategy wizard? or is there much coding involved as i dont know coding and haven't done it before. any help is appreciated

Started this thread

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
35 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Spoo-nalysis ES e-mini futures S&P 500
14 thanks
  #2 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709

There is no real way to convert an indicator to a strategy, e_H_G. They are two different things. Most indicators are just visual plots on a graph based on mathematical formulas. A strategy is a set of rules of when, what, how much, and why to enter and exit trades. You can use indicators to build your strategy, as you've probably seen in the strategy wizard, but most indicators can't simply be "converted" to be a strategy, or at least a viable one. With that said, some indicators I build contain buy/sell rules and have "Buy" or "Sell" data series so if I want to use it in a strategy I just look at the buy/sell data coming out of the indicator and just focus the strategy code on money management and other factors strats need to concern themselves with.

Follow me on Twitter Visit my NexusFi Trade Journal
  #3 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126


thks Shodson. Let me try that

Started this thread
  #4 (permalink)
 aurosam 
Cadiz, Spain
 
Posts: 3 since Dec 2009

Hi, all!!

Where I can learn to make strategy with NinjaTrader?? I would like to backtest with indicators how Eco2NewSharky??
Is there somebody that work with market analyzer??

Thanks in advance...

  #5 (permalink)
 dannyss35 
toronto
 
Experience: Intermediate
Platform: ninjatrader
Broker: amp futures/zen-fire
Posts: 26 since Oct 2009
Thanks Given: 11
Thanks Received: 12

hi all and thanks big Mike.

I downloaded some indicators however after I import them everything is ok exept the indicators with paint bars dont print. any idea what I have to do to make the paint bars print?

thanks


  #6 (permalink)
 ralf53 
Hagen
 
Experience: Advanced
Platform: NinjaTrader
Trading: CL
Posts: 3 since Apr 2011
Thanks Given: 2
Thanks Received: 0

Why isnt it possible, to start an ATM within a strategie ????
Ralf

  #7 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,214
Thanks Received: 101,599


ralf53 View Post
Why isnt it possible, to start an ATM within a strategie ????
Ralf

It is technically possible but requires advanced programming, and it also will work for live trading only - not backtesting.

Also, you replied to a 3 year old thread with a question that is off topic for this thread. Please don't do this, we try to keep things organized here.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal
  #8 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20


ralf53 View Post
Why isnt it possible, to start an ATM within a strategie ????
Ralf

As Mike said, it's advanced programming. At the moment NT does not normally allow an ATM (chart trader) and strategy to be run simultaneously. As a work around, you need to use the ChartControl functions, which are technically not supported by NT. But I understand that NT will be offering more support for them in NT 8.

  #9 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20


emini_Holy_Grail View Post
can someone put up some procedure as to how to convert Ninja Indicator to Ninja Strategy. is it few steps copying the Indicator's code in the Strategy wizard? or is there much coding involved as i dont know coding and haven't done it before. any help is appreciated

Every indicator is different. You've got to know what the author of the indicator provided as public accessibility. Anything in the indicator that is public should be able to be used in your strategy (public DataSeries is an example).

Here's an example ... say you're using the Stochastics indicator ... you could access the K DataSeries like so ...

Stochastics(PeriodD,PeriodK,Smooth).K[0].

This calls the constructor for the Stochastics class, and returns the current value for %K.

You might then use something like the following in your strategy ...

if ( CrossAbove( Stochastics(PeriodD,PeriodK,Smooth).K, Stochastics(PeriodD,PeriodK,Smooth).D, 1 ) )
{
EnterLong();
}

I personally like the StochasticsOverlay function.

  #10 (permalink)
 Jacka777 
Herkimer NY US
 
Experience: Intermediate
Platform: NT7, CQG
Broker: NT
Trading: ES CL YM
Posts: 59 since Jan 2013
Thanks Given: 10
Thanks Received: 51


Hi Everyone,
how do i add a email alert to a my target and my stop loss when its triggered. i did the entery long and i get the email alert for that, but dont know how to do the other 2. \this is what i have so far. thanks all


Closed Thread



Last Updated on March 9, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts