I would like to know if you have to enter in your code the value not to pass the order to the next day, closing all the orders, doing the backtest in the period of 1/1/2019 to 03/15/2019, I verified that you obtained two negative closures, one of -699 and one of -188, totaling a loss of R $ 880.00. Your theft is round.
Congratulations, I circled him on the 5-minute chart for the MINI INDEX BOVESPA.
Thank you if you can help me. Thank you.
Olá, Vladimir,
Sou novo no mql5 e não tenho experiência em programação.
Por favor, você pode me ajudar a manter condições separadas para
1) entrada de compra
2) saída de compra
3) entrada de venda
4) saída de venda
Obrigado
----------------------
Привет владимир, Я новичок в mql5 и не имею опыта программмирования. Пожалуйста, вы можете помочь мне с сохранением отдельного состояния для 1) купить вход 2) купить выход 3) продать запись 4) продать выход Спасибо
Oi Vladimir,
Sou novo no mql5 e não tenho experiência em programação.
Por favor, você pode me ajudar a manter uma condição separada para
1) entrada de compra
2) saída de compra
3) entrada de venda
4) saída de venda
Obrigado
----------------------
Привет владимир, Я новичок в mql5 и не имею опыта программмирования. Пожалуйста, вы можете помочь мне с сохранением отдельного состояния для 1) купить вход 2) купить выход 3) продать запись 4) продать выход Спасибо
Desculpe, mas não entendi exatamente o que você quer. Tente descrever com mais detalhes.
Esse EA não assume posição quando a condição é VERDADEIRA?
Quem é "a condição é VERDADEIRA"? Sobre o que está perguntando? Você pode fazer sua pergunta de forma humana? É tão difícil escrever o texto completo? Por que está escrevendo algumas partes do texto - nada está claro.
Abrir uma nova compra: if (ma [0]> ma [1]) if (macd_main [0] <0.0) if (macd_main [0]> macd_signal [0]) if (macd_main [1] <macd_signal [1]) if (MathAbs (macd_main [0])> Ext_MACD_Level) if (count_buys == 0) m_need_open_buy = TRUE; Abrir uma nova venda: if (ma [0] <ma [1]) if (macd_main [0]> 0,0) if (macd_main [0] <macd_signal [0]) if (macd_main [1]> macd_signal [1] ) if (MathAbs (macd_main [0])> Ext_MACD_Level) if (count_sells == 0) m_need_open_sell = TRUE; Fecha uma posição de compra: (macd_main [1]> 0.0) && (macd_main [0] <0,0) ou interromper a perda Fechar uma posição de venda: macd_main [1] <0,0) && (macd_main [0]> 0,0) ou interromper a lesão
Открыть новую покупку: если (ма [0]> ма [1]) если (macd_main [0] <0.0) если (macd_main [0]> macd_signal [0]) если (macd_main [1] <macd_signal [1]) если (MathAbs (macd_main [0])> Ext_MACD_Level) если (count_buys == 0) m_need_open_buy = TRUE; Открыть новый продать: если (ма [0] <ма [1]) если (macd_main [0]> 0,0) если (macd_main [0] <macd_signal [0]) если (macd_main [1]> macd_signal [1]) если (MathAbs (macd_main [0])> Ext_MACD_Level) если (count_sells == 0) m_need_open_sell = TRUE; Закрыть позицию на покупку: (macd_main [1]> 0.0) && (macd_main [0] <0.0) или же остановить убыток Закрыть позицию на продажу: macd_main [1] <0.0) && (macd_main [0]> 0.0) или же остановить убыток
Desculpe, mas não entendo sobre o que está escrevendo.
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Você concorda com a política do site e com os termos de uso
MACD No Sample:
Um Expert Advisor baseado nos indicadores iMA (Moving Average, MA) e iMACD (Moving Average Convergence/Divergence, MACD)
Autor: Vladimir Karputov