NexusFi: Find Your Edge


Home Menu

 





% off high


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,215 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?
EA
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
Datafeed for Atas
Platforms and Indicators
No book, only a stair: journaling fills where price move …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
TopStep Trader disappointment
2 thanks
Johnnys Journal
2 thanks
  #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,426


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