Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Você concorda com a política do site e com os termos de uso
Se você não tem uma conta, por favor registre-se
Boa, é verdade, e N==0?
É um for loop... linha 228
Perfeitamente, o bug parece estar exatamente onde eu suspeitava, note a declaração:
E aqui é feito assim:
O correto deveria ser, já que essa é a variável que está armazenando o período de RSI para todos símbolos:
É um for loop... linha 228
Parece que ele só inicializa a posição 0, não vi as demais, pelo menos para o período ...
É porque ele está trabalhando apenas com um símbolo... Na linha 15
É porque ele está trabalhando apenas com um símbolo... Na linha 15
a ideia é trabalhar com varios simbolos...
Segue o log:
GS 0 00:13:57.028 Network 1478 bytes of tester parameters loaded
EF 0 00:13:57.028 Network 6328 bytes of input parameters loaded
RN 0 00:13:57.028 Tester expert file added: Experts\teste.ex5. 48517 bytes loaded
PK 0 00:13:57.028 Tester initial deposit 25000.00 USD, leverage 1:100
LM 0 00:13:57.028 Tester successfully initialized
KH 0 00:13:57.028 Network 55 Kb of total initialization data received
DP 0 00:13:57.028 Tester Intel Atom N280 @ 1.66GHz, 2037 MB
MH 0 00:13:57.028 History EURUSD: history synchronization started
RN 0 00:13:57.028 History EURUSD: load 27 bytes of history data to synchronize
LF 0 00:13:57.028 History EURUSD: history synchronized from 2007.01.01 to 2014.01.20
NF 0 00:13:58.861 History EURUSD,H1: contains 6186 bars of beginning data from 2013.01.02 08:00 to 2013.12.31 18:00
JJ 0 00:13:58.861 History EURUSD,H1: history cache reserved for estimated 6582 bars
QO 0 00:13:58.861 History EURUSD,H1: history begins from 2013.01.02 08:00
ED 0 00:13:58.861 Tester EURUSD,H1 (RoboForex-MetaTrader 5): 1 minutes OHLC ticks generating
OI 0 00:13:58.861 Tester testing with execution random delay
PP 0 00:13:58.861 Tester EURUSD,H1: testing of Experts\teste.ex5 from 2014.01.01 00:00 to 2014.01.20 00:00 started with inputs:
DP 0 00:13:58.861 Tester Symbol_0=EURUSD
JM 0 00:13:58.861 Tester IsTrade_0=true
NG 0 00:13:58.861 Tester Period_0=16385
HQ 0 00:13:58.861 Tester BBPeriod_0=25
NP 0 00:13:58.861 Tester BBShift_0=0
CF 0 00:13:58.861 Tester BBDeviation_0=1.875
CQ 0 00:13:58.861 Tester per_0=14
ER 0 00:13:58.861 Tester DealOfFreeMargin=0.80
NJ 0 00:13:58.861 Tester LotIncrease=0.90
QS 0 00:13:58.861 Tester MaxTrades=3
HM 0 00:13:58.861 Tester MagicNumber=379
HI 0 00:13:58.861 Tester Digs=5
NF 0 00:13:58.861 teste (EURUSD,H1) 2014.01.01 00:00:00 Negociação é permitido nesta conta
LD 0 00:13:58.861 teste (EURUSD,H1) 2014.01.01 00:00:00 Negociação automática é permitido na conta
EH 0 00:14:04.100 Trade 2014.01.02 08:42:48 instant buy 0.20 EURUSD at 1.3749 (1.3747 / 1.3749 / 1.3747)
IM 0 00:14:04.100 Trades 2014.01.02 08:42:48 deal #2 buy 0.20 EURUSD at 1.3749 done (based on order #2)
HN 0 00:14:04.100 Trade 2014.01.02 08:42:48 deal performed [#2 buy 0.20 EURUSD at 1.3749]
KJ 0 00:14:04.100 Trade 2014.01.02 08:42:48 order performed buy 0.20 at 1.3749 [#2 buy 0.20 EURUSD at 1.3749]
RI 0 00:14:04.100 teste (EURUSD,H1) 2014.01.02 08:42:48 CTrade::OrderSend: instant buy 0.20 EURUSD at 1.3749 [done at 1.3749]
LG 0 00:14:04.100 teste (EURUSD,H1) 2014.01.02 08:42:48 Compra de EURUSD foi concluída com êxito. Codigo=10009Enviado ordem de venda L 459 RSI_Handle: 55.17798792159593 (done at 1.3749)
GM 0 00:14:04.100 Trade 2014.01.02 10:00:00 instant buy 0.18 EURUSD at 1.3734 (1.3732 / 1.3734 / 1.3732)
MP 0 00:14:04.100 Trades 2014.01.02 10:00:00 deal #3 buy 0.18 EURUSD at 1.3734 done (based on order #3)
LO 0 00:14:04.100 Trade 2014.01.02 10:00:00 deal performed [#3 buy 0.18 EURUSD at 1.3734]
GI 0 00:14:04.100 Trade 2014.01.02 10:00:00 order performed buy 0.18 at 1.3734 [#3 buy 0.18 EURUSD at 1.3734]
JF 0 00:14:04.100 teste (EURUSD,H1) 2014.01.02 10:00:00 CTrade::OrderSend: instant buy 0.18 EURUSD at 1.3734 [done at 1.3734]
FH 0 00:14:04.100 teste (EURUSD,H1) 2014.01.02 10:00:00 Compra de EURUSD foi concluída com êxito. Codigo=10009Enviado ordem de venda L 459 RSI_Handle: 54.64944915332644 (done at 1.3734)
IQ 0 00:14:05.151 Trade 2014.01.02 13:02:03 instant buy 0.35 EURUSD at 1.3713 (1.3711 / 1.3713 / 1.3711)
PE 0 00:14:05.151 Trades 2014.01.02 13:02:03 deal #4 buy 0.35 EURUSD at 1.3713 done (based on order #4)
MK 0 00:14:05.151 Trade 2014.01.02 13:02:03 deal performed [#4 buy 0.35 EURUSD at 1.3713]
QJ 0 00:14:05.151 Trade 2014.01.02 13:02:03 order performed buy 0.35 at 1.3713 [#4 buy 0.35 EURUSD at 1.3713]
HR 0 00:14:05.151 teste (EURUSD,H1) 2014.01.02 13:02:03 CTrade::OrderSend: instant buy 0.35 EURUSD at 1.3713 [done at 1.3713]
DL 0 00:14:05.151 teste (EURUSD,H1) 2014.01.02 13:02:03 Compra de EURUSD foi concluída com êxito. Codigo=10009Enviado ordem de venda L 459 RSI_Handle: 42.08007647334652 (done at 1.3713)
GD 0 00:14:06.577 Trade 2014.01.02 18:06:51 instant sell 0.73 EURUSD at 1.3668 (1.3668 / 1.3670 / 1.3668)
PK 0 00:14:06.577 Trades 2014.01.02 18:06:51 deal #5 sell 0.73 EURUSD at 1.3668 done (based on order #5)
CD 0 00:14:06.577 Trade 2014.01.02 18:06:51 deal performed [#5 sell 0.73 EURUSD at 1.3668]
JS 0 00:14:06.577 Trade 2014.01.02 18:06:51 order performed sell 0.73 at 1.3668 [#5 sell 0.73 EURUSD at 1.3668]
MQ 0 00:14:06.577 teste (EURUSD,H1) 2014.01.02 18:06:51 CTrade::OrderSend: instant sell 0.73 EURUSD at 1.3668 [done at 1.3668]
IL 0 00:14:06.577 teste (EURUSD,H1) 2014.01.02 18:06:51 Posição de Compra EURUSD fechado com sucesso. Codigo=10009 (done at 1.3668)
CN 0 00:14:11.149 Trade 2014.01.03 15:21:48 instant buy 0.20 EURUSD at 1.3623 (1.3621 / 1.3623 / 1.3621)
LR 0 00:14:11.149 Trades 2014.01.03 15:21:48 deal #6 buy 0.20 EURUSD at 1.3623 done (based on order #6)
PK 0 00:14:11.149 Trade 2014.01.03 15:21:48 deal performed [#6 buy 0.20 EURUSD at 1.3623]
ED 0 00:14:11.149 Trade 2014.01.03 15:21:48 order performed buy 0.20 at 1.3623 [#6 buy 0.20 EURUSD at 1.3623]
FJ 0 00:14:11.149 teste (EURUSD,H1) 2014.01.03 15:21:48 CTrade::OrderSend: instant buy 0.20 EURUSD at 1.3623 [done at 1.3623]
PK 0 00:14:11.149 teste (EURUSD,H1) 2014.01.03 15:21:48 Compra de EURUSD foi concluída com êxito. Codigo=10009Enviado ordem de venda L 459 RSI_Handle: 31.73706182829032 (done at 1.3623)