I'm interested in predicting whether the close of a bar will be higher or lower than the open of the current bar or close of the previous bar. The prediction doesn't have to be the exact close, but only only if it's higher or lower than the bar's open. I've looked all over the internet and this forum and some claim 100% accuracy, but fail to provide the code.
Richard
High/Lo prediction of bar close
-
- Posts: 60
- Joined: 28 Dec 2007
- Has thanked: 9 times
- Been thanked: 1 time
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: High/Lo prediction of bar close
Go draw a flow chart or diagram(s) -- that's the first step in programming an indicator.I'm interested in predicting whether the close of a bar will be higher or lower than the open of the current bar or close of the previous bar. The prediction doesn't have to be the exact close, but only only if it's higher or lower than the bar's open. I've looked all over the internet and this forum and some claim 100% accuracy, but fail to provide the code.
Richard
How many scenario are there?
What is the decision tree in each situation?
What are the expectations?
How does the outcome look like?
-
- Posts: 60
- Joined: 28 Dec 2007
- Has thanked: 9 times
- Been thanked: 1 time
Re: High/Lo prediction of bar close
OK TJ.
I'll try to simplify the objective. Let's use real time Open data with range bars. Predicting the following Open with respect to current open. Precision is semi important. By that, I wish to predict if the predicted open is either lower or higher than current open.
I've thought of simple neural nets and iterative loops weighting variables and controlled by decreasing error generated.
Any and all other suggestions welcome.
Thanks,
Richard
I'll try to simplify the objective. Let's use real time Open data with range bars. Predicting the following Open with respect to current open. Precision is semi important. By that, I wish to predict if the predicted open is either lower or higher than current open.
I've thought of simple neural nets and iterative loops weighting variables and controlled by decreasing error generated.
Any and all other suggestions welcome.
Thanks,
Richard
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: High/Lo prediction of bar close
Well, how many open scenarios are there?OK TJ.
I'll try to simplify the objective. Let's use real time Open data with range bars. Predicting the following Open with respect to current open. Precision is semi important. By that, I wish to predict if the predicted open is either lower or higher than current open.
I've thought of simple neural nets and iterative loops weighting variables and controlled by decreasing error generated.
Any and all other suggestions welcome.
Thanks,
Richard
-
- Posts: 60
- Joined: 28 Dec 2007
- Has thanked: 9 times
- Been thanked: 1 time
Re: High/Lo prediction of bar close
I'm not sure what you mean by open scenarios. Can you be more precise?
I use "open" as open price of the bar. One?
I use "open" as open price of the bar. One?
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: High/Lo prediction of bar close
Where can the bar open? How many permutations are there?I'm not sure what you mean by open scenarios. Can you be more precise?
I use "open" as open price of the bar. One?
Before you can create an indicator, you have to map all the possible outcomes.
Have you done this step?
-
- Posts: 60
- Joined: 28 Dec 2007
- Has thanked: 9 times
- Been thanked: 1 time
Re: High/Lo prediction of bar close
There are three possibilities for the predicted Open of the next bar. Since we are dealing with range bars there are two possibilities above or below the high or low of the range bar. The third is that the predicted bar will equal the current bar. Again I am only interested in whether the predicted open of the next bar is above or below the present open. Precision is only secondary.
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: High/Lo prediction of bar close
Can you draw the diagrams of the opening scenarios?There are three possibilities for the predicted Open of the next bar. Since we are dealing with range bars there are two possibilities above or below the high or low of the range bar. The third is that the predicted bar will equal the current bar. Again I am only interested in whether the predicted open of the next bar is above or below the present open. Precision is only secondary.
-
- Posts: 60
- Joined: 28 Dec 2007
- Has thanked: 9 times
- Been thanked: 1 time
Re: High/Lo prediction of bar close
Maybe my written description wasn't clear enough.
See attached diagram.
It's really not that complex. Predict next bar Open either Up Or Down as compared to current bar Open.
BTW, any data or data source may be used in the computation.
So now that the request is properly presented in detail let's move forward to a solution.
Richard
See attached diagram.
It's really not that complex. Predict next bar Open either Up Or Down as compared to current bar Open.
BTW, any data or data source may be used in the computation.
So now that the request is properly presented in detail let's move forward to a solution.
Richard
- Attachments
-
- 001.jpg
- (708.5 KiB) Downloaded 488 times