NexusFi: Find Your Edge


Home Menu

 





TSSuperTrend Strategy error


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one john2000 with 7 posts (0 thanks)
    2. looks_two Trader.Jon with 4 posts (0 thanks)
    3. looks_3 jabeztrading with 3 posts (5 thanks)
    4. looks_4 tarantino with 3 posts (0 thanks)
      Best Posters
    1. looks_one jabeztrading with 1.7 thanks per post
    2. looks_two Zoethecus with 1 thanks per post
    3. looks_3 rptrader with 0.7 thanks per post
    4. looks_4 Azzzz with 0.3 thanks per post
    1. trending_up 23,968 views
    2. thumb_up 11 thanks given
    3. group 14 followers
    1. forum 32 posts
    2. attach_file 13 attachments




 
Search this Thread
  #21 (permalink)
 
john2000's Avatar
 john2000 
Chicago, IL
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Broker: Amp Futures/CQG/IB
Trading: ES, ZB, ZN, Forex
Posts: 162 since Jan 2010
Thanks Given: 244
Thanks Received: 59


tarantino View Post
Are you able to import it?

Tarantino,

No, I'm not able to import it. I get an error about an improper zip format, (or something like that), So I just took the .cs file from the zip file and dump it into the indicator folder and tried compiling it. However it does not compile.

Thanks,
John


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
22 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #22 (permalink)
 Zoethecus 
United States of America
 
Experience: Advanced
Platform: NT
Posts: 1,145 since Aug 2009

Here's the strat without the vendor license code. Be prepared to lose a lot of money.


Attached Files
Elite Membership required to download: TSSuperTrendStrategySample.zip
Reply With Quote
  #23 (permalink)
 
john2000's Avatar
 john2000 
Chicago, IL
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Broker: Amp Futures/CQG/IB
Trading: ES, ZB, ZN, Forex
Posts: 162 since Jan 2010
Thanks Given: 244
Thanks Received: 59



Zoethecus View Post
Here's the strat without the vendor license code. Be prepared to lose a lot of money.

Thanks for the post, but I get the following "Import Failed . . . " error.


Attached Thumbnails
Click image for larger version

Name:	ImportFailed.png
Views:	310
Size:	65.4 KB
ID:	20730  
Reply With Quote
  #24 (permalink)
 jabeztrading 
Brooklyn, NY
 
Experience: Beginner
Platform: Ninjatrader, Metatrader
Trading: EUR/USD
Posts: 24 since Feb 2010
Thanks Given: 12
Thanks Received: 13


Zoethecus View Post
Here's the strat without the vendor license code. Be prepared to lose a lot of money.

Hi, I've also tried to import the strategy and receive the same error message as john2000. I'm using Ninjatrader 6.5.1000.17 and have version 2.3 of TSSuperTrend.


Reply With Quote
  #25 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632

For @john2000 and @jabeztrading, the same strategy for Ninja 6.5: TSSuperTrendStartegySampleForNT6.5.zip


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
  #26 (permalink)
 jabeztrading 
Brooklyn, NY
 
Experience: Beginner
Platform: Ninjatrader, Metatrader
Trading: EUR/USD
Posts: 24 since Feb 2010
Thanks Given: 12
Thanks Received: 13


sam028 View Post
For @ john2000 and @ jabeztrading, the same strategy for Ninja 6.5: Attachment 20742

Sam028, your zip file imported without any errors. John2000 should be OK now I hope (unless he is using NT7).

Thank you.


Reply With Quote
  #27 (permalink)
 
john2000's Avatar
 john2000 
Chicago, IL
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Broker: Amp Futures/CQG/IB
Trading: ES, ZB, ZN, Forex
Posts: 162 since Jan 2010
Thanks Given: 244
Thanks Received: 59


jabeztrading View Post
Sam028, your zip file imported without any errors. John2000 should be OK now I hope (unless he is using NT7).

Thank you.

Thank you guys . . . it worked! Yes I have the same setup as Jabeztrading NT 6.5 . . 17 and TSSupertrend 2.3. May be the issue was that the strategy was written for NT7? If so, I'll see if it'll import into NT7, just to see . . . not to trade.

Thanks Sam028


Reply With Quote
  #28 (permalink)
 rptrader 
MN
 
Experience: Intermediate
Platform: NinjaTrader
Posts: 115 since Mar 2010
Thanks Given: 467
Thanks Received: 82

Can someone please change the code in this strategy to enter via a market order instead of a stop limit order? I'm trying to run this strategy and the current orders keep getting rejected and shutting down the strategy.

Any help is greatly appreciated.

Thank you
rptrader


Attached Files
Elite Membership required to download: TSS_Strategy.zip
Reply With Quote
Thanked by:
  #29 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

 
Thread Moved


Moved to NinjaTrader Programming

Better late than never



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading




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 X Visit my NexusFi Trade Journal Reply With Quote
  #30 (permalink)
 
john2000's Avatar
 john2000 
Chicago, IL
 
Experience: Intermediate
Platform: Ninjatrader, TOS
Broker: Amp Futures/CQG/IB
Trading: ES, ZB, ZN, Forex
Posts: 162 since Jan 2010
Thanks Given: 244
Thanks Received: 59



rptrader View Post
Can someone please change the code in this strategy to enter via a market order instead of a stop limit order? I'm trying to run this strategy and the current orders keep getting rejected and shutting down the strategy.

Any help is greatly appreciated.

Thank you
rptrader

rptrader,

I'm struggling with a similar issue, however on a different strategy. I get the following errors (see attached). It's something very basic that is missing . . . I'm sure. I wrote Ninjatrader Forum, and they suggested putting a "Print . . ." statement in front of the suspected code line. I tried this, but it just highlighted what I already knew, which is the code line that's placing the order.

My buy order is well above the market price when placed. However when price touches my Stop Price the order is rejected. I suspect it has to the with the fact that the price bar is still forming during live testing. The reason I suspect this because when I do historical testing, the Stop Order does executes.

If I figure it out, Ill post it here, or PM you.


Attached Thumbnails
Click image for larger version

Name:	Order error.png
Views:	244
Size:	8.2 KB
ID:	50957   Click image for larger version

Name:	order error 2.png
Views:	257
Size:	6.2 KB
ID:	50958   Click image for larger version

Name:	Order_error.png
Views:	263
Size:	6.3 KB
ID:	50959  
Reply With Quote




Last Updated on October 7, 2011


© 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