All things TradingView

everything that doesn't belong elsewhere cometh here

Moderator: moderators

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

All things TradingView

Postby IgazI » Fri May 25, 2018 6:59 am

If you use the platform and want to post TV charts or code then you can do so here.

I just signed up here to get up to speed:

Tcn.png
Tcn.png (101.56 KiB) Viewed 9934 times
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

nat
rank: 50+ posts
rank: 50+ posts
Posts: 50
Joined: Sat Sep 19, 2015 12:04 am
Reputation: 76
Gender: Male

Re: All things TradingView

Postby nat » Wed May 30, 2018 5:51 pm

anyone using trading view keep having drawings disappear? ive tried saving chart and they still disappear, kind of aggravating

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Re: All things TradingView

Postby IgazI » Thu May 31, 2018 3:49 pm

nat wrote:anyone using trading view keep having drawings disappear? ive tried saving chart and they still disappear, kind of aggravating


It saves every minute so you have to manually click the 'cloud' before you leave.

click_here.png
click_here.png (4.76 KiB) Viewed 9824 times
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Midpoints

Postby IgazI » Thu May 31, 2018 4:52 pm

midpoint_example.png
midpoint_example.png (24.31 KiB) Viewed 9814 times
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Re: All things TradingView

Postby IgazI » Sat Jun 02, 2018 1:27 pm

I have been spending hours trying do draw two lines and then color in the space :)

I can do:
hline(input_1)
hline(input_2)

but what I can't do is:
hline(open[9])
hline(low[9])

because hline() doesn't accept a series and I have not found a way to access data in a series eg x = open[9], y = x[0]

Anyone have any ideas?

how.png
how.png (21.94 KiB) Viewed 9747 times
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

nat
rank: 50+ posts
rank: 50+ posts
Posts: 50
Joined: Sat Sep 19, 2015 12:04 am
Reputation: 76
Gender: Male

Re: All things TradingView

Postby nat » Sat Jun 02, 2018 2:55 pm

IgazI wrote:I have been spending hours trying do draw two lines and then color in the space :)

I can do:
hline(input_1)
hline(input_2)

but what I can't do is:
hline(open[9])
hline(low[9])

because hline() doesn't accept a series and I have not found a way to access data in a series eg x = open[9], y = x[0]

Anyone have any ideas?

how.png


Maybe get it to draw a rectangle. where one coordinate is the bottom left corner and the other is the top right 5 bars ahead of most current bar. Rectangles have shaded areas by default in tradingview, not sure if it would be like that coding wise also

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Postby IgazI » Mon Jun 04, 2018 6:32 pm

I am still working on a better solution...I just wanted to see it actually paint what I want on the chart :lol:

v_isfor_victory.png
v_isfor_victory.png (30.54 KiB) Viewed 9673 times
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

Vasilis
rank: <50 posts
rank: <50 posts
Posts: 2
Joined: Mon Jun 04, 2018 6:56 pm
Reputation: 0
Gender: None specified

TRO RAT ZONE

Postby Vasilis » Mon Jun 04, 2018 7:13 pm

dear sir
I have a question about your indicator TRO RAT ZONE ,whish i already have.
What does " Strong LWP" mean ?
As, I indicate with red arrow on the attachment chart.

Thank you very much

Vasilis
Attachments
erotisi.jpg
What does " Strong LWP" mean ?
erotisi.jpg (154.07 KiB) Viewed 9666 times

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Re: TRO RAT ZONE

Postby IgazI » Mon Jun 04, 2018 7:22 pm

Vasilis wrote:dear sir
I have a question about your indicator TRO RAT ZONE ,whish i already have.
What does " Strong LWP" mean ?
As, I indicate with red arrow on the attachment chart.

Thank you very much

Vasilis


Your post is off topic.

Please locate any of TRO's threads and ask your question there.
"Everything Should Be Made As Simple As Possible, But Not Simpler!"

User avatar
IgazI
rank: 1000+ posts
rank: 1000+ posts
Posts: 2016
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 1663
Gender: None specified

Re: All things TradingView

Postby IgazI » Tue Jun 05, 2018 3:04 am

Here is what I have so far...you enter the high price of the bar you want your WZ to be drawn on:

WZ.png
WZ.png (8.13 KiB) Viewed 9612 times
itworks.png
itworks.png (32.37 KiB) Viewed 9612 times

UPDATE_1:

Code: Select all

//@version=3
study("Wick Zone", overlay=true, max_bars_back=0)
HIGH = security(tickerid, "D", high)
LOW =  security(tickerid, "D", low)
OPEN =  security(tickerid, "D", open)
CLOSE =  security(tickerid, "D", close)
x = input(defval = 0.76666, title="HIGH OF BAR")
isclose = valuewhen(HIGH == x, CLOSE, 0)
isopen = valuewhen(HIGH == x, OPEN, 0)
dwn = isclose < isopen ? 1 : 0

getopen = dwn ? valuewhen(HIGH == x, CLOSE, 0) : valuewhen(HIGH == x, OPEN, 0)
gethigh= valuewhen(HIGH == x, HIGH, 0)
getlow = valuewhen(HIGH == x, LOW, 0)
getclose = dwn ? valuewhen(HIGH == x, OPEN, 0) : valuewhen(HIGH == x, CLOSE, 0)

plot1 = plot(getopen, linewidth=1, color=color(black,50))
plot2 = plot(gethigh, linewidth=1, color=color(black,50))
plot3 = plot(getlow, linewidth=1, color=color(black,50))
plot4 = plot(getclose, linewidth=1, color=color(black,50))

fill1 = fill(plot2,plot4, color(green,90))
fill2 = fill(plot3,plot1, color(red,90))

"Everything Should Be Made As Simple As Possible, But Not Simpler!"

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “general”