print_series(s, skip_na, position, show_index, from_index, to_index)
Print series values
s : Series (string)
skip_na : Flag to skip na values (optional bool, dft = false)
position : Position to print the Table (optional string, dft = position.bottom_center)
show_index : Flag to show...
Bold String in Discord Function
Italicize String in Discord Function
Strikethrough a String in Discord Function
Underline a String in Discord Function
When you send the text, it will be shown as a black block, and only by...
Library "Tosch Market Sessions"
Returns if the NYSE, London SE, Tokyo SE are open
@function Returns if the NYSE (US), London SE (GB), Tokyo SE (JP) are open
bus, bgb, bjp - bool: true if the corresponding exchange is open
count - int: count of how many exchanges are open at the moment
ccolor - color: color that...
TODO: add library description here
TODO: add function description here
x : TODO: add parameter x description here
Returns: TODO: add what function returns
A library containing helper functions.
Fill a string array with given size and value.
int : size Total size of array.
string : value The value used for filling. (`NaN` is used if no argument is supplied).
Returns: A string array filled with given value.
Library "Color Library!"
To help with large projects that need colors!
If you guys make the library bigger, share it so we can all have tons of colors!
Uppercase and Lowercase, because why not?
import library as color
1.) color.this("Brown") // or color.this("brown") both work
2.) color.rainbow(1) //Returns first index of Rainbow
This library is a Pine programmer’s tool containing functions that return values calculated from the range of visible bars on the chart.
This is now possible in Pine Script™ thanks to the recently-released chart.left_visible_bar_time and chart.right_visible_bar_time built-ins, which return the opening time of the leftmost and rightmost bars...
This script will give you red/green columns to indicate if price is above or below a certain EMA. With Candlestick charting, we are looking for price in relation to the 8 ema Trigger Line (T-Line). You can adjust this indicator to fit your need. Simple, but nice to quickly see.
Oops. Last line's title should be "Sell". Doesn't affect display though.
TODO: With this library, you can add tables to your strategies.
Returns: Strategy Profit Table
Adds a table to the graph of the strategy for which you are calling the function. You can see data such as net profit in this table.
No parameters. Just call the function inside the strategy.
Example Code :
TODO: Track up to 6 TakeProfits and 1 StopLoss achievement for one or many of your buy/sell conditions.
manageTrade(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
Track TakeProfits and StopLoss achievement for one or many of your buy/sell...
A drawing library that contains the hray() function, which draws a horizontal ray/s with an initial point determined by a specified condition. It plots a ray until it reached the price. The function let you control the visibility of historical levels and setup the alerts.
█ HORIZONTAL RAY FUNCTION
hray(condition, level, color,...
pta_plot: This library will help you to plot different value. I will keep updating with your requirement
Display array element as a table.
array_id : Id of your array.
border_color : Color for border (`color.black` is used if no argument is supplied).
Returns: Display array...
So i had this idea while ago when @alexgrover published a script and dropped a nugget in between which replicates the result of strategy tester on chart as an indicator.
So it seemed fair to use one of his strategy to display the results.
This strategy tester can now be used in replay mode like an indicator and you can see what happen at a particular section...
Show Array or Matrix Elements In Table
For Arrays: Set the number of rows you want the data displayed in and it will generate a table, calculating the columns based on the size of the array being displayed.
For Matrix: It will automatically match the Rows and Columns to the values in the matrix.
Note: On the left, the table shows the...
// Thanks For Code by Cayoshi this code back up for my strategy, make sure when use libary direct the code in my libary
//****** HOW TO ********//
// COPY THIS CODE AND PASTE TO YOUR STRATEGY
// >> เรียกใช้ library ( import lib) <<<
import X4815162342/X48_LibaryStrategyStatus/1 as fuLi
this library is used to show an indicator (such RSI, CCI, MOM etc) on the main chart with indicator's horizontal lines in a window. Location of the window is calculated dynamically by last price movemements
drawIndicator(indicatorName, indicator, indicatorcolor, period, indimax_, indimin_, levels, precision, xlocation) draws...