Discussion of article "Programming a Deep Neural Network from Scratch using MQL Language" - page 3

 

Thank you for this...

Is it possible to add another output to give lotsize (I guess the delta of y[0] or y[1] over .6 could be used as a multiplier of the input lotsize - would that be appropriate?)

Also, having made the changes suggested by Paranchai, it is only opening shorts... I will do some more investigation

 
Andrew Thompson #:

Thank you for this...

Is it possible to add another output to give lotsize (I guess the delta of y[0] or y[1] over .6 could be used as a multiplier of the input lotsize - would that be appropriate?)

Also, having made the changes suggested by Paranchai, it is only opening shorts... I will do some more investigation

It is opening long and short now :) - 'patience, padawan.

 

I modified the "bodyPer" input. Instead of loading simply the relative length of the body, I compute this value : bodyPer=0.5+((close-open)/p100)/2;

So that more than the relative length, the variable also captures the direction of the candle. It frees up a slot for a 4th variable, I guess.

Reason: