OPEN-SOURCE SCRIPT

ANN Next Coming Candlestick Forecast SPX 1D v1.0

Updated
WARNING:

Experimental and incomplete.

Script is open to development and will be developed.

This is just version 1.0

STRUCTURE

This script is trained according to the open, close, high and low values ​​of the bars.

It is tried to predict the future values ​​of opening, closing, high and low values.

A few simple codes were used to correlate expectation with current values. (You can see between line 129 - 159 )

Therefore, they are all individually trained.
You can see in functions.

The average training error of each variable is less than 0.011.

NOTE :

This script is designed for experimental use on S & P 500 and connected instruments only on 1-day bars.

The Plotcandle function is inspired by the following script of alexgrover :

Function To Candles - Another way to see indicators



Since we estimate the next values, our error rates should be much lower for all candlestick values. This is just first version to show logic.


I will continue to look for other variables to reach average error = 0.001 - 0.005 for each candlestick status.

Feel free to use and improve , this is open-source.

Best regards.
Release Notes
Codes simplified and text dates corrected.
AIannCandlestick AnalysiscloseforecastfuturehighLOWopen

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer