Description: kNN is a very robust and simple method for data classification and prediction. It is very effective if the training data is large. However, it is distinguished by difficulty at determining its main parameter, K (a number of nearest neighbors), beforehand. The computation cost is also quite high because we need to compute distance of each instance to...

348

kNN-based Strategy (FX and Crypto) Description: This strategy uses a classic machine learning algorithm - k Nearest Neighbours (kNN) - to let you find a prediction for the next (tomorrow's, next month's, etc.) market move. Being an unsupervised machine learning algorithm, kNN is one of the most simple learning algorithms. To do a prediction of the next market...

3647

Hello Traders/Programmers, For long time I thought that if it's possible to make a script that has own memory and criterias in Pine. it would learn and find patterns as images according to given criterias. after we have arrays of strings, lines, labels I tried and made this experimental script. The script works only for Long positions. Now lets look at how it...

2832

This is an experimental strategy that uses a Volume-weighted MA (VWMA) crossing together with Machine Learning kNN filter that uses ADX and MFI to predict, whether the signal is useful. k-nearest neighbours (kNN) is one of the simplest Machine Learning classification algorithms: it puts input parameters in a multidimensional space, and then when a new set of...

384

Multi-timeframe Strategy based on Logistic Regression algorithm Description: This strategy uses a classic machine learning algorithm that came from statistics - Logistic Regression (LR). The first and most important thing about logistic regression is that it is not a 'Regression' but a 'Classification' algorithm. The name itself is somewhat misleading....

3271

This is a re-implementation of @veryfid's wonderful Tesla Coil indicator to leverage basic Machine Learning Algorithms to help classify coil crossovers. The original Tesla Coil indicator requires extensive training and practice for the user to develop adequate intuition to interpret coil crossovers. The goal for this version is to help the user understand the...

180

CAUTION : Not suitable for strategy, open to development. If can we separate the stagnant market from other markets, can we be so much more accurate? This project was written to research it. It is just the tiny part of the begining. And this is a very necessary but very small side function in the main function. Lets start : Hi users, I had this idea in my mind...

285

This script is the my Dependent Variable Odd Generator script : with the Put / Call Ratio ( PCR ) appended, only for CBOE and the instruments connected to it. For CBOE this script is more accurate and faster than Dependent Variable Odd Generator. And the stagnant market odds are better and more realistic. Do not use for timeframe periods less than 1 day. Because...

650

Library "MLActivationFunctions" Activation functions for Neural networks. binary_step(value) Basic threshold output classifier to activate/deactivate neuron. Parameters: value : float, value to process. Returns: float linear(value) Input is the same as output. Parameters: value : float, value to process. Returns: float sigmoid(value) ...

24

Library "MLLossFunctions" Methods for Loss functions. mse(expects, predicts) Mean Squared Error (MSE) " MSE = 1/N * sum ((y - y')^2) ". Parameters: expects : float array, expected values. predicts : float array, prediction values. Returns: float binary_cross_entropy(expects, predicts) Binary Cross-Entropy Loss (log). Parameters: ...

24

kNN-based Strategy (FX and Crypto) Description: This update to the popular kNN-based strategy features: improvements in the business logic, an adjustible k value for the kNN model, one more feature (MOM), a streamlined signal filter and some other minor fixes. Now this script works in all timeframes ! I intentionally decided to...

1083

Perceptron-based strategy Description: The Learning Perceptron is the simplest possible artificial neural network (ANN), consisting of just a single neuron and capable of learning a certain class of binary classification problems. The idea behind ANNs is that by selecting good values for the weight parameters (and the bias), the ANN can model the relationships...

741

Introduction Esqvair's Neural Reversal Probability Indicator is the indicator that shows probability of reversal. Warning: This script should only be used on 1 minute chart. How to use When a signal appears (by default it is a green bar), a reversal should be expected. The signal appears when the indicator value >= Threshold. If you want more signals, you must...

113

This daily trend indicator is based on financial astrology cycles detected with advanced machine learning techniques for the crypto-currencies research portfolio: ADA, BAT, BNB, BTC, DASH, EOS, ETC, ETH, LINK, LTC, XLM, XMR, XRP, ZEC and ZRX. The daily price trend is forecasted through this planets cycles (angular aspects, speed, declination), fast ones are based...

276

This is a multi-timeframe version of the kNN-based strategy.

559

Core Concepts According to Jeff Greenblatt in his book "Breakthrough Strategies for Predicting Any Market", Fibonacci and Lucas sequences are observed repeated in the bar counts from local pivot highs/lows. They occur from high to high, low to high, high to low, or low to high. Essentially, this phenomenon is observed repeatedly from any pivot points on any time...

87

LVQ-based Strategy (FX and Crypto) Description: Learning Vector Quantization (LVQ) can be understood as a special case of an artificial neural network, more precisely, it applies a winner-take-all learning-based approach. It is based on prototype supervised learning classification task and trains its weights through a competitive learning...

575

NOTE : Deep learning was conducted in a narrow sample set for testing purposes. So this script is Experimental . This system is based on the following article and is inspired by an external program: hackernoon.com None of the artificial neural networks in Tradingview work and are not based on completely correct logic. Unlike others in this system: IMPORTANT...

431