Search found 22 matches

Go to advanced search

by Fxxtrader
Sat May 01, 2021 3:21 pm
Forum: Pine Script Q&A
Topic: Tradingview suggestions
Replies: 1
Views: 758
 
Jump to post

Re: Tradingview suggestions

Matt - your SEO on Youtube is good. I looked up this question on YT and found this amazing lesson which answered my question. Your timestamps made it easier to find it quickly: 04:40 - Help Center 05:04 - Support Tickets https://www.youtube.com/watch?v=iENn5rBHIAo&t=164s I reached out to help center...
by Fxxtrader
Wed Apr 28, 2021 10:58 pm
Forum: Pine Script Q&A
Topic: Best Browser for TradingView
Replies: 0
Views: 1129
 
Jump to post

Best Browser for TradingView

Hello - which browser do you guys use for TradingView?

Thanks.
by Fxxtrader
Sat Mar 13, 2021 1:01 am
Forum: Pine Script Q&A
Topic: Tradingview suggestions
Replies: 1
Views: 758
 
Jump to post

Tradingview suggestions

Hello - it looks like Tradingview does a great job listening to suggestion from its users. I would like to see them improve the long and short position tool. I do a lot of back testing and would like to track the account size according to results of trades from this tool. The tools seems like it's a...
by Fxxtrader
Fri Feb 19, 2021 1:08 am
Forum: Pine Script Q&A
Topic: Convert day of week and time to other timezone
Replies: 10
Views: 4804
 
Jump to post

Re: Convert day of week and time to other timezone

@Fxxtrader - the time variable is based on the bar open time. try changing the source of the dayofmonth function to time_close. FirstBarOfMonth = dayofmonth(time_close) < dayofmonth(time_close)[1] if FirstBarOfMonth LabelText = tostring(month(time_close),"1st Bar\nMonth ") LabelAbove = label.new(x=...
by Fxxtrader
Thu Feb 18, 2021 11:03 pm
Forum: Pine Script Q&A
Topic: Making Label Optional
Replies: 2
Views: 1143
 
Jump to post

Re: Making Label Optional

@kmarryat You're awesome, man!
This will now allow me to combine some indicators and labels, even differentiate between label dashboards within one script.

I'd like to learn more about using labels, I can see a lot of value in them.

Thanks.
by Fxxtrader
Thu Feb 18, 2021 2:02 am
Forum: Pine Script Q&A
Topic: Input function to disable script on higher time frame
Replies: 4
Views: 2108
 
Jump to post

Input function to disable script on higher time frame

Hello - how would I add an input option to only run a script on a certain time frame. For example, this script, I want it disabled when I switch from a lower time frame to a daily chart. I've seen this input discussed here before but can't find it, again. //@version=4 study(title = "Daily Open Label...
by Fxxtrader
Tue Feb 16, 2021 7:50 pm
Forum: Pine Script Q&A
Topic: Making Label Optional
Replies: 2
Views: 1143
 
Jump to post

Making Label Optional

Hello - I have this label script and would like to make it optional to display. Where would I place the condition (? and : na)? f_print(_text) => var _label = label.new(time, y=na, text=_text, xloc=xloc.bar_time, yloc=yloc.price, color=color.white, style=label.style_label_center, textcolor=color.bla...
by Fxxtrader
Fri Feb 12, 2021 2:22 am
Forum: Pine Script Q&A
Topic: Convert day of week and time to other timezone
Replies: 10
Views: 4804
 
Jump to post

Re: Convert day of week and time to other timezone

@Fxxtrader FirstBarOfMonth = dayofmonth(time) < dayofmonth(time)[1] if FirstBarOfMonth LabelText = tostring(month(time),"1st Bar\nMonth ") LabelAbove = label.new(x=bar_index, y=na, text=LabelText, yloc=yloc.abovebar, color=color.green, textcolor=color.white, style=label.style_label_down, size=size....
by Fxxtrader
Wed Jan 27, 2021 2:30 am
Forum: Pine Script Q&A
Topic: Watermark Label
Replies: 1
Views: 880
 
Jump to post

Watermark Label

Hello Coders, hope you're doing well. With some help from Pine Script chat room, I started this watermark label. From the chat room, I don't understand what these lines mean? f_print(_text) => var _label And this line: f_print(syminfo.ticker + "\n" + timeframe.period) I understand inside the bracket...
by Fxxtrader
Wed Jan 20, 2021 2:47 pm
Forum: Pine Script Q&A
Topic: Using var
Replies: 2
Views: 1079
 
Jump to post

Re: Using var

Hi, I think I found my error. Replaced 0.0 with 0, changed true to + 1 and now script compiles and strategy results is returned. aroonBuy = crossover(upper, lower) aroonSell = crossover(lower, upper) var aroonBuySig = 0 var aroonSellSig = 0 if aroonBuy aroonBuySig := + 1 if aroonSell aroonSellSig :=...

Go to advanced search