NexusFi: Find Your Edge


Home Menu

 





% off high


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,140 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)
 wxsim1 
Miami, FL
 
Experience: Advanced
Platform: NT
Trading: ES, CL
Posts: 126 since May 2013
Thanks Given: 274
Thanks Received: 70

Hi,

I would like to create a custom indicator where I can assign a value and the indicator will plot horizontal lines based on 5%, 10%, 15%, 20%, 30% off value. Where would i start with such indicator?

thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
Iran Forward Curve: June 30 at 56% vs June 15 at 28% -- …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
 
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


wxsim1 View Post
Hi,

I would like to create a custom indicator where I can assign a value and the indicator will plot horizontal lines based on 5%, 10%, 15%, 20%, 30% off value. Where would i start with such indicator?

thanks

copy ninja built-in ConstantLines indicator then you can specify your own calculation.


Reply With Quote
  #3 (permalink)
 wxsim1 
Miami, FL
 
Experience: Advanced
Platform: NT
Trading: ES, CL
Posts: 126 since May 2013
Thanks Given: 274
Thanks Received: 70



cory View Post
copy ninja built-in ConstantLines indicator then you can specify your own calculation.

getting all sorts of errors

2015-02-10_1048 - wxsim's library


Started this thread Reply With Quote
  #4 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,175 since Jan 2013
Thanks Given: 58,026
Thanks Received: 26,425


wxsim1 View Post
getting all sorts of errors

2015-02-10_1048 - wxsim's library

You're literally copying in the Ninja C# code into TOS, which can't possibly work: it's a different language.

A person would have to figure out what the Ninja indicator is doing, then figure out how to translate the same effect into TOS ThinkScript code.

You'll need a TOS programmer to help you on this. (Sorry, it's been too long since I used TOS for me to give it a try.)

Bob.


Reply With Quote
Thanked by:
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


wxsim1 View Post
Hi,

I would like to create a custom indicator where I can assign a value and the indicator will plot horizontal lines based on 5%, 10%, 15%, 20%, 30% off value. Where would i start with such indicator?

thanks

check out this TOS page, check the code fib grid I see lots of horz lines in there
Share-TOS


Reply With Quote
Thanked by:




Last Updated on February 10, 2015


© 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