All things TradingView

everything that doesn't belong elsewhere cometh here

Moderator: moderators

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Thu May 02, 2019 2:55 am

Going to have to think about this one...
to use closing prices or not to use closing prices.

[EDIT: nope, opening prices is where it's at: as TRO said somewhere, it is the only price that doesn't move so you don't have to wait for that 5th bar to close]

hrmmm.png
hrmmm.png (61.43 KiB) Viewed 2790 times
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

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

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Thu May 02, 2019 3:46 am

This is my last chart of the day because I'm starting to feel like a spammer...the day ends in 15 minutes :lol:

These fractals are based on opening prices:

Fractal_Opener.png
Fractal_Opener.png (19.58 KiB) Viewed 2787 times
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Sat May 04, 2019 5:07 am

Step line of the high/low + line chart of the open prices; best of both worlds?

OHL.png
OHL.png (67.4 KiB) Viewed 2737 times
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Sun May 05, 2019 4:00 pm

The open price is very zen.

There is no 'confirmation': it is unchangeably what it is and It is all things as you cannot have a lower open without lower lows and a close.

Color is something that it is, not something that it waits for: it is unchangeably down or up, above or below, highest or lowest.

Where is the falsity? It has never started one thing only to do another; you can trust it wholeheartedly.

There is nothing to guess, nothing to count, nothing to predict, and nothing to wonder; there is only the sound of the opening bell.

[You don't really need a 3-minute chart: you could just look at your watch every 3 minutes after you notice price below your fractal]
open_says_me.png
open_says_me.png (46.82 KiB) Viewed 2691 times
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

User avatar
Leoheart
rank: 150+ posts
rank: 150+ posts
Posts: 440
Joined: Thu Feb 23, 2017 10:54 pm
Reputation: 406
Gender: None specified

Re: All things TradingView

Postby Leoheart » Sun May 05, 2019 6:21 pm

IgazI wrote:The open price is very zen.

There is no 'confirmation': it is unchangeably what it is and It is all things as you cannot have a lower open without lower lows and a close.

Color is something that it is, not something that it waits for: it is unchangeably down or up, above or below, highest or lowest.

Where is the falsity? It has never started one thing only to do another; you can trust it wholeheartedly.

There is nothing to guess, nothing to count, nothing to predict, and nothing to wonder; there is only the sound of the opening bell.

[You don't really need a 3-minute chart: you could just look at your watch every 3 minutes after you notice price below your fractal]
open_says_me.png


IgazI, did you have to code in pine to get the fractals to paint at open prices, or is it an option in TV? Damn, on mt4 no option for open prices. Guess i'll have look for a custom indi.
Soon all of this will be a long time ago. Be Humble, Be Playful.

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

User avatar
LeMercenaire
rank: 1000+ posts
rank: 1000+ posts
Posts: 3184
Joined: Tue Sep 27, 2016 12:11 am
Reputation: 2302
Gender: None specified

Re: All things TradingView

Postby LeMercenaire » Mon May 06, 2019 12:18 am

Leoheart wrote:
IgazI wrote:The open price is very zen.

There is no 'confirmation': it is unchangeably what it is and It is all things as you cannot have a lower open without lower lows and a close.

Color is something that it is, not something that it waits for: it is unchangeably down or up, above or below, highest or lowest.

Where is the falsity? It has never started one thing only to do another; you can trust it wholeheartedly.

There is nothing to guess, nothing to count, nothing to predict, and nothing to wonder; there is only the sound of the opening bell.

[You don't really need a 3-minute chart: you could just look at your watch every 3 minutes after you notice price below your fractal]
open_says_me.png


IgazI, did you have to code in pine to get the fractals to paint at open prices, or is it an option in TV? Damn, on mt4 no option for open prices. Guess i'll have look for a custom indi.


If you find one, let us know. It does look kinda' funky.

User avatar
Leoheart
rank: 150+ posts
rank: 150+ posts
Posts: 440
Joined: Thu Feb 23, 2017 10:54 pm
Reputation: 406
Gender: None specified

Re: All things TradingView

Postby Leoheart » Mon May 06, 2019 12:46 am

LeMercenaire wrote:
Leoheart wrote:
IgazI wrote:The open price is very zen.

There is no 'confirmation': it is unchangeably what it is and It is all things as you cannot have a lower open without lower lows and a close.

Color is something that it is, not something that it waits for: it is unchangeably down or up, above or below, highest or lowest.

Where is the falsity? It has never started one thing only to do another; you can trust it wholeheartedly.

There is nothing to guess, nothing to count, nothing to predict, and nothing to wonder; there is only the sound of the opening bell.

[You don't really need a 3-minute chart: you could just look at your watch every 3 minutes after you notice price below your fractal]
open_says_me.png


IgazI, did you have to code in pine to get the fractals to paint at open prices, or is it an option in TV? Damn, on mt4 no option for open prices. Guess i'll have look for a custom indi.


If you find one, let us know. It does look kinda' funky.


Yes Sir! You can count on me Sir! On it Sir! HooAah.
Soon all of this will be a long time ago. Be Humble, Be Playful.

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Mon May 06, 2019 2:10 am

I wish that I could help you but I don't know anything about mql4.

I you search for a free indicator that plots up and down arrows then all you would need to do is
change the formula and shape to your liking, rename, and then click compile.

This is the indicator that I wrote for TV:

[I'll clean up the code later]
//@version=3
study("Fractal_Opener", overlay = true)
user_1 = input(title = "Extremes?", type = bool, defval = false )

x = open[0]
hi = false
lo = false
clr = user_1 ? orange : blue
if user_1
hi := high[2] > high[0] and high[2] > high[1] and high[2] > high[3] and high[2] > high[4]
lo := low[2] < low[0] and low[2] < low[1] and low[2] < low[3] and low[2] < low[4]
else
hi := x[2] > x[0] and x[2] > x[1] and x[2] > x[3] and x[2] > x[4]
lo := x[2] < x[0] and x[2] < x[1] and x[2] < x[3] and x[2] < x[4]


isHI = hi
isLO = lo

plotshape(isHI, location = location.abovebar, style = shape.triangleup, color = color(blue,transp = 0), offset = -2, transp = 88, size = size.tiny)
plotshape(isHI, location = location.abovebar, style = shape.triangledown, color = clr, offset = -2, transp = 88, size = size.tiny)
plotshape(isLO, location = location.belowbar, style = shape.triangleup, color = color(blue, transp = 0), offset = -2, transp = 88, size = size.tiny)
plotshape(isLO, location = location.belowbar, style = shape.triangledown, color = clr, offset = -2, transp = 88, size = size.tiny)

isUP = open[0] < (high[0] + low[0]) / 2
isNT = open[0] == (high[0] + low[0]) / 2
op = open[0]
h = high[0]
l = low[0]

plot(h, style = stepline, color = black, linewidth = 1, transp = 88)
plot(l, style = stepline, color = black, linewidth = 1, transp = 88)


plot(op, style = circles, color = blue, linewidth = 2, join = true, transp = 0)

//barcolor(isUP and not isNT ? green : red)
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

User avatar
Leoheart
rank: 150+ posts
rank: 150+ posts
Posts: 440
Joined: Thu Feb 23, 2017 10:54 pm
Reputation: 406
Gender: None specified

Re: All things TradingView

Postby Leoheart » Mon May 06, 2019 4:36 am

IgazI wrote:I wish that I could help you but I don't know anything about mql4.

I you search for a free indicator that plots up and down arrows then all you would need to do is
change the formula and shape to your liking, rename, and then click compile.

This is the indicator that I wrote for TV:

[I'll clean up the code later]
//@version=3
study("Fractal_Opener", overlay = true)
user_1 = input(title = "Extremes?", type = bool, defval = false )

x = open[0]
hi = false
lo = false
clr = user_1 ? orange : blue
if user_1
hi := high[2] > high[0] and high[2] > high[1] and high[2] > high[3] and high[2] > high[4]
lo := low[2] < low[0] and low[2] < low[1] and low[2] < low[3] and low[2] < low[4]
else
hi := x[2] > x[0] and x[2] > x[1] and x[2] > x[3] and x[2] > x[4]
lo := x[2] < x[0] and x[2] < x[1] and x[2] < x[3] and x[2] < x[4]


isHI = hi
isLO = lo

plotshape(isHI, location = location.abovebar, style = shape.triangleup, color = color(blue,transp = 0), offset = -2, transp = 88, size = size.tiny)
plotshape(isHI, location = location.abovebar, style = shape.triangledown, color = clr, offset = -2, transp = 88, size = size.tiny)
plotshape(isLO, location = location.belowbar, style = shape.triangleup, color = color(blue, transp = 0), offset = -2, transp = 88, size = size.tiny)
plotshape(isLO, location = location.belowbar, style = shape.triangledown, color = clr, offset = -2, transp = 88, size = size.tiny)

isUP = open[0] < (high[0] + low[0]) / 2
isNT = open[0] == (high[0] + low[0]) / 2
op = open[0]
h = high[0]
l = low[0]

plot(h, style = stepline, color = black, linewidth = 1, transp = 88)
plot(l, style = stepline, color = black, linewidth = 1, transp = 88)


plot(op, style = circles, color = blue, linewidth = 2, join = true, transp = 0)

//barcolor(isUP and not isNT ? green : red)



Great stuff IgazI, you’re on your way to becoming a pine script beast! (no pun).
Soon all of this will be a long time ago. Be Humble, Be Playful.

User avatar
IgazI
rank: 150+ posts
rank: 150+ posts
Posts: 486
Joined: Sat Feb 17, 2018 5:28 pm
Reputation: 444
Gender: None specified

Re: All things TradingView

Postby IgazI » Mon May 06, 2019 2:40 pm

Leoheart wrote:
Great stuff IgazI, you’re on your way to becoming a pine script beast! (no pun).


I am not awesome, I just read the example and write something similar; the dumbest person on the planet could
code in pine script :lol:

But thanks!
"I had operated simply on the basis of my daily telegram, which gave me my perspective. It showed me the way my stocks were behaving. There were no other influences, because I did not see or hear anything else." - Nicolas Darvas

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


Return to “general”