Neural networks programming with prorealtime
Forums › ProRealTime English forum › ProBuilder support › Neural networks programming with prorealtime
- This topic has 126 replies, 8 voices, and was last updated 1 year ago by MobiusGrey.
Tagged: data mining, machine learning
-
-
12/12/2018 at 8:46 AM #86915
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?
12/12/2018 at 10:06 PM #86973Hi 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
1234Trend001= (Average[50](close) + (2.5 * STD[50](close)) -close) / closeTrend002= (close - Average[50](close) - (2.5 * STD[50](close)) ) /closeTrend003= ( close- (highest[9](close)+lowest[9](close))/2 ) / closeTrend004= (close - (highest[26](close)+lowest[26](close))/2 ) / closeSee 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
12/12/2018 at 10:31 PM #86975Hello 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
12/12/2018 at 10:40 PM #86976Well… 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.
12/12/2018 at 11:10 PM #86977Sorry 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”?
12/13/2018 at 6:03 AM #86984Now 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.
12/13/2018 at 7:29 PM #87054Ok 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
12/13/2018 at 7:37 PM #8705512/13/2018 at 8:21 PM #87058Sorry 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.
12/14/2018 at 5:53 AM #87070HI,
I play with the following variables…
First add a new parameter for choosing or simply copy paste one set
12345678910111213141516171819202122232425262728293031323334353637383940414243444546IF SetParameters=1 THEN// STOCHASTICPseudoStochastic1= (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= PseudoStochastic1variable2= PseudoStochastic2variable3= PseudoStochastic3variable4= PseudoStochastic4ELSIF SetParameters=2 THEN//MOVING AVERAGESratio1= 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= ratio1variable2= ratio2variable3= ratio3variable4= ratio4ELSIF SetParameters=3 THEN//STANDARD INDICATORSindicator1=RSI[2](close)indicator2=RSI[14](close)indicator3=MACD[12,26,9](close)indicator4=ADX[14]variable1= indicator1variable2= indicator2variable3= indicator3variable4= indicator4else//BOLLINGER BANDSSMA001=average[20](close)STD001=STD[20](close)SMA002=average[200](close)STD002=STD[200](close)ANGLESMA001= ATAN( (SMA001-SMA001[1]) /pipsize ) * 180 / 3.1416ANGLESMA002= ATAN( (SMA002-SMA002[1]) /pipsize ) * 180 / 3.1416variable1=(close-SMA001)/STD001variable2=(close-SMA002)/STD002variable3=ANGLESMA001variable4=ANGLESMA002ENDIFHOPE YOU LIKE THEM 🙂
1 user thanked author for this post.
12/14/2018 at 4:26 PM #87112Siento 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..
12/14/2018 at 4:38 PM #87114English 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.
12/14/2018 at 5:06 PM #8711912/14/2018 at 5:32 PM #8712512/14/2018 at 5:47 PM #87129 -
AuthorPosts
Find exclusive trading pro-tools on