NexusFi: Find Your Edge


Home Menu

 





% off high


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,025 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?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 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: 57,995
Thanks Received: 26,423


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