Search found 3 matches

Go to advanced search

by wrsmallcap
Sun Sep 13, 2020 4:53 pm
Forum: Pine Script Q&A
Topic: How to get stock basic informaton (e.g. total shares issued, total shares outstanding) to calculate turn over ratio?
Replies: 1
Views: 939
 
Jump to post

How to get stock basic informaton (e.g. total shares issued, total shares outstanding) to calculate turn over ratio?

I want to develop a script to plot the stock turn over ratio, which is basically a calculation of volume / outstanding float. The problem is how to get the stock information of total number of shares outstanding in float? In addition, are there built-in functions to get company basic information, e....
by wrsmallcap
Sun Sep 13, 2020 4:45 pm
Forum: Pine Script Q&A
Topic: Color Change above and below a value
Replies: 3
Views: 1236
 
Jump to post

Re: Color Change above and below a value

Here is an example change the color of parabolicSAR

Code: Select all

 // Adding parabolicSAR

SAR = sar(0.02, 0.02, 0.2)
sarcolor = if SAR < close[0]
    sarcolor=color.purple
else
    sarcolor=color.red
plot(SAR, style=plot.style_circles, color=sarcolor)
by wrsmallcap
Sun Sep 13, 2020 4:41 pm
Forum: Introductions
Topic: Hello everyone! Happy Trading!
Replies: 1
Views: 787
 
Jump to post

Hello everyone! Happy Trading!

:cool: :cool:

Go to advanced search