TOS - Ninjascript - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


TOS - Ninjascript
Updated: Views / Replies:13,272 / 25
Created: by dsraider Attachments:2

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 2  
 
Thread Tools Search this Thread
 

TOS - Ninjascript

  #1 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received

TOS - Ninjascript

Hi All,

I'm using a really, really, really good indicator for TOS which I'd like to convert to ninjascript and use in an automated strategy. Unfortunately, I only speak thinkscript so if anyone is willing to do this, I think we'll both be very happy with the outcome. My current success rate with this strategy is 85 - 90%. Please reply if interested and I'll email my TOS code.

Thanks in advance,
Dave

Moderator Note
This thread was moved from the NinjaTrader Programming section to the Everything Else Programming section. If we get some more participation from ThinkOrSwim users, we can create a dedicated ToS category. -- Big Mike


Reply With Quote
 
  #2 (permalink)
Market Wizard
New Orleans, La (Mardi Gras City)
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninjatrader / Optimus Futures / AmpFutures
Favorite Futures: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,002 since Aug 2009
Thanks: 803 given, 1,367 received


dsraider View Post
Hi All,

I'm using a really, really, really good indicator for TOS which I'd like to convert to ninjascript and use in an automated strategy. Unfortunately, I only speak thinkscript so if anyone is willing to do this, I think we'll both be very happy with the outcome. My current success rate with this strategy is 85 - 90%. Please reply if interested and I'll email my TOS code.

Thanks in advance,
Dave

Wow that is a pretty impressive success rate.
What type of indicator is it?
Can you post a chart?

Thanks

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Reply With Quote
 
  #3 (permalink)
Elite Member
Toronto, ON
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 98 since Sep 2009
Thanks: 22 given, 19 received


You have invoked some interest. Let us see the chart.

Reply With Quote
 
  #4 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received

On the advice of a fellow trader, I installed SuperTrend and played around with the inputs (3, VMA, 1.23, 3, ATR). It's a pretty dead on match for what I'm using on TOS. I would post a chart but it's asking me for a URL and I'm barely capable of shutting down properly...

Give this a whirl on the 1600 tick (or chart of your choosing - I'll be testing many, now that I can), remembering to only enter if the 20k vol Double MA (5 HMA, 45 VMA) agrees.

Thanks for showing interest. If I have another update, I'll be certain to post.

Dave

Reply With Quote
The following 3 users say Thank You to dsraider for this post:
 
  #5 (permalink)
Just starting out...
Italy
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 4 since Jan 2010
Thanks: 2 given, 0 received

Thanks a lot. Is it possible for you to post the script of tos? Can you post an immage to explain better? To do this you can clic on Insert Immage icon. Which time frame do you use and where do yuo have better results? (futures?)
Bye

Reply With Quote
 
  #6 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received

erraimo,

I'd love to post a pic (especially since I did really well today) but as previously stated, the insert image icon is asking me for a URL. If you can show me how to just upload what I have directly, I'd be more than happy to.

I'm using this on the 1600 Tick chart and I ONLY trade the ES.

Reply With Quote
 
  #7 (permalink)
Elite Member
Indianapolis, IN USA
 
Futures Experience: Advanced
Platform: Ninjatrader TOS Custom
Broker/Data: Several
Favorite Futures: ES CL ZB
 
Posts: 370 since Dec 2009
Thanks: 218 given, 369 received

Hi Ds,
I use both TOS and Ninja - has been quite a slow and tedious process helping to prod TOS into their Active Trader releases over the past year. They keep improving but it's frustrating when you compare their thinkscript with ninjascript for example. (Or when they come out with a "whistles & bells" upgrade when we need basic tools like range bars, volume bars, user defined tick bars, etc. Anyway, I've coded several indies for both TOS and Ninja and will be glad to help if I can. Good trading.

Reply With Quote
 
  #8 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,440 since Jun 2009
Thanks: 1,000 given, 1,595 received


dsraider View Post
erraimo,

I'd love to post a pic (especially since I did really well today) but as previously stated, the insert image icon is asking me for a URL. If you can show me how to just upload what I have directly, I'd be more than happy to.

I'm using this on the 1600 Tick chart and I ONLY trade the ES.

The first process is to paste/save your screen shot/image on a folder (e. g. Desktop, My Documents, etc). Then go through the normal process of posting, then you'll see the "Manage Attachments" link (see attached snapshot) in the "Additional Options" pane. Click on the "Manage Attachments" link to choose where you must have pasted/saved your screen snapshot file, then click on "Upload".

On the other you can attach your template (which is already in the "My Documents\NinjaTrader 6.5\templatesChart" folder, using the same process of "Manage Attachments".

Lolu

Attached Thumbnails
TOS - Ninjascript-manageattachment.png  
Reply With Quote
The following 2 users say Thank You to lolu for this post:
 
  #9 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received

lolu - Thanks for the directions. Big Mike, since I see you checked out this thread, thank you very, very much for these indicators. This is yesterday's 1600 tick ES chart. Since I scalp, yesterday I was 100%. I've received several PMs telling me it's next to impossible to write a strat that enters when these two indicators agree. I don't understand why but maybe this pic will give someone an idea of which I haven't yet thought.

Happy Trading,
Dave

Attached Thumbnails
TOS - Ninjascript-strategy.jpg  
Reply With Quote
 
  #10 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received


Okay, since TSSupertrend apparently hates me, I tried ATR Trailing instead, for now. I came up with the following, which compiles, but doesn't seem to work how it should:

(For longs)...

if ((DoubleMA(5, NinjaTrader.Indicator.MAV.MAType.HMA, 45, NinjaTrader.Indicator.MAV.MAType.VMA).Signal[0] == 1) && (ATRTrailing(4, 10, 0.02).Upper[0] == 1))
EnterLongLimit(DefaultQuantity, 0, "");

(For shorts)...

if ((DoubleMA(5, NinjaTrader.Indicator.MAV.MAType.HMA, 45, NinjaTrader.Indicator.MAV.MAType.VMA).Signal[0] == -1) && (ATRTrailing(4, 10, 0.02).Lower[0] == -1))
EnterShortLimit(DefaultQuantity, 0, "");

Both seem to be entering at the same time. It's strange. I'm sure it's something small, so if someone sees it, please let me know.

Thanks,
Dave

Reply With Quote

Reply



futures io > > > > > TOS - Ninjascript

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Point and Figure for ToS cbritton ThinkOrSwim Programming 10 April 5th, 2017 07:58 AM
Can anyone convert a code from TOS j8fire ThinkOrSwim 8 July 18th, 2012 09:24 PM
PERRY METHOD FOR TOS tonylipton ThinkOrSwim Programming 14 April 7th, 2011 07:45 AM
Using Alerts in ToS Jasonh0099 ThinkOrSwim Programming 0 December 11th, 2010 01:44 AM
Can this be TOS indicator be converted? suchen The Elite Circle 0 October 23rd, 2009 12:04 AM


All times are GMT -4. The time now is 12:43 AM.

Copyright © 2017 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
Page generated 2017-12-13 in 0.13 seconds with 20 queries on phoenix via your IP 54.221.93.187