B
l
o
c
k
E
A
- Blockly for MT4/MT5 EA
このサイトの使い方
Toyolab FX
新規
プロジェクト:
MQLコードの表示
mq4ファイルの保存
mq5ファイルの保存
ブロックの保存
ブロックを開く
挿入
サウンド
0
ADD
1
1
64
10
ROOT
9
MathSin
0
M_PI
raddeg
ROUND
3.1
MathMax
1
100
1
10
int
str
Print
100
1.23
5
TimeCurrent
default
abc
abc
0
-1
0
0
DT_MON
1
1
0
0
0
0
0
0
1
1
1
1
2022
1
1
0
0
1
1
0
0
0
0
EQ
0
AND
TRUE
10
WHILE
i
1
10
1
BREAK
break
int
a
a
0
a
0
buf
true
int
Param
0
int
sig
GV
0
GV
int
0
2022
1
1
0
0
TRUE
Expert
LibEA.mqh
1000
1
1
STAT_INITIAL_DEPOSIT
STAT_TRADES
Expert
LibEA.mqh
none
indicator_chart_window
1
TRUE
Expert
LibMQL4.mqh
FALSE
1
DRAW_LINE
#ff0000
1
STYLE_SOLID
FALSE
0
FALSE
100
#c0c0c0
1
STYLE_DOT
double
Buf
1
true
Buf
0
1
159
rates_total
prev_calculated
time
open
high
low
close
tick_volume
volume
spread
close
true
EMPTY_VALUE
Buf
0
10
SimpleMAOnBuffer
Buf
0
0
double
TimeCurrent
TimeCurrent
Hour
TimeCurrent
default
2022
1
1
0
0
1
1
0
0
0
0
USDJPY
SYMBOL_BID
1
Close
0
1
iClose
0
1
5
MODE_CLOSE
HighestPrice
0
1
0
0
0
PERIOD_M2
Integer(ACCOUNT_LOGIN)
MQL_PROGRAM_NAME
0
MyOrderClosePrice
0
MyOrderLastClosePrice
0
0
0
0
0
OP_NONE
0
OpenTime
30
Opened
0
0
TradeSymbol
0
1
0
0.01
> 0
0
0.1
0
20
LimitOrder
60
0.1
0
0
50
100
0
20
TRUE
0
BUY
0
0.1
0
MyOrderClose
0
0
0
0
0
USDJPY
1
FALSE
0
0
10
MODE_SMA
1
0
20
2
1
MODE_MAIN
0
14
0.1
1
MODE_MAIN
0
14
1
MODE_MAIN
0
0.02
0.2
1
0
20
1
0
9
2
30
1
0
14
1
0
9
12
1
0
14
1
0
14
1
0
14
1
0
12
26
9
1
MODE_MAIN
0
5
3
3
1
MODE_MAIN
0
14
1
0
14
1
0
14
1
0
10
1
MODE_MAIN
0
CustomInd
1
0
CROSSUP
int
sig_entry
0
0
sig_entry
sig_entry
0.1
int
sig_entry
0
int
sig_exit
0
0
sig_entry
ADD
1
sig_entry
1
sig_exit
0.1
int
sig_entry
0
int
sig_exit
0
int
sig_filter
0
sig_entry
0
sig_filter
ADD
1
sig_entry
1
sig_exit
0.1
EntrySignal
指標のレベル
double
mom1
0
14
1
GT
mom1
100
LT
mom1
100
EntrySignal
指標のレベル
double
RSI1
0
14
1
LT
RSI1
30
GT
RSI1
70
EntrySignal
2本の指標の交差
double
FastMA2
MODE_SMA
0
20
2
double
FastMA1
MODE_SMA
0
20
1
double
SlowMA2
MODE_SMA
0
50
2
double
SlowMA1
MODE_SMA
0
50
1
CROSSUP
FastMA2
FastMA1
SlowMA2
SlowMA1
CROSSDOWN
FastMA2
FastMA1
SlowMA2
SlowMA1
EntrySignal
指標とシグナルの交差
double
MACD2
MODE_MAIN
0
12
26
9
2
double
MACD1
MODE_MAIN
0
12
26
9
1
double
Signal2
MODE_SIGNAL
0
12
26
9
2
double
Signal1
MODE_SIGNAL
0
12
26
9
1
CROSSUP
MACD2
MACD1
Signal2
Signal1
CROSSDOWN
MACD2
MACD1
Signal2
Signal1
EntrySignal
終値と指標の交差
double
MA2
MODE_SMA
0
10
2
double
MA1
MODE_SMA
0
10
1
CROSSUP
Close
2
Close
1
MA2
MA1
CROSSDOWN
Close
2
Close
1
MA2
MA1
EntrySignal
終値と指標の交差
double
BBLower2
MODE_LOWER
0
20
2
2
double
BBLower1
MODE_LOWER
0
20
2
1
double
BBUpper2
MODE_UPPER
0
20
2
2
double
BBUpper1
MODE_UPPER
0
20
2
1
CROSSDOWN
Close
2
Close
1
BBLower2
BBLower1
CROSSUP
Close
2
Close
1
BBUpper2
BBUpper1
FilterSignal
フィルタ関数
double
EnvUpper1
MODE_UPPER
0
14
0.1
1
double
EnvLower1
MODE_LOWER
0
14
0.1
1
OR
AND
> 0
sig
GT
Close
1
EnvUpper1
AND
< 0
sig
LT
Close
1
EnvLower1
sig
0
FilterSignal
フィルタ関数
double
MACD1
MODE_MAIN
0
12
26
1
1
OR
AND
> 0
sig
GT
MACD1
0
AND
< 0
sig
LT
MACD1
0
sig
0
FilterSignal
フィルタ関数
double
FastATR1
0
20
1
double
SlowATR1
0
200
1
LT
FastATR1
SlowATR1
sig
0
FilterSignal
フィルタ関数
12
0
20
0
sig
0
FilterSignal
フィルタ関数
DT_MON
9
0
DT_FRI
12
0
sig
0
FilterSignal
フィルタ関数
12
24
0
0
1
3
12
0
0
sig
Expert
LibEA.mqh
none
indicator_chart_window
1
TRUE
Expert
LibMQL4.mqh
FALSE
1
DRAW_LINE
#ff0000
1
STYLE_SOLID
double
Buf
1
true
Buf
MyIndicator
0
rates_total
prev_calculated
time
open
high
low
close
tick_volume
volume
spread
close
true
int
limit
MINUS
1
rates_total
1
prev_calculated
limit
MathMin
limit
MINUS
1
rates_total
0
i
0
10
MINUS
1
limit
1
1
Buf
0
i
close
0
i
EQ
Buf
0
i
0
EMPTY_VALUE
0
MINUS
1
rates_total
1