I have trained keras model which is i want to use in EA, how can i add the keras model to MQL5??
from tensorflow.keras.models import Sequential,load_model
model = load_model('MyModel.h5')
Predict = model.predict(Data,verbose=2)
In python i use like this, is there a way to use this in MQL5 ?
Use the python intergration with Mt5 (documented). Unless you mean creating a keras library for MQL.
I have the same basic question. Specifically, how can I send the predict result from python to the ea?
If I understand python integration correctly, it is only useful for sending info from mt5 to python. I don't plan to rewrite my existing EAs & indicators in python. I just want a result from my tensorflow keras model.predict to be sent to MT5. I've programmed named pipes solutions to send data back and forth between mql5 and C# DLLs in the past. Can python create DLLs? Is that the only way to send data from python to mql5 code?
Please enable the necessary setting in your browser, otherwise you will not be able to log in.