TOS plotting horizontal line for open in renko chart - futures io
futures io



TOS plotting horizontal line for open in renko chart


Discussion in ThinkOrSwim

Updated
    1. trending_up 460 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Search this Thread
 

TOS plotting horizontal line for open in renko chart

(login for full post details)
  #1 (permalink)
takingprofits
costa mesa, ca usa
 
 
Posts: 3 since Jan 2021
Thanks: 0 given, 0 received

is it possible to write code to show the /es rth open as a horizontal line on a renko chart with a line 6pts above the open and a third line 6 pts below the open? Thank you!


have tried this and it does print rth open print except for in renko charts!

def Time =
GetTime()
;
def Start =
RegularTradingStart(GetyYYYMMDD())
;
def First =
Time > Start and Time[1] <= Start
;
def Opening =
if First then Open
else Opening[1]
;
plot Line = Opening;
Line.setPaintingStrategy(paintingStrategy.HORIZONTAL);

Reply With Quote

Can you help answer these questions
from other members on futures io?
pay for programmer coding a custom indicator
Traders Hideout
$0 trades
EasyLanguage Programming
how to avoid these type of trades in algo
NinjaTrader
Google Keyword Search Alerts
Traders Hideout
Does anyone have the code for Anchored Vwap to use in Qu …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Why dont people trade 150 ES contracts?
40 thanks
Spoo-nalysis ES e-mini futures S&P 500
36 thanks
Any long term success stories from funded traders in the …
26 thanks
Daytrading.Coach Review
17 thanks
How to work on strategy
17 thanks
 
(login for full post details)
  #2 (permalink)
ColoradoCliff
Parker CO/USA
 
 
Posts: 4 since Jun 2017
Thanks: 0 given, 1 received


takingprofits View Post
is it possible to write code to show the /es rth open as a horizontal line on a renko chart with a line 6pts above the open and a third line 6 pts below the open? Thank you!


have tried this and it does print rth open print except for in renko charts!

def Time =
GetTime()
;
def Start =
RegularTradingStart(GetyYYYMMDD())
;
def First =
Time > Start and Time[1] <= Start
;
def Opening =
if First then Open
else Opening[1]
;
plot Line = Opening;
Line.setPaintingStrategy(paintingStrategy.HORIZONTAL);


Renko with Lines


Not sure why you couldn't see the lines. I took you code and was able to see the line on a Renko chart. My time setting is 1 year 10 ticks so each bar represents a 2.5 point move. Unfortunately, I can't post the picture of my chart....but I assure you that the lines are on my chart.

Here's my code. The only think I added as the code to draw the +- 6 point lines

# Begin code

def Time =
GetTime()
;
def Start =
RegularTradingStart(GetyYYYMMDD())
;
def First =
Time > Start and Time[1] <= Start
;
def Opening =
if First then Open
else Opening[1]
;
plot aLine = Opening;
aLine.setPaintingStrategy(paintingStrategy.HORIZONTAL);

plot bLine = Opening + 6;
bLine.setPaintingStrategy(paintingStrategy.HORIZONTAL);

plot cLine = Opening - 6;
cLine.setPaintingStrategy(paintingStrategy.HORIZONTAL);
# End code

Attached Thumbnails
Click image for larger version

Name:	Renko with Lines.png
Views:	11
Size:	61.1 KB
ID:	319018  
Reply With Quote


futures io Trading Community Platforms and Indicators ThinkOrSwim > TOS plotting horizontal line for open in renko chart


Last Updated on October 24, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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