Automated Trading and Strategy Testing Forum
Login
|
Registration
en
|
ru
Wall
Docs
Code Base
Articles
Championship
Jobs
Market
Signals
Forum
MetaTrader 5: Publishing trading forecasts and live trading...
Subscribe to signal
Good Friend Trojan
12.54%
,
544.53 USD
Screenshot
IBERDROLA, H1
Real
Try product
SmartMA on History Deals
Author:
song_song
Indicator
PositionInfo
Author:
GODZILLA
/
/
OPEN 2 ORDERS MT5
To add comments, please
log in
or
register
8
Pablo
2012.08.02 11:31
Pessoal no MT4, a única alteração foi mcdsample 1-2
Ele abriu duas ordens de uma só vez, mas não sei onde alterar MT5
MT4
/ Para simplificar a codificação e acelerar o acesso
/ / Os dados são colocados em variáveis internas
MacdCurrent iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_MAIN, 0);
MacdPrevious iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_MAIN, 1);
SignalCurrent iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_SIGNAL, 0);
SignalPrevious iMACD = (NULL, 0,12,26,9, PRICE_CLOSE, MODE_SIGNAL, 1);
MaCurrent = IMA (NULL, 0, MATrendPeriod, 0, MODE_EMA, PRICE_CLOSE, 0);
MaPrevious = IMA (NULL, 0, MATrendPeriod, 0, MODE_EMA, PRICE_CLOSE, 1);
Total de OrdersTotal = ();
if (total <1)
/
To add comments, please
log in
or
register
8