NexusFi: Find Your Edge


Home Menu

 





Importing Stragegies that include existing indicators


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one DMPippin with 2 posts (0 thanks)
    2. looks_two DavidHP with 1 posts (1 thanks)
    3. looks_3 sam028 with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 1,995 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
DMPippin
San Antonio, Texas/USA
 
Posts: 6 since Apr 2017
Thanks Given: 9
Thanks Received: 1

I have imported a couple of strategies that were converted from NT7 to NT8. I am quite new to NinjaTrader though I have an extensive programming background. So, I have no real trouble with the coding aspects.

My question is this. When import a strategy that includes indicators that already exist, will it make a difference if I choose to keep my existing indicator and not overwrite it with the one included?

I've looked at the code and the only difference I've noticed is more about preference than anything else. I was wondering if I just added a naming convention, such as @EMA_st1, @EMA_st2...., for example, that would allow me to have multiple like indicators with various 'presets', would be a viable solution.

Any input about this will be welcome.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
Commodities
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,759 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,645


If you talk about genuine NT indicators (@SMA, @EMA, @MacD, ...) no need to overwrite them, but if you overwrite them it's not a big deal as they are identical.
If it's updated custom indicators then you may want to keep traces of older versions, but it's up to you.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,817 since Aug 2009
Thanks Given: 11,767
Thanks Received: 3,043

If the indicators are not built-in indicators, sometimes the creator of the code / strategy will tweak the indicators with custom settings or booleans and will not work without over-writing.

The safest thing to do is to not over-write and see if the strategy still works as expected.
If the strategy does not work, make a backup of the indicators used and then import again.

I usually do frequent backups of my indicator folder just incase I over-write one that has a flaw.
(backups never hurt)

FWIW


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
Thanked by:
  #5 (permalink)
DMPippin
San Antonio, Texas/USA
 
Posts: 6 since Apr 2017
Thanks Given: 9
Thanks Received: 1

Thanks for the input. I really appreciate it. I have already backed-up my NT folders, since reading this.


Reply With Quote




Last Updated on May 30, 2017


© 2026 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 - Downloads - Top
no new posts