- Credits
- 0
Ane ingin sharing ilmu MQL Code. karena ane tidak terlalu bisa dalam menjelas kan. let make it simple with Example 
thread ini ane persembahkan untuk mastah almando ,Rizarma, resa2410 dan pangestu
EA pertama yg akan kita bedah adalah EA ane sendiri . silahkan di baca2 dulu thread nya dan sedot EA nya
https://soehoe.com/free-taste-asami-reserve-v-2.t847/
Ada perbedaan Struktur / Kerangka di MetaTrader yg dulu dan sekarang untuk penulisan EA
yg sekarang :
yg dulu kira2 seperti ini
Inti nya kurang lebih sama bisa sequensial maupun object oriented
(bahasa IT).
ok sampe disini ada pertanyaan ? sebelum lanjut ke Bedah EA

thread ini ane persembahkan untuk mastah almando ,Rizarma, resa2410 dan pangestu
EA pertama yg akan kita bedah adalah EA ane sendiri . silahkan di baca2 dulu thread nya dan sedot EA nya

https://soehoe.com/free-taste-asami-reserve-v-2.t847/
Ada perbedaan Struktur / Kerangka di MetaTrader yg dulu dan sekarang untuk penulisan EA
yg sekarang :
Code:
//+------------------------------------------------------------------+
//| New.mq4 |
//| Copyright 2015, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//---
//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//---
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---
}
//+------------------------------------------------------------------+
yg dulu kira2 seperti ini
Code:
//+------------------------------------------------------------------+
//| Raito System.mq4 |
//| @Pherry Chandra |
//| TIPE : EA |
//+------------------------------------------------------------------+
#property copyright "@Pherry Chandra"
#property link "http://"
#property version "1.0" // Current version of the Expert Advisor
#property description "High Low Signal"
#property tester_indicator "HighLow.ex4"
//YOUR PARAMETER
//INIT
int init()
{
return(0);
}
//DEINIT
int deinit()
{
return(0);
}
//START LOGIC
int start()
{
//LOGIC EA
return(0);
}
//FUNCTION
Inti nya kurang lebih sama bisa sequensial maupun object oriented

ok sampe disini ada pertanyaan ? sebelum lanjut ke Bedah EA