Samuel Olowoyo
Samuel Olowoyo
Head I.T. /Senior Programmer Samoltech Studios Limited
A telecoms engineer, programmer and website designer who loves to learn and develop himself. Personal development has  really helped me and God has always been on my side.
Samuel Olowoyo
已发布文章编写"EA 交易"时,MQL5 标准交易类库的使用
编写"EA 交易"时,MQL5 标准交易类库的使用

本文阐述的是,在编写"EA 交易"的过程中,如何使用 MQL5 标准库交易类的主要功能,实现更改仓位与平仓、挂单的下达与删除,以及交易进行之前的预付款验证。我们还会演示可以如何使用交易类来获取订单与交易详情。

· 19 9424
Samuel Olowoyo
已发布文章以MQL5 编写的EA 交易程序的测试与优化指南
以MQL5 编写的EA 交易程序的测试与优化指南

本文解释识别和解决代码错误的步进式过程以及EA交易程序输入参数的测试与优化的步骤。您将了解如何使用 MetaTrader 5 客户端的策略测试程序为您的 EA 交易程序寻找最佳交易品种和一组输入参数。

· 12 10467
Samuel Olowoyo
已发布代码简单 EA, 基于简单均线和 ADX
这个简单 EA, 使用简单均线和 ADX 指标。
· 10 3877 12102
DoctorTanzanite
DoctorTanzanite 2021.09.07
excellent article thanks
AbbesAzzi
AbbesAzzi 2024.04.18
excellent, You a great pedagogue, I will continue with all your articles
Samuel Olowoyo
已发布文章利用 MQL5 面向对象编程法编写"EA 交易"
利用 MQL5 面向对象编程法编写"EA 交易"

本文将着重讲述的是面向对象法,将我们曾在"针对初学者以 MQL5 编写"EA 交易"的分步指南"文中谈到的内容落到实处-创建简单的"EA 交易"。 很多人都觉得难,但是,我向您保证,看完本文之后,您就能够编写自己的面向对象 "EA 交易"了。

· 18 7050
Chang Suk Chung
Chang Suk Chung 2016.07.05
Thanks.
Your are a real professional.
I am learning everything of MQL language from your great article.
God bless you!!
Samuel Olowoyo
已发布文章针对初学者以 MQL5 编写“EA 交易”的分步指南
针对初学者以 MQL5 编写“EA 交易”的分步指南

使用 MQL5 的“EA 交易”编程很简单,您可以轻松学会。我们在本分步指南中向您指出了基于开发的交易策略编写简单的“EA 交易”所需的基本步骤。“EA 交易”的结构、内置技术指标和交易函数的使用、调试模式的详细内容以及策略测试程序的使用将在本文中一一论及。

· 26 75538
Profeta del
Profeta del 2018.05.18
Dear God bless you hear brother a question because in the EA I get this error return value of 'OrderSend' should be checked the error code is this

mrequest.action = TRADE_ACTION_DEAL; // immediate order execution
mrequest.price = NormalizeDouble(latest_price.ask,_Digits); // latest ask price
mrequest.sl = NormalizeDouble(latest_price.ask - STP*_Point,_Digits); // Stop Loss
mrequest.tp = NormalizeDouble(latest_price.ask + TKP*_Point,_Digits); // Take Profit
mrequest.symbol = _Symbol; // currency pair
mrequest.volume = Lot; // number of lots to trade
mrequest.magic = EA_Magic; // Order Magic Number
mrequest.type = ORDER_TYPE_BUY; // Buy Order
mrequest.type_filling = ORDER_FILLING_FOK; // Order execution type
mrequest.deviation=100; // Deviation from current price
//--- send order
OrderSend(mrequest,mresult);
// get the result code
if(mresult.retcode==10009 || mresult.retcode==10008) //Request is completed or order placed
{
Alert(" una orden de compra se ha colocado exitosamente en el ticket#:",mresult.order,"!!");

}

i hope you answer please! my mail is bmy2982@gmail.com
Gihon
Gihon 2018.12.06
Hello Samuel,

as I promised I write a few words... So thank you for the awesome articles once more!

I was wondering what has happened to this gentleman so I tried to reach out.
I was very glad when I received an answer and I got to know he is doing well and his current business (http://www.business-sms.com.ng) occupies most of his time thus he is not getting any chance to trade.
Hopefully one day he will be back and will bless again the mql5 community with some useful articles.
God bless you Samuel!
VIP138744
VIP138744 2023.08.12
Dear Samuel, your article is so great for me, thank you !
Samuel Olowoyo
已在MQL5.community注册