NexusFi: Find Your Edge


Home Menu

 





% off high


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,111 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?
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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,013
Thanks Received: 26,424


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