Hello Reader, This is Observer from Vietnam. PURPOSE I'd like to share my script for Round Math, it's for only education purpose. I make the formula math_row(x, y) to round the value as we design and shorten the number appearance (value). It's more flexible than str.tostring(close,format.volume) or others. HOW TO USE Formula math_row(x,y) - x is the value...

17

This is a Pine Script library for handling complex numbers without arrays. It contains several utility functions for performing various operations on complex numbers, including converting complex numbers into tuples, getting the real and imaginary parts of a complex number, adding and subtracting complex numbers, computing the conjugate, multiplying and dividing...

4

If you have been studying the markets long enough you will probably have noticed a certain pattern. Whichever trade entry/exit logic you try to use, it will go through phases of working really well and phases where it doesn't work at all. This is the markets way of ensuring anyone who sticks to an oversimplified, one-dimensional strategy will not profit....

145

Example overload functions accept loading of _value for types float, int, or string, then positively identifies the actual argument type of that specific loaded _value.

41

Example function accepts loading of _value for types float, int, or string, then identifies whether the loaded _value is a string number, string, or number.

27

Number frame for any number input between 0 - 10, to 5 decimal places (you can change these limits in the code). Default value pi = 3.14159

17

This is combo strategies for get a cumulative signal. First strategy This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow...

546

This is combo strategies for get a cumulative signal. First strategy This System was created from the Book "How I Tripled My Money In The Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies. The strategy buys at market, if close price is higher than the previous close during 2 days and the meaning of 9-days Stochastic Slow...

201

Alerts version of rule number 1 signals, a long-only strategy for long term investors to help them enter positions more optimally

70

Sometimes the market data follows normal distribution, in these cases it is more appropriate to utilize mean-based statistical techniques. This script plots the special case of seven-number summary with 1st, 2nd & 3rd standard deviations below and above the mean. It also has "Log-space" switch which should be checked while using logarithmic scale. The next...

41

Statistical methods based on mean cannot be effective all the time when attributed to financial data since it doesn't usually follow normal distribution, the data can be skewed or/and have extreme values which can be described as outliers. In order to deal with this problem it is appropriate to use median-based techniques. The most common one is called...

101

These are my "Pseudo-Random Number Generators via Pine Script", having uniform distribution between 0 and 1. In my quest for sequential pseudo-random numbers in Pine, tinkering with mathematical chaos, I have come up with these three simple yet handy generators. I believe these may be useful in the future by developers of the Tradingview community. NOTICE: Use...

128

Function - Number of digits before and after the decimal point Detect the number of digits in integers and floats, before the decimal and after it. It also works for negative numbers. There are some rounding issues, but the currently maximum supported number can have safely up to 3 digits after the decimal point.

132

This script takes the Rule #1 3 tools and plots them on the graph, to provide an additional level of indication for when to sell and when to buy.

129

Hey all, Just thought some might find it useful to have a script of the first 7 numbers that are both fibonacci and that are prime numbers as simple moving averages and as exponential averages. If anyone wants any other average type added to this script I can put out another version Happy trading, Snoop

103