create account

Learning MQL5 - Building a trade robot from scratch #1 by phgnomo

View this thread on: hive.blogpeakd.comecency.com
· @phgnomo ·
$6.30
Learning MQL5 - Building a trade robot from scratch #1
![image.png](https://files.steempeak.com/file/steempeak/phgnomo/eUoqAlRj-image.png)

A few days ago i wrote about [how to create a trading strategy in a structured way](https://steempeak.com/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process).

My main idea of writing that article was to start creating a trading bot for Metatrader 5.

I have created some bots for Metatrader 4 [on the past](https://steempeak.com/trade/@phgnomo/the-first-program-we-never-forget), but this year i started using MT5, so it's now time to learn to create my own bots on this platform.

# What is MQL5

Quoting from the [official site](www.mql5.com):

> MetaQuotes Language 5 (MQL5) is a high-level language designed for developing technical indicators, trading robots and utility applications, which automate financial trading. MQL5 has been developed by MetaQuotes Software Corp. for their trading platform. The language syntax is very close to C++ enabling programmers to develop applications in the object-oriented programming (OOP) style.

While it's similar to MQL4, the big change is that now it is a object-oriented programming, wich make things a bit more challenging for me, since i have a very limited coding knowledge (Went to some basic coding class while on college).

So, i will start to learn how to do it trying to implement [the strategy i created](https://steempeak.com/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process)

The good part is that there is a lot of [articles](https://www.mql5.com/en/articles) about the language, so i think i will be able to code my robot.

# First things First: How to start to code

When you install Metatrader 5 terminal, it already comes with the MetaEditor, wich is the interface to code your program.

![Captura de tela 20200306 22.42.43.png](https://files.steempeak.com/file/steempeak/phgnomo/hp1G4XVv-Captura20de20tela202020-03-062022.42.43.png)

Personally, i always liked this interface, because on the left you have quick access to all the programs, and below you have a list of the articles related to MQL5 coding

There is 3 kinds of program you can code:

- Expert Advisors - Trading bots, that execute orders according to the algorithim.
- Indicators - Graphic representation of any data you want
- Scripts - A program that execute a set of operations only one time per execution

Once you click 'New' you are greeted with the MQL5 Wizard, where you can choose wich kind of program you want to create.

![Captura de tela 20200306 23.03.43.png](https://files.steempeak.com/file/steempeak/phgnomo/3INoRdXb-Captura20de20tela202020-03-062023.03.43.png)

Since i am building a trading  robot, i am only interested in two options at the moment

1 - Expert Advisor (template)
Create a template of an Expert Advisor allowing to fully automate analytical and trading activity for effective trading on financial markets.

2 - Expert Advisor (generate)
Generate ready-made Expert Advisor based on the standard library by selecting trading signals, money management and trailing stop algorithms for it.

While number 2 seems interesting, because it says it will create a EA ready to go, none of the indicators i am going to use (HMA and Ichimoku clouds) is aviable, and it seems you can't use custom indicators, i will go with No 1, to start from scratch.

# Defining Parameters

After defining what kind of program will be created (Expert Advisor), on the next window, you are asked to register some basic information, EA name, and Author.

![Captura de tela 20200313 17.56.14.png](https://files.steempeak.com/file/steempeak/phgnomo/KVVqCLxN-Captura20de20tela202020-03-132017.56.14.png)

The most important part of this step is to the define the **Parameters**. They are the inputs that will be used by the EA, and defining the parameters on this step will help on the first template configuration.

Notice that these are variables that will be used on the robot that can be edited whe you attach the EA to a graph.

# Data Types

As any program language, every variable must have a type, that defines what kind of information can be stored on that variable.

You can see [here](https://www.mql5.com/en/docs/basis/types) all the data types that the MQL5 language uses, but here is the most important ones we will be using to build this robot:


#### int 

The main data type to store integers(no fractions) values that will be used on calculations.

The size of the int type is 4 bytes (32 bits). The minimal value is -2.147.483.648, the maximal one is 2.147.483.647.

#### bool

Intended to store the logical values of true or false, numeric representation of them is 1 or 0, respectively.


#### string

The string type is used for storing text strings.

This type is where we save any text, that won't be used in calculations.

#### double

This is the float-point type, where we can store fractional numbers


#### datetime

The datetime type is intended for storing the date and time as the number of seconds elapsed since January 01, 1970

#### enum

This data type allow us to create a list. Will be useful to make it easier to setup the parameters choices.

# Defining the EA parameters

We need to determine what we want to control/change on our robot, and using the [strategy](https://steempeak.com/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process) we are building, we will set these parameters:

```language
Indicators

int FastHMA = 12	// Fast Hull Moving Average period
int SlowHMA = 120	// Slow Hull Moving Average period

Allowed trade types

enum TradeDirection	// Define wich directions the bot will be allowed to trade
{
	buy,
	sell,
	buy&sell,
}
bool AllowHedge = 1	// Define if the bot will be allowed to do hedge operations

Trade Size

double LotSize = 0.01	// Define the size of the lot

Stop Loss & Take Profit

enum SL				// Chooses what kind of StopLoss will be used
{
	fixed,
	Ichimoku,
	FastHMA
	SlowHMA
}
int FixedSL = 100	// If a fixed stop loss is used, define how many points it will be
int TP = 1000		// Set how many points the take profit will be set

```

And here is what it looks like after we ser the parameters:

![Captura de tela 20200313 23.42.15.png](https://files.steempeak.com/file/steempeak/phgnomo/rE3jBPuD-Captura20de20tela202020-03-132023.42.15.png)

# Event handlers

The MQL programming language have some predefined functions called event handlers, that are executed when some specifics actions happen on the terminal.

These functions are the main structure of the MQL programs, because it sets a "moment" when part of the program will be executed.

After defining the parameters on the MQL Wizard, the next window you recieve is this one:

![Captura de tela 20200313 23.45.28.png](https://files.steempeak.com/file/steempeak/phgnomo/78XWBY9y-Captura20de20tela202020-03-132023.45.28.png)

You can check what each of these handlers do and when they are *activated* [here](https://www.mql5.com/en/docs/basis/function/events). It's important to notice that some handlers are only used on certain types of programs (for example, **OnStart()** is only used for scripts).

For now, we won't be using any other handler than the main ones needed to run the Expert Advisor:

**OnInit()**

Execute once when the EA is attached of an graph

**OnDeinit()**

Execute once when the EA is removed

**OnTick()**

Execute everytime a tick is recieved by the terminal

# Template set

Then that's it. Finishing the wizard will create a template to build the trading robot, where you can add all the functions and calculations that you want. So, that was the easy part.

And here is the finished template:

```

//+------------------------------------------------------------------+
//|                                              HMA Trend Trade.mq5 |
//|                                          Copyright 2020, phgnomo |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2020, phgnomo"
#property link      "https://www.mql5.com"
#property version   "1.00"
//--- input parameters
input int      FastHMA=12;
input int      SlowHMA=120;
input bool     AllowHedge=true;
input double   LotSize=0.01;
input int      FixedSL=100;
input int      TP=1000;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---
   
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
   
  }
//+------------------------------------------------------------------+


```

See you on the next part, where the fun part will begin.


👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 51 others
👎  
properties (23)
authorphgnomo
permlinklearning-mql5-building-a-trade-robot-from-scratch-1
categoryhive-175254
json_metadata{"app":"steempeak/2020.03.4","format":"markdown","tags":["trading","robot","pt","steemleo","upfundme","neoxian","palnet","nobel","trade","tutorial"],"users":["phgnomo"],"links":["/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process","/trade/@phgnomo/the-first-program-we-never-forget","https://www.mql5.com","/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process","https://www.mql5.com/en/articles","https://www.mql5.com/en/docs/basis/types","/hive-175254/@phgnomo/how-to-create-a-trading-strategy-a-structured-process","https://www.mql5.com/en/docs/basis/function/events"],"image":["https://files.steempeak.com/file/steempeak/phgnomo/eUoqAlRj-image.png","https://files.steempeak.com/file/steempeak/phgnomo/hp1G4XVv-Captura20de20tela202020-03-062022.42.43.png","https://files.steempeak.com/file/steempeak/phgnomo/3INoRdXb-Captura20de20tela202020-03-062023.03.43.png","https://files.steempeak.com/file/steempeak/phgnomo/KVVqCLxN-Captura20de20tela202020-03-132017.56.14.png","https://files.steempeak.com/file/steempeak/phgnomo/rE3jBPuD-Captura20de20tela202020-03-132023.42.15.png","https://files.steempeak.com/file/steempeak/phgnomo/78XWBY9y-Captura20de20tela202020-03-132023.45.28.png"]}
created2020-03-14 12:57:39
last_update2020-03-14 12:57:39
depth0
children24
last_payout2020-03-21 12:57:39
cashout_time1969-12-31 23:59:59
total_payout_value2.898 HBD
curator_payout_value3.404 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9,238
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries
0.
accountph-fund
weight2,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,346,494
net_rshares18,226,524,685,048
author_curate_reward""
vote details (116)
@ajewa ·
This is such an intelligent job buddy, I wish you all the best.
properties (22)
authorajewa
permlinkq7ak9t
categoryhive-175254
json_metadata{"app":"steemit/0.2"}
created2020-03-16 14:59:06
last_update2020-03-16 14:59:06
depth1
children0
last_payout2020-03-23 14:59:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length63
author_reputation70,610,443,547,436
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,407,891
net_rshares0
@bobinson ·
How fast is MQL compared to Python and C++ ? Never used MQL4/5 myself and curious to hear about the performance.
properties (22)
authorbobinson
permlinkq78g0q
categoryhive-175254
json_metadata{"app":"steemit/0.2"}
created2020-03-15 11:31:39
last_update2020-03-15 11:31:39
depth1
children1
last_payout2020-03-22 11:31:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length112
author_reputation55,343,141,313,811
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,372,832
net_rshares0
@phgnomo ·
$0.03
I can't say for sure, but i guess it will probably be a bit faster than C++ beacuse it use is as it's base language, but it have a very specific use (Programs that run on the Metatrader Terminal).
👍  
properties (23)
authorphgnomo
permlinkre-bobinson-q78xnq
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 17:52:39
last_update2020-03-15 17:52:39
depth2
children0
last_payout2020-03-22 17:52:39
cashout_time1969-12-31 23:59:59
total_payout_value0.016 HBD
curator_payout_value0.016 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length196
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,381,328
net_rshares139,951,956,227
author_curate_reward""
vote details (1)
@crypto.piotr ·
@tipu curate
properties (22)
authorcrypto.piotr
permlinkq76u4n
categoryhive-175254
json_metadata{"users":["tipu"],"app":"steemit/0.2"}
created2020-03-14 14:41:15
last_update2020-03-14 14:41:15
depth1
children1
last_payout2020-03-21 14:41:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation27,396,789,428,606
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,348,291
net_rshares0
@tipu ·
<a href="https://tipu.online/curator?crypto.piotr" target="_blank">Upvoted  &#128076;</a> (Mana: 5/15 - <a href="https://steempeak.com/steem/@tipu/tipu-curate-project-update-recharging-curation-mana" target="_blank">need recharge</a>?)
properties (22)
authortipu
permlinkre-q76u4n-20200314t144134
categoryhive-175254
json_metadata""
created2020-03-14 14:41:33
last_update2020-03-14 14:41:33
depth2
children0
last_payout2020-03-21 14:41:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length235
author_reputation55,921,946,728,577
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,348,293
net_rshares0
@florianopolis ·
***But the end of all things has drawn near.*** Therefore be sober-minded and be sober unto prayers.(1 Peter 4:7)
## Question from the Bible, *What does the Bible Say About Tithing?*
Watch the Video below to know the Answer...
***(Sorry for sending this comment. We are not looking for our self profit, our intentions is to preach the words of God in any means possible.)***
https://youtu.be/49OGYhhXXKY
Comment what you understand of our Youtube Video to receive our full votes. We have 30,000 #SteemPower. It's our little way to **Thank you, our beloved friend.**  
Check our [Discord Chat](https://discord.gg/vzHFNd6) 
Join our Official Community: https://steemit.com/created/hive-182074
👍  
👎  
properties (23)
authorflorianopolis
permlinky32lxc7nr0j
categoryhive-175254
json_metadata""
created2020-03-14 13:05:54
last_update2020-03-14 13:05:54
depth1
children0
last_payout2020-03-21 13:05:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length692
author_reputation-5,988,767,749,052
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout10,000.000 HBD
percent_hbd100
post_id96,346,638
net_rshares-24,565,351,531
author_curate_reward""
vote details (2)
@followforupvotes ·
Congratulations
As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!</sup></center>
properties (22)
authorfollowforupvotes
permlinkre-phgnomo-learning-mql5-building-a-trade-robot-from-scratch-1-20200314t130339142z
categoryhive-175254
json_metadata""
created2020-03-14 13:03:42
last_update2020-03-14 13:03:42
depth1
children3
last_payout2020-03-21 13:03:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length139
author_reputation24,665,782,446,239
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,346,607
net_rshares0
@teach-me ·
Hi @phgnomo

![image.png](https://cdn.steemitimages.com/DQmafzvmJzNurfXRs7TwLxPCK2fYTrvgFeKkfDwCVHf6QRv/image.png)
**[Source](https://beta.steemit.com/hive-175254/@phgnomo/learning-mql5-building-a-trade-robot-from-scratch-1)**
What will happen if we choose order 3 and 4 of 1?
___
properties (22)
authorteach-me
permlinkq76qab
categoryhive-175254
json_metadata{"users":["phgnomo"],"image":["https://cdn.steemitimages.com/DQmafzvmJzNurfXRs7TwLxPCK2fYTrvgFeKkfDwCVHf6QRv/image.png"],"links":["https://beta.steemit.com/hive-175254/@phgnomo/learning-mql5-building-a-trade-robot-from-scratch-1"],"app":"steemit/0.2"}
created2020-03-14 13:18:15
last_update2020-03-14 13:18:15
depth2
children2
last_payout2020-03-21 13:18:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length280
author_reputation2,242,960,016,104
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,346,807
net_rshares0
@phgnomo ·
Custom Indicator - You will create a indicator that draw what you want on the graph, but don't do the trades
Script - It's a program that run only one, and don't do trades.
properties (22)
authorphgnomo
permlinkre-teach-me-q77oe5
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 01:34:57
last_update2020-03-15 01:34:57
depth3
children1
last_payout2020-03-22 01:34:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length172
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,362,449
net_rshares0
@jadams2k18 ·
I'm a programmer and it's hard for me to understand your post, it's necessary to have a level of programming to be able to assimilate what you explain. 

I imagine it's an excellent idea to program a kind of robot that does the task of trading for you. Especially when you are not near a computer. 

Especially at times like these, that situation surprisingly affected all crypto coins and made the value of the BTC go down an awful lot. 

Perhaps a robot that is constantly monitoring the events would have acted quickly, watching the trend and thus avoiding losing the money, investing or keeping the money in stable crypto such as USDT, TUSD, etc.

I wonder if these robots have the ability to have artificial intelligence or machine learning?

Thanks for sharing! :D
👍  
properties (23)
authorjadams2k18
permlinkre-phgnomo-q7cumf
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.6"}
created2020-03-17 20:35:12
last_update2020-03-17 20:35:12
depth1
children2
last_payout2020-03-24 20:35:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length770
author_reputation40,983,167,447,854
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,444,754
net_rshares15,139,962,190
author_curate_reward""
vote details (1)
@phgnomo ·
Metatrader programming language (MQL5) is based on C++ but aimed to build specific application to the trading terminal.

While learning C++ isn't a pre-requisite to learn MQL5, a basic understanding about programming logic is definetly needed.

The thing about trading robots is that they don't do any miracle, and they are as good as the trader using them.

To make a good use of one, the trader must understand how it works, and even when to turn it off.

> I wonder if these robots have the ability to have artificial intelligence or machine learning?

It's a bit advanced to me, but i have seen some articles about these kinds of robots.
properties (22)
authorphgnomo
permlinkre-jadams2k18-q7cys1
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.6"}
created2020-03-17 22:07:15
last_update2020-03-17 22:07:15
depth2
children1
last_payout2020-03-24 22:07:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length641
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,446,632
net_rshares0
@jadams2k18 ·
I will check more about MQL5 anytime soon :)
properties (22)
authorjadams2k18
permlinkq7fx8v
categoryhive-175254
json_metadata{"app":"steemit/0.2"}
created2020-03-19 12:24:36
last_update2020-03-19 12:24:36
depth3
children0
last_payout2020-03-26 12:24:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length44
author_reputation40,983,167,447,854
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,489,094
net_rshares0
@juanmolina ·
Greetings friend @phgnomo.

I hope you have made the right choice with this tool.
I wish you the best of luck in this new project that you are undertaking.

I really can not make a comment more related to the topic because I do not feel in the domain of the necessary knowledge.

Thanks for posting to Project Hope.

Your friend, Juan.
properties (22)
authorjuanmolina
permlinkq77y4e
categoryhive-175254
json_metadata{"users":["phgnomo"],"app":"steemit/0.2"}
created2020-03-15 04:31:45
last_update2020-03-15 04:31:45
depth1
children1
last_payout2020-03-22 04:31:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length335
author_reputation89,610,462,911,942
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,365,284
net_rshares0
@phgnomo ·
Metatrader is a really powerful platform for traders, and the ability to build your own robot or indicator, no matter how complex it is, it is really awesome.
properties (22)
authorphgnomo
permlinkre-juanmolina-q78xlq
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 17:51:27
last_update2020-03-15 17:51:27
depth2
children0
last_payout2020-03-22 17:51:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length158
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,381,306
net_rshares0
@ojerinde · (edited)
Creating a trade robot on your own, you must be a genius bro, nice job. Reesteemed
properties (22)
authorojerinde
permlinkq7argv
categoryhive-175254
json_metadata{"app":"steemit/0.2"}
created2020-03-16 17:34:33
last_update2020-03-16 17:35:45
depth1
children0
last_payout2020-03-23 17:34:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation56,324,725,009,551
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,411,372
net_rshares0
@project.hope ·
Quite difficult topic. Resteemed already. Hopefully it will help you get some exposure.

Upvote on the way
properties (22)
authorproject.hope
permlinkq76u3d
categoryhive-175254
json_metadata{"app":"steemit/0.2"}
created2020-03-14 14:40:30
last_update2020-03-14 14:40:30
depth1
children1
last_payout2020-03-21 14:40:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation3,880,876,099,761
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,348,272
net_rshares0
@phgnomo ·
Indeed. I started studying Metatrader programming again, so i thought, why not create a tutorial on the proccess, so i can learn better, and as colateral, maybe help other people that are looking to learn the same thing?
properties (22)
authorphgnomo
permlinkre-projecthope-q77oge
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 01:36:15
last_update2020-03-15 01:36:15
depth2
children0
last_payout2020-03-22 01:36:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length220
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,362,474
net_rshares0
@reinaldoverdu ·
Awesome job and a great idea. Your publication is very educational and I appreciate the contribution, your idea of the robot is magnificent, I am already eager to see what the result is when you have it ready. I hope it can be used as an app for Android phones.
Great work, I congratulate you and I will consider this article for my selection of the best community posts 👍 
properties (22)
authorreinaldoverdu
permlinkre-phgnomo-2020315t12321867z
categoryhive-175254
json_metadata{"tags":["trading","robot","pt","steemleo","upfundme","neoxian","palnet","nobel","trade","tutorial"],"app":"esteem/2.2.4-mobile","format":"markdown+html","community":"hive-125125"}
created2020-03-15 16:34:12
last_update2020-03-15 16:34:12
depth1
children1
last_payout2020-03-22 16:34:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length373
author_reputation55,639,839,016,485
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,379,540
net_rshares0
@phgnomo ·
Metatrader have a mobile version, but unfortunately, you can't add robots or custom indicators to it.  

The programs can only run on desktop version o Metatrader.
properties (22)
authorphgnomo
permlinkre-reinaldoverdu-q78xpb
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 17:53:36
last_update2020-03-15 17:53:36
depth2
children0
last_payout2020-03-22 17:53:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length163
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,381,351
net_rshares0
@steevebot ·
This post was upvoted by [SteeveBot](https://www.steeve.app/@steeveapp/steevebot-starts-rewarding-steeve-communitys-most-appreciated-content)!

SteeveBot regularly upvotes stories that are appreciated by the community around [Steeve](https://steeve.app/@steeveapp), an AI-powered Steem interface.
properties (22)
authorsteevebot
permlinkre-learning-mql5-building-a-trade-robot-from-scratch-1-20200317t193541
categoryhive-175254
json_metadata""
created2020-03-17 19:35:42
last_update2020-03-17 19:35:42
depth1
children0
last_payout2020-03-24 19:35:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length296
author_reputation1,016,697,284,644
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,443,438
net_rshares0
@xchng ·
Wow, very nice article! Awesome work man!
properties (22)
authorxchng
permlinkq779cb
categoryhive-175254
json_metadata{"tags":["nobel"],"app":"nobel/0.1","canonical_url":"https://www.nobel.charity/@xchng/q779cb"}
created2020-03-14 20:09:48
last_update2020-03-14 20:09:48
depth1
children2
last_payout2020-03-21 20:09:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length41
author_reputation18,294,339,934,514
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,355,637
net_rshares0
@phgnomo ·
Thanks! there is more to come.
👍  
properties (23)
authorphgnomo
permlinkre-xchng-q77ooa
categoryhive-175254
json_metadata{"tags":["hive-175254"],"app":"steempeak/2020.03.4"}
created2020-03-15 01:41:00
last_update2020-03-15 01:41:00
depth2
children1
last_payout2020-03-22 01:41:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation24,864,018,367,830
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,362,550
net_rshares19,831,592,159
author_curate_reward""
vote details (1)
@xchng ·
I am really looking forward to it! :-)
properties (22)
authorxchng
permlinkq798ux
categoryhive-175254
json_metadata{"tags":["nobel"],"app":"nobel/0.1","canonical_url":"https://www.nobel.charity/@xchng/q798ux"}
created2020-03-15 21:54:33
last_update2020-03-15 21:54:33
depth3
children0
last_payout2020-03-22 21:54:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation18,294,339,934,514
root_title"Learning MQL5 - Building a trade robot from scratch #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,386,188
net_rshares0