Search found 31 matches

Go to advanced search

by ocaptain
Fri May 20, 2022 11:58 am
Forum: Pine Script Q&A
Topic: TradingView - How to change negative values into positive?
Replies: 2
Views: 1112
 
Jump to post

Re: TradingView - How to change negative values into positive?

And if not for the abs function, to turn a negative value into a positive it's x = x - (x*2)

x = -1 - (-1 * 2)
x = -1 - (-2)
x = -1 + 2
x = 1

So, though you didn't need to do this for this example as we have the function, remember, there's *always* a workaround 😜

-Anthony
by ocaptain
Sun Aug 29, 2021 2:26 am
Forum: General Trading Discussions
Topic: Livestream on Market Manipulation
Replies: 1
Views: 4256
 
Jump to post

Livestream on Market Manipulation

Hey Fellow Traders and Scripters! I'd like to invite you to a livestream I'm doing tomorrow: Market Manipulation 101 - The Commentary It'll be at 2PM EST tomorrow (Sunday). If you miss it you can catch the recording. I had a lot of fun putting it together with my friend, Patrick. Hope you all like i...
by ocaptain
Tue Jul 27, 2021 1:46 pm
Forum: Pine Script Q&A
Topic: Invite only script privacy
Replies: 4
Views: 1507
 
Jump to post

Re: Invite only script privacy

I feel you... I wouldn't worry too much though, as (1) very frequently traders know any other active traders so they shouldn't share. (2) if you restrict your access to only people with paid accounts, people will be more reluctant to give an ID/PASSWORD to someone if they are paying for it, (3) if t...
by ocaptain
Mon Jul 26, 2021 2:55 am
Forum: Pine Script Q&A
Topic: Invite only script privacy
Replies: 4
Views: 1507
 
Jump to post

Re: Invite only script privacy

I don't believe you can limit use to one device but one ID. If your concern is about someone sharing their account, they certainly wouldn't do it with a live trading account because whoever they shared it with would have access to that person's trading capital :worried3: Is there another reason you ...
by ocaptain
Tue Jan 05, 2021 12:38 am
Forum: Introductions
Topic: Hi everyone!
Replies: 2
Views: 1410
 
Jump to post

Re: Hi everyone!

Sounds Awesome, Francesco! What does your indicator do?
by ocaptain
Tue Nov 24, 2020 3:40 pm
Forum: Pine Script Q&A
Topic: Indy Values
Replies: 4
Views: 1553
 
Jump to post

Re: Indy Values

I feel your pain! :-)

Hey, Let's go to the Reddit support group and post this as a Feature Suggestion...

https://www.reddit.com/r/TradingView/

Go make the post, let me know (all of us know) what the URL is here in the notes and we can all upvote it!

-Anthony
by ocaptain
Mon Nov 23, 2020 1:51 am
Forum: Pine Script Q&A
Topic: Indy Values
Replies: 4
Views: 1553
 
Jump to post

Re: Indy Values

i don't think you can do it via Pinescript but that is a TradingView setting on the chart... I have the same issue with one of my indicators printing out all the variables and I'd rather they not show... it's under Chart settings... Status Line... Indicator Values. Maybe Matt or another PineScripter...
by ocaptain
Mon Nov 23, 2020 1:47 am
Forum: Introductions
Topic: Hello
Replies: 2
Views: 1289
 
Jump to post

Re: Hello

Welcome aboard, Fxxtrader!
by ocaptain
Fri Nov 20, 2020 11:40 pm
Forum: Introductions
Topic: Hello
Replies: 2
Views: 1343
 
Jump to post

Re: Hello

Welcome Pradeep! I think we all have a common theme here... I too came to create a custom indicator to help me in my own personal trading, automating much of the "grunt work" so I can focus on the important stuff. I still have a long way to go but I'm a long way from where I was :-) Happy trading (a...
by ocaptain
Wed Nov 11, 2020 1:17 am
Forum: Request Scripts
Topic: A script for a divergence alert?
Replies: 2
Views: 1549
 
Jump to post

Re: A script for a divergence alert?

I haven't set an alert but I do have an indicator that shows me when RSI is divergent from the Trend... You can look at my code here: https://www.tradingview.com/script/i3APb1io-Zig-Zag-High-Low-RSI/ and it would be easy enough to basically track the last 4 pivots with 4 variables to see if you are ...

Go to advanced search