How to make a dll from TensorFlow or Keras? - page 2

 
Javier Santiago Gaston De Iriarte Cabrera #:

yep.... more exactly the close or high or low.... thats whats already done... but I hope it will get better results using  deep learning .... 


NormalizeDouble (in mql5)


from keras.layers import BatchNormalization (but this is for images)

to normalize price data:

def sigmoid(x): return 1 (1 + math.exp(-x))

( Deep Reinforcement Learning for Trading with TensorFlow 2.0 (mlq.ai) )

What I'm now traying, is to make an executable from a .py (autopytoexe) and from there with visual a dll. Lets see if this works... If I can use all ta features as inputs for dl it might give better results (at least I need to check it).

You are getting a sigmoid on the outputs , how did you convert it back to price ? 

 

f***it!

I didn't know ta-lib had library for C ... this should work.

 
Lorentzos Roussos #:

You are getting a sigmoid on the outputs , how did you convert it back to price ? 

don't know yet ... have not reached that point ... but, you can make a new column with the sigmoid outputs, so you can have both, the price and the normalized value.