TOS Draw Horizontal Line at Current Price Indicator needed - ThinkOrSwim | futures io social day trading
futures io futures trading


TOS Draw Horizontal Line at Current Price Indicator needed
Updated: Views / Replies:2,357 / 3
Created: by ceramictilepro Attachments:0

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

TOS Draw Horizontal Line at Current Price Indicator needed

  #1 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

TOS Draw Horizontal Line at Current Price Indicator needed

Hello

I am looking for a simple indicator that draws a horizontal line across chart at current price.

very similar to the ninjatrader indicator
https://futures.io/download/ninjatrader-7/indicators/1029-download.html?view

any help would greatly be appreciated.

I found this free TOS indicator online and it is real close to what I'm looking for but fails to draw across complete chart

 
Code
# Close Extended Line
# From within the script settings panel, change the value of lineLength to extend the line further if desired.

input lineLength = 4;
def barNumber = BarNumber();
def barCount = HighestAll(If(IsNaN(close), 0, barNumber));
def closeLine = if barNumber == 1 then Double.NaN else if barNumber == barCount - lineLength then close[-lineLength] else if barNumber == barCount then Double.NaN else closeLine[1];
plot data = closeLine;
     data.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
here is the link to the above code illustrating indicator in action
Fun with ThinkScript

thanks for any help

Reply With Quote
 
  #2 (permalink)
Elite Member
munich germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 3 since Jun 2016
Thanks: 0 given, 0 received

Currrent price line can be made directly in NinjaTrader

In the meantime I have found a solution directly from NinjaTrader:
how do I draw a horizontal price line? - NinjaTrader Support Forum

Here is the video that explains how to do it: 2015-08-06_0713 - NT_Paul's library

This works also in NT8.

Best regards

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Tilburg
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: Currency
 
Posts: 2 since Oct 2017
Thanks: 0 given, 0 received

Price Line


Hi,

did you get it to work for TOS?

I tried something but it doesn't look like the one in the video..

Best regards,

Patrick

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Los Angeles,CA USA
 
Futures Experience: None
Platform: MT4 TOS
Favorite Futures: Anything Profitable
 
Posts: 6 since Mar 2017
Thanks: 0 given, 0 received

 
Code
plot priceLine = highestAll(if isNan(close[-1]) and !isNAN(close) then close else double.nan);

Reply With Quote

Reply



futures io > > > > TOS Draw Horizontal Line at Current Price Indicator needed

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Ran Aroussi: TBA [special time 11AM ET]

Elite only

Collective2: TBA

Feb 8

Adam Grimes: TBA

Elite only

Kevin Davey: TBA

Elite only

Ryan Curran CPA: Traders Tax Education

Elite only

Brett Steenbarger: TBA

Elite only

CME Group: Futures & Bitcoin

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to draw Horizontal Lines with price label at predefined Prices ? jsk123 ThinkOrSwim Programming 6 October 7th, 2017 01:23 PM
Horizontal line moving with price X tics away. deandavis NinjaTrader 3 June 12th, 2017 06:33 PM
Looking for Midpoint pivots and Horizontal line with price/text KahunaDog NinjaTrader 2 January 10th, 2015 03:00 PM
Where did Horizontal Price Line Indie Go? tdaman NinjaTrader 12 January 5th, 2012 02:29 PM
can you get a horizontal line at the current high of the volume indicator anniebee321 NinjaTrader 4 December 10th, 2010 06:18 PM


All times are GMT -4. The time now is 10:07 PM.

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 2018-01-23 in 0.05 seconds with 18 queries on phoenix via your IP 23.22.240.119