Convert Easy Language code into Thinkscript - ThinkOrSwim | futures io social day trading
futures io futures trading


Convert Easy Language code into Thinkscript
Updated: Views / Replies:8,281 / 20
Created: by sboarder13 Attachments:6

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
 6  
 
Thread Tools Search this Thread
 

Convert Easy Language code into Thinkscript

  #11 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received

@Sboarder, there's no direct function in ToS script to dynamically calc the upper/lower borders of the plot - specially when you zoom in & out of a chart. at least not that i'm aware of.
so what we did is take the highest value and the lowest value of price across the whole chart, and worked from that to draw the levels for the dots.

if it's up to me, i wouldn't use that technique at all in my study.. i may use a 10% space above either the highest price, or below the lowest price, and plot my study there if it "must be on the price chart", but not try to take both sides. but that will even be completely messed up on certain time aggregations, so would prefer to plot my study in a separate lower study windows to such a scenario.

these are the lines in the code that decide where to plot what.. pls feel free to change them to what you like.
(did i reverse the placement of long & short .. ? sorry if i did... it's all in these 6 lines below)

def LongL1 = LongLevel - DispDiff * 0.09;
def LongL2 = LongLevel - DispDiff * 0.05;
def LongL3 = LongLevel - DispDiff * 0.01;

def ShortL1 = ShortLevel + DispDiff * 0.02;
def ShortL2 = ShortLevel + DispDiff * 0.04;
def ShortL3 = ShortLevel + DispDiff * 0.06;

if you want this as a lower study, just choose this is study settings - uncheck the box "On Upper subgraph" .. and use constants for LongLevel & ShortLevel like 50 & 0,

hope this helps,
thx, RedK


Last edited by RedK; September 28th, 2012 at 01:52 PM.
Reply With Quote
The following user says Thank You to RedK for this post:
 
  #12 (permalink)
Trading Apprentice
Washington DC United States
 
Futures Experience: Advanced
Platform: Tradestation, TOS
Favorite Futures: ES,NQ,YM,GC,CL,Z,
 
Posts: 6 since Aug 2012
Thanks: 0 given, 1 received

Updated it some here is what I came up with.

Attached Files
Register to download File Type: ts WaveDotsSTUDY.ts (2.1 KB, 75 views)
Reply With Quote
The following user says Thank You to sboarder13 for this post:
 
  #13 (permalink)
Trading Apprentice
United Kingdom
 
Futures Experience: Advanced
Platform: tradestation
Favorite Futures: options
 
Posts: 3 since Feb 2013
Thanks: 0 given, 0 received

Could I a tradestation code transferred to thinkscript too pleaase!


Hey,

I have a tradestation indicator that I would like converting into thinkscript for tos!

Let me know if you can do it

Matt

Reply With Quote
 
  #14 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received

Matt, can give it a shot if you can give some details.. there are some areas i don't do and it's been a while, but let's see ..
RedK

Reply With Quote
 
  #15 (permalink)
Trading Apprentice
United Kingdom
 
Futures Experience: Advanced
Platform: tradestation
Favorite Futures: options
 
Posts: 3 since Feb 2013
Thanks: 0 given, 0 received

the


Last edited by mightyatom; February 19th, 2013 at 05:16 AM.
Reply With Quote
 
  #16 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received

Matt, i understand this code scans & displays some fundamentals on stocks. i ToS, you don't do this thru studies (plots on charts), but rather thru the Scan or MarketWatch screens .. there are some good tutorial around on how to do it..
sorry if that's not what you expected,

cheers,
K

Reply With Quote
 
  #17 (permalink)
Trading Apprentice
United Kingdom
 
Futures Experience: Advanced
Platform: tradestation
Favorite Futures: options
 
Posts: 3 since Feb 2013
Thanks: 0 given, 0 received

Scanning indicator

Hey,

Are you able to create a implied volatility scan for TOS?

Reply With Quote
 
  #18 (permalink)
Trading Apprentice
new york
 
Futures Experience: Advanced
Platform: thinkorswim
Favorite Futures: currency
 
Posts: 1 since Mar 2014
Thanks: 0 given, 0 received

looking to convert codes

just looking to convert tradestation codes and ninjatrader code to thinkorswim any site or initial coding needed? thank you


Reply With Quote
 
  #19 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received


taqalla View Post
just looking to convert tradestation codes and ninjatrader code to thinkorswim any site or initial coding needed? thank you


@taqalla, I may be able to help you with TradeStation to ToS conversion .. but not NT (sorry not my domain)

feel free to PM me a sample TS study - preferably with some description of what it does. I'll see what i can do .. I'm at least sure it will look nicer once it's plotted in ToS

thx
K

Reply With Quote
 
  #20 (permalink)
Trading Apprentice
Deerfield Beach, Fl.
 
Futures Experience: Intermediate
Platform: TOS
Broker/Data: IB
Favorite Futures: futures
 
Posts: 1 since Aug 2012
Thanks: 0 given, 0 received

DeMark D- Wave


I found this code for D -Wave on the web for Amibroker and I'd really like to have it in Think or Swim. Thanks...
P.S. It appears it is designed to only go up and I need it to go down as well...
********************************************




Basically, time and sequence constraints are added; something like this TD1 (that is EW1 D-wave) is completed when pre-TD1 conditions are filled; so here we go based on Perl interpretation on the link above:

PreTD1= C==LLV(C,21);
TD1= follows PreTD1 and C== HHV(C,13) ;
TD2= follows TD1 and C==LLV(C,8);
TD3= follows ...and.. C==HHV(C,21);
TD4= follows ...and..C==LLV(C,13);
TD5= follows ...and..C==HHV(C,34);
TDA= follows ...and..C==LLV(C,13);
TDB= follows ...and..C==HHV(C,8);
TDC= follows ...and..C==LLV(C,21);

*****************************************************

Lash

Reply With Quote

Reply



futures io > > > > Convert Easy Language code into Thinkscript

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Language code question quantismo EasyLanguage Programming 3 April 3rd, 2012 09:36 PM
convert metatrader indicators to easy language for multicharts kdmezz EasyLanguage Programming 1 May 10th, 2011 07:45 PM
easy language ..not easy... Serger EasyLanguage Programming 4 April 26th, 2011 04:42 PM
MC: Simple strategy code problem / Easy Language true EasyLanguage Programming 4 December 19th, 2010 09:48 AM


All times are GMT -4. The time now is 04:01 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-11 in 0.13 seconds with 20 queries on phoenix via your IP 54.226.113.250