LeoParticipant
Veteran
Really odd. As I said, it can be similar when the predictions is very good. But exactly the same. I do not know why. Please attached your file with your update. Today night or tomorrow morning I will have a look at it.
Please try loading more bars in the chart or try another time frame or try another instrument. Are my network and your network having the same output?
LeoParticipant
Veteran
Hi Stefu102,
I check your neural network and it look everything normal.
I loaded 15min time frame dax, 20000 bars
This are the variables I corrected according to previous posts
Trend001= (Average[50](close) + (2.5 * STD[50](close)) -close) / close
Trend002= (close - Average[50](close) - (2.5 * STD[50](close)) ) /close
Trend003= ( close- (highest[9](close)+lowest[9](close))/2 ) / close
Trend004= (close - (highest[26](close)+lowest[26](close))/2 ) / close
See also the photo I attached.
You said that you where testing with 25 ticks bars… To be honest I have never worked with ticks bars and I do not know the behaviour of the code in those graphs.
Cheers
Hello Leo,
ok I see now that I didn’t pay attention to the value of the different lines of the visual indicator, only to the red and green bar giving the signal. What remains weird to me is that the green and red bar are the same, even if the input is different. I should have expected more variation in order to gain confidence in the neural network as a whole
LeoParticipant
Veteran
Well… For me look normal. The Neural Network learns and make the prediction. My indicators and your indicators provide signals and the adgoritm has found a correlation.
Both Neural networks predict that it will continues the upward trend… And if you see the chart it look pretty upward trend.
Look awesome for me.
Sorry to keep asking for your explanation, and thx for your reply. As you can see in the image attached, the value of the lines “prediction short/long” are pretty different from one network to another, but as said the red/green signal of the classifier are always the same, for the whole historical dataset, be it 10,000 or 100,000. So I remain skeptic about the classifier…In the image attached, I have the lines prediction long and short that have a value of 0, but still have the classifier trigger to 1…
COuld you also explain what is your parameter “betha”?
LeoParticipant
Veteran
Now I understand your issue, the thing is:
The classifier is totally independent of the network
As long as the classifier has the same parameters their output is the same.
The classifier provides the data for the neural network to learn.
The bar appears when the classifier detect a fast movement of 50 pips.
About your other question: what is the betha?
Search in the Web “gradient descent with momentum”. It is a method for increase the learning process speed. Betha is like a correction when the convergence direction changes and accelerate when the direction is the correct one. There are other methods but I find very complex to code in ProRealTime.
By the way. About your variables. Multiply them for 100 then you have a bigger number for avoid things related to presicion.
Hope I clarify your questions. Keep in mind that I am newbie in this Artifitial Intelligent topic.
Ok now that I have multiply the variables by 100, I have different values for the classifier as well!
I’m wondering what kind of variable can we play with. Do you think bolean value would work? like simply if the previous bar was positive or negative
I mean for the bolean, we need to create a separate indicator and call it in the neural network, right?
Sorry please disregard my comment about the classifier. I misunderstood because I thought that the red/green histogram bars were buy/sell signals, while they are only the result of the classifier having spotted a past winning move on which the neural network can learn.
LeoParticipant
Veteran
HI,
I play with the following variables…
First add a new parameter for choosing or simply copy paste one set
IF SetParameters=1 THEN
// STOCHASTIC
PseudoStochastic1= (close-lowest[2](low[0])) / (highest[2](high[0])-lowest[2](low[0]))
PseudoStochastic2= (close-lowest[3](low[0])) / (highest[3](high[0])-lowest[3](low[0]))
PseudoStochastic3= (close-lowest[5](low[0])) / (highest[5](high[0])-lowest[4](low[0]))
PseudoStochastic4= (close-lowest[8](low[0])) / (highest[8](high[0])-lowest[8](low[0]))
variable1= PseudoStochastic1
variable2= PseudoStochastic2
variable3= PseudoStochastic3
variable4= PseudoStochastic4
ELSIF SetParameters=2 THEN
//MOVING AVERAGES
ratio1= 100*(close-average[7](close))/average[7](close)
ratio2= 100*(close-average[13](close))/average[13](close)
ratio3= 100*(close-average[34](close))/average[34](close)
ratio4= 100*(close-average[77](close))/average[77](close)
variable1= ratio1
variable2= ratio2
variable3= ratio3
variable4= ratio4
ELSIF SetParameters=3 THEN
//STANDARD INDICATORS
indicator1=RSI[2](close)
indicator2=RSI[14](close)
indicator3=MACD[12,26,9](close)
indicator4=ADX[14]
variable1= indicator1
variable2= indicator2
variable3= indicator3
variable4= indicator4
else
//BOLLINGER BANDS
SMA001=average[20](close)
STD001=STD[20](close)
SMA002=average[200](close)
STD002=STD[200](close)
ANGLESMA001= ATAN( (SMA001-SMA001[1]) /pipsize ) * 180 / 3.1416
ANGLESMA002= ATAN( (SMA002-SMA002[1]) /pipsize ) * 180 / 3.1416
variable1=(close-SMA001)/STD001
variable2=(close-SMA002)/STD002
variable3=ANGLESMA001
variable4=ANGLESMA002
ENDIF
HOPE YOU LIKE THEM 🙂
Siento el Idioma pero para poder entendernos mejor os lo paso en Español..
Llevo trabajando uno tiempo en un Indicador red Neuronal, basado en un indicador de Timing que tengo… lo he combinado con vuestras aportaciones y creo que da unos resultados a tener en cuenta.
Lo probare y tendré en pruebas para ver como actúa.. si obtenemos datos interesantes combinamos los codigos y lo publicamos..
English only in the English speaking forums please.
If you want to communicate in Spanish on a topic then create a post in the Spanish forums with a link to the English topic.
Inglés solo en los foros de habla inglesa por favor.
Si desea comunicarse en español sobre un tema, cree una publicación en los foros en español con un enlace al tema en inglés.
LeoParticipant
Veteran
Hi TAC bolsa…
Sounds great… if think the lenguage is an issue then open a new Forum and we discuss it there. Spanish is my mother tongue
Language is not a problem.
If I get good results, I mention it in the Spanish forum.
LeoParticipant
Veteran
Can you please copy the link to the Forum, thanks.