Mohammad Sh
Mohammad Sh
Mohammad Sh
Added topic Questions on "ONNX.Price.Prediction" Shared Project
The MQL5 documentation -> ONNX section -> " Creating Model " article offers the "ONNX.Price.Prediction" shared project for an example on how to use Machine Learning in MetaTrader5. I tried running the project, but faced some problems: - I
Mohammad Sh
Added topic High-Performance Coding Tips
I've been wondering what tips do you follow so that your Expert Advisors use are more stable, use less pc resources, not freeze, etc
Mohammad Sh
Added topic What are the MetaQuotes Time Specifications
I'm running a script on EURUSD with the default broker which is MetaQuotes. TimeCurrent() gives me the current broker time. Right now, its offset seems to be GMT+2. I want to export chart history to csv. iTime() function gives me the datetime of
Mohammad Sh
Added topic Is it possible to rename a file in MQL5?
I searched through File* functions in the docs, but didn't find anything
Mohammad Sh
Published code Save OHLCV Data from Chart to CSV File
This script saves all the OHLCV data available on the chart to a CSV file.
Mohammad Sh
Added topic The expert enters long on unexpected price
I have made a simple expert advisor with these specifications: It is based on double simple moving average cross, fast=9, slow=21. It should only enter positions on open price of new bars. To achieve this, the modeling type is "Open prices only". It
Mohammad Sh
Added topic How to evaluate my EAs?
I have been learning MQL5 , and I have written some simple EAs. However, I have have the problem of evaluating my EAs. How to know if my EA is better than the average? When an EA is ready for demo forward-testing
Mohammad Sh
Added topic Is it advisable to use the libraries in Expert path in mql5?
I was looking at the ExpertMAMA.mq5 file that is in Experts\Advisors, it includes these libraries: #include <Expert\Expert.mqh> #include <Expert\Signal\SignalMA.mqh> #include <Expert\Trailing\TrailingMA.mqh> #include
Mohammad Sh
Added topic How to Get Histogram from MACD and Signal lines?
I successfully used the code below to get the last n values of MACD and Signal lines : CopyBuffer (handleMACD, 0 , n , inputBufferNumber, bufferMACD); CopyBuffer (handleMACD, 1 , n , inputBufferNumber, bufferSignal); However, I also need the
Mohammad Sh
Added topic Why am I failing to open short positions in mql5?
I have used this line of code to open a long positions, and it works well: trade.PositionOpen( _Symbol , ORDER_TYPE_BUY , 1.0 , SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), 0 , 0 , NULL ); However, when I try the same thing with the short positions, no
Mohammad Sh
Registered at MQL5.community