Friday 9 March 2018

Tire o indicador de lucro forex


Calculadora de tamanho de posição.


Calculadora do tamanho da posição (indicador do MetaTrader) diz quantos lotes negociar com base em:


Dado os níveis de entrada e stop-loss Tolerância ao risco Tamanho da conta (saldo, patrimônio ou mesmo sua conta de poupança) Moeda da conta Preço da moeda da cotação (quando diferente da moeda da conta)


Suas principais características incluem:


As entradas e os resultados do cálculo são exibidos dentro de um painel gráfico. O painel pode ser movido livremente no gráfico. Você pode fechá-lo ou minimizá-lo facilmente. Todos os parâmetros de cálculo podem ser ajustados dentro do painel em um ou dois cliques do mouse. As linhas de entrada, stop-loss e take-profit podem ser arrastadas diretamente no gráfico. Se o lucro-benefício for dado, a calculadora mostra o potencial nível de recompensa e a relação risco-recompensa. Suporta pedidos pendentes e instantâneos (comutação fácil). Você pode ver o perfil de risco atual e potencial. Informações sobre a margem necessária estão disponíveis em uma guia separada. A calculadora pode mostrar o tamanho máximo da posição com base na margem disponível. Você pode inserir uma alavancagem personalizada para calcular a margem de posição com base nela. As informações detalhadas de swaps (interesse de rolagem) estão disponíveis em uma guia separada. Exibição de propagação opcional. Exibição opcional do valor da pip para o tamanho da posição calculada. O indicador salva e carrega automaticamente suas entradas na mudança de cronograma ou na reinicialização da plataforma, preservando seus esforços de configuração. Os perfis personalizados restauram a localização, o status e as configurações do painel. Projeto totalmente gratuito e open-source. Não requer nenhuma importação de DLL. Pode ser usado em conjunto com um script de negociação (PSC-Trader) para tornar mais fácil para os comerciantes abrir posições com base nos cálculos.


É uma evolução da versão legada baseada em texto do mesmo indicador e é uma adaptação da ferramenta online gratuita com o mesmo nome. Calculadora de tamanho de posição está disponível para MT4 e MT5.


Principal guia.


A guia principal do painel fornece o controle primário sobre as funções do indicador e serve para produzir os resultados de cálculo mais importantes - tamanho da posição, risco, recompensa e relação risco-recompensa. Os seguintes controles e saídas estão disponíveis:


Número de versão do indicador. Valor de propagação em carrapatos. Botão Minimização para dobrar o painel. Fechar o botão para remover o indicador do gráfico. Chave de guia principal - atualmente está ativada. Interruptor de tabulação de risco - clique nele para ver o perfil de risco atual e potencial. A interface da guia Risco é explicada abaixo. Interruptor da guia Margem - clique para ver tudo relacionado à margem necessária e gratuita. A interface da guia Margem é explicada abaixo. Interruptor da guia Swaps - clique nela para ver os detalhes sobre os swaps para o instrumento de negociação atual. A interface da guia Swaps é explicada abaixo. Interruptor da guia de script - clique nela para ver controles para o script PSC-Trader. A interface da guia de script é explicada abaixo. Entrada de entrada - acinzentada quando a ordem instantânea é usada, pode ser usada entre o nível de entrada quando a ordem pendente é definida. Entrada de perda de parada. Entrada de lucro. O botão Take-profit permite a configuração rápida de TP no nível igual ao valor atual da SL. O multiplicador take-profit, se configurado através de parâmetros de entrada, aplica-se ao valor atual do SL quando o botão Take-profit é pressionado. Botão de tipo de pedido para alternar entre Instantâneo e Pendente. Ocultar / mostrar o botão de linhas para mudar rapidamente a exibição das linhas de entrada, de lucro e Stop-loss no gráfico. Tamanho da comissão por lote - configure-o se o seu corretor cobra uma comissão e você deseja que ele seja incluído no tamanho do risco ao calcular o tamanho da posição. Tamanho da conta em unidades monetárias da conta. Asterisco do tamanho da conta indica que os fundos adicionais são definidos por meio de parâmetros de entrada; os fundos foram adicionados ao valor do tamanho da conta. O botão de tamanho da conta alterna entre o saldo, a equidade e o "equilíbrio - RCP"; sendo este o saldo da conta menos o risco atual da carteira, conforme calculado na guia Risco. Entrada de risco - você pode definir seu risco tolerado em porcentagem do tamanho da conta. Se você definir seu risco através de entrada de Risco, o risco percentual será calculado com base nessa entrada. Entrada de dinheiro de risco - você pode definir seu risco tolerado em unidades monetárias de conta. Se você definir seu risco através de porcentagem de Risco, o risco de dinheiro será calculado com base nessa entrada. Risco (resultado) - percentual de risco calculado com base no tamanho da posição real permitido na plataforma do seu corretor. Dinheiro de risco (resultado) - risco de dinheiro calculado com base no tamanho de posição real permitido na plataforma do seu corretor. A recompensa na moeda da conta é baseada no tamanho da posição calculada sem levar em consideração as restrições da plataforma. Recompensa (resultado) - a recompensa na moeda da conta é baseada no tamanho da posição real permitido na plataforma do seu corretor. Relação de recompensa / risco - recompensa dividida pelo risco. Tamanho da posição - saída do cálculo do tamanho da posição real. Valor de Pip por tamanho de posição calculado.


A guia de risco pode ajudá-lo a avaliar o perfil de risco atual e potencial. Usando o algoritmo simples, o indicador calcula o risco das posições atualmente abertas e das ordens pendentes com base em seus níveis de parada-perda (ou falta dela). O método de análise de risco empregado não explica situações complexas que envolvem ordens e posições cobertas. Você pode usar o indicador da Calculadora de Risco para uma análise de risco de portfólio mais profunda. Você pode controlar a guia Risco com duas caixas de seleção e ver os resultados do cálculo em quatro campos de saída:


Contagem de pedidos pendentes - se marcada, o indicador também tentará calcular o risco de pedidos pendentes além das posições atualmente abertas. Ignore as ordens sem parar-perda - se verificado, simplesmente ignorará todos os riscos provenientes de pedidos e posições sem o valor de SL definido. Pode ser útil se você preferir não definir stop-loss para alguns de seus negócios. Risco atual da carteira (moeda) - mostra o risco em unidades monetárias sem que o cargo seja calculado atualmente por esse indicador. Possível risco de carteira (moeda) - mostra o risco em unidades monetárias como se você já abriu um cargo, que atualmente é calculado por este indicador. Risco atual do portfólio (%) - o mesmo que o risco atual da carteira (moeda), mas em porcentagem para o tamanho da conta. Possível risco de carteira (%) - o mesmo que o potencial risco da carteira (moeda), mas em porcentagem para o tamanho da conta.


Guia Margem.


A guia de margem fornece informações sobre a margem da posição calculada, a quantidade de margem usada e disponível depois de abrir a posição calculada e o maior tamanho de posição possível, considerando a margem disponível atual e alavancagem. A guia possui apenas uma entrada e cinco campos de saída:


A margem de posição mostra a margem que será usada para a posição calculada. O valor negativo significa que a margem utilizada futura será menor que a corrente devido ao menor requisito de margem das posições cobertas. A margem usada futura é calculada com base na margem usada atualmente e na margem de posição. Futura margem livre mostra quanta margem livre você terá deixado depois de abrir a posição calculada. A alavancagem padrão mostra a alavancagem real da conta para sua referência. O tamanho da posição máxima por margem exibe o maior comércio que você pode tomar com sua margem livre e alavancagem atualmente disponíveis. A entrada de alavancagem personalizada permite que você defina sua própria alavancagem para todos os cálculos de margem realizados por este indicador. A alavanca do símbolo mostra a alavanca real para o instrumento de negociação atual. É calculado com base na margem requerida e no tamanho / valor do contrato. Pode ser impreciso em alguns casos.


A guia Swaps exibe detalhes sobre os pagamentos de juros overnight relacionados com o instrumento de negociação atual e o tamanho da posição calculada. Mostra tipos de swaps, swaps nominais, diários, anuais, por lote, por tamanho de posição calculado e ambos para posições longas e curtas:


Tipo mostra o tipo de swaps utilizados pelo corretor para o instrumento de negociação atual. Pode ser um dos vários tipos: pips / pontos, moeda base, juros, moeda da conta, margem de moeda, reabertura. Swap triplo mostra o dia da semana em que os swaps triplos são cobrados / pagos (para conta para sábado e domingo). Swaps nominais - swaps nominais pagos ou cobrados por um corretor por posições longas e curtas. Swap diário por lote - swap diário pago ou cobrado por um corretor por posições longas e curtas na moeda da conta por lote. Swap diário por PS - swap diário pago ou cobrado por um corretor para posições longas e curtas na moeda da conta para o tamanho da posição calculada (no separador Principal). Swap anual por lote - swap pago ou cobrado por um corretor por posições longas e curtas na moeda da conta por lote. Calculado por um período de 360 ​​dias. Swap anual por PS - swap pago ou cobrado por um corretor por posições longas e curtas na moeda da conta para o tamanho da posição calculada (na guia Principal). Calculado por um período de 360 ​​dias. O tamanho da posição duplica a exibição do tamanho da posição calculado pelo indicador na guia Principal.


Guia Script.


A guia de script serve para fornecer-lhe algum controle sobre o script de negociação. Você pode ignorar esta guia se você não estiver usando o PSC-Trader.


Número mágico - Número mágico que será atribuído às ordens e posições abertas usando o script. Comentário de ordem - comentário para pedidos e posições abertos usando o script. Desativar a negociação quando as linhas estão ocultas - uma caixa de seleção simples para evitar que o script abra uma posição quando você optou por ocultar as linhas através da guia Principal. Deslizamento máximo - valor de deslizamento máximo tolerável (em pips de corretor) que será usado nas funções de negociação do script. Max spread - o script não será negociado se o spread atual for maior que o valor dado aqui. Max Entry / SL distance - o script não será negociado se a distância entre o nível Entry e Stop-Loss for maior que esse valor. Min Entry / SL distance - o script não será negociado se a distância entre o nível Entry e Stop-Loss for menor que esse valor. Tamanho máximo da posição - o script não será negociado se o tamanho da posição calculada exceder esse valor (em lotes).


Usar este indicador é muito simples se o seu objetivo principal é calcular o tamanho da posição com base em seus parâmetros de stop-loss e de mercado atuais.


Anexar Calculadora de Tamanho de Posição a um gráfico definirá automaticamente um nível de entrada para o preço atual, preparando-se para um pedido de compra no mercado. O nível Stop-Loss será definido como o mais próximo possível. O lucro positivo será desativado. Agora, você já pode usar sua saída de tamanho de posição para entrar em uma negociação, se você planeja um pedido de compra de mercado com o SL definido para baixo da barra atual e com 1% do risco de saldo. Caso contrário, você pode alterar livremente a perda de parada - arrastando a linha stop-loss no gráfico ou inserindo o valor na entrada stop-loss no painel. Você pode definir o lucro obtido da mesma maneira. Além disso, você pode configurar rapidamente TP igual ao valor atual do SL (ou com algum multiplicador predefinido), clicando no botão "Take-profit". A adição de lucro obtido irá ativar a exibição da relação Recompensa e Recompensa / risco para suas informações. Alternar o tipo de ordem de Instant para Pendente (e para trás) é feito com o botão do tipo de ordem. Quando a ordem instantânea é usada, o nível de entrada rastreará o preço atual (lance ou pedido) e não pode ser alterado manualmente. Quando a ordem pendente é usada, o nível de Entrada pode ser configurado através da entrada do painel ou arrastando a linha do gráfico. O indicador avisará se o nível de entrada está muito próximo ao preço atual no modo de ordem pendente e se o nível Stop-loss ou Take-profit estiver muito próximo do nível de entrada. Você pode definir o tamanho da comissão aplicada pelo seu corretor se desejar que sua perda potencial seja calculada, incluindo esse custo de negociação. Alterar o tamanho da conta do saldo para o patrimônio ou para o saldo menos o risco do portfólio pode ser útil em alguns casos e é feito por um ou dois cliques no respectivo botão. Ajustar a tolerância ao risco pode ser feito de duas maneiras: definindo o valor de risco percentual ou ajustando o valor do risco de dinheiro. Ambos são feitos através de campos de entrada no painel. Passar para a guia Risco do painel é completamente opcional e fornece informações sobre seu risco atual e potencial. Você pode controlar como as ordens e pedidos pendentes sem stop-loss são tratados nesta guia. A guia Margem também não é necessária se o seu objetivo é calcular o tamanho ideal da posição com base em seu risco e perda de parada. Esta guia irá informá-lo sobre a quantidade de margem gratuita e usada resultante da sua posição. Também irá mostrar-lhe qual é o maior tamanho de posição que você pode abrir com a sua livre margem livre e alavancagem. Uma alavanca personalizada pode ser inserida se necessário. A guia Swaps pode ser consultada se desejar saber o quanto a rolagem do dinheiro será dispendiosa para sua posição. Será especialmente útil se você estiver usando uma estratégia de carry trade. A guia Script ajudará você a controlar como o script PSC-Trader se comporta se você usá-lo para a abertura da posição.


Parâmetros de entrada.


O indicador possui um conjunto de parâmetros de entrada além dos controles baseados em painéis. As opções de exibição da calculadora e uma série de opções padrão são definidas através de entradas padrão do MetaTrader.


Compactação.


ShowLineLabels (padrão = verdadeiro) - se true, SL e TP distância em pips serão mostradas abaixo stop-loss e take-profit lines. DrawTextAsBackground (padrão = false) - se verdadeiro, os rótulos de linha serão desenhados como plano de fundo. Pode ser útil se os rótulos estão obscurecendo algo no gráfico. PanelOnTopOfChart (padrão = verdadeiro) - se for verdade, o painel será desenhado em primeiro plano e o gráfico será desenhado como plano de fundo. Configurá-lo como falso descobrirá o gráfico por trás do painel. HideAccSize (padrão = false) - se for verdade, a exibição e o tamanho do tamanho da conta serão ocultos. ShowPipValue (padrão = false) - se for verdade, o valor do pip será exibido na parte inferior da aba principal.


SL Label Font Color (padrão = clrLime) - cor da fonte para a etiqueta da linha stop-loss. TP Label Font Color (padrão = clrYellow) - cor da fonte para o rótulo da linha de lucro. Tamanho da fonte de etiquetas (padrão = 13) - tamanho da fonte para o texto nas etiquetas. Labels Font Face (padrão = "Courier") - rosto da fonte para o texto nas etiquetas.


Cor da linha de entrada (padrão = clrBlue) - cor da linha de entrada. Stop-Loss Line Color (padrão = clrLime) - cor da linha stop-loss. Take-Profit Line Color (padrão = clrYellow) - cor da linha de lucro. Estilo de linha de entrada (padrão = STYLE_SOLID) - estilo de linha de entrada. Stop-Loss Line Style (padrão = STYLE_SOLID) - estilo de linha stop-loss. Estilo de linha Take-Profit (padrão = STYLE_SOLID) - estilo de linha de lucro. Largura da linha de entrada (padrão = 1) - largura da linha de entrada. Largura da linha Stop-Loss (padrão = 1) - largura da linha stop-loss. Largura da linha Take-Profit (padrão = 1) - largura da linha de lucro.


Risco (padrão = 1) - valor padrão para risco percentual. Pode ser alterado através do painel mais tarde. EntryType (default = Instant) - tipo de ordem padrão. Pode ser alterado através do painel mais tarde. Comissão (padrão = 0) - tamanho de comissão padrão. Pode ser alterado através do painel mais tarde. Commentary (default = "") - comentário padrão da ordem para o script PSC-Trader. Pode ser alterado através do painel mais tarde.


Diversos.


TP_Multiplier (padrão = 1) - valor do multiplicador para o botão de lucro. ShowSpread (padrão = falso) - se verdadeiro, o valor de propagação atual em tiques será exibido dentro da legenda do painel. AdditionalFunds (padrão = 0) - fundos a serem adicionados ao tamanho da conta com o propósito de cálculo do risco e do tamanho da posição. Por exemplo, estes podem ser alguns fundos que você possui fora da conta do corretor, mas considere uma parte do seu capital de risco Forex.


Capturas de tela.


A guia principal é a maior e parece legal em qualquer fundo - este é branco, por exemplo. A cor da linha Take-profit foi alterada para laranja através de um parâmetro de entrada para uma melhor legibilidade.


A cor preta do fundo e a grade do gráfico não interferem no painel como você pode ver nesta captura de tela da guia Risco. Os resultados de risco mostram o Infinity como existe, aparentemente, uma ordem de venda sem stop-loss.


Guia Margem.


Mesmo o esquema de cores mais selvagem funciona bem com a calculadora de tamanho de posição. Neste caso, o fundo ciano é combinado com castiçal verde e vermelho. A cor Stop-Loss é definida como preta.


Este exemplo mostra a aba de swaps com um gráfico de esquema de cores clássico em preto e branco. Esse corretor está cobrando taxas de rollover sérias para negociação de margem em Bitcoin.


Guia Script.


Quando o painel é configurado para o plano de fundo, torna-se transparente e você pode facilmente analisar o gráfico exposto. Ao mesmo tempo, você pode ver os valores usados ​​para o gerenciamento de scripts de negociação nesta guia.


Painel minimizado.


Minimizar o painel em um clique torna completamente intrusivo e permite ao comerciante ver facilmente todo o gráfico.


Downloads (ver 2.11, 2017-11-08)


Instalação.


Para instalar o indicador, certifique-se de copiar todos os três arquivos para / MQL4 / Indicadores / ou / MQL5 / Indicadores / (se você estiver no MetaTrader 5) ou para a mesma subpasta lá:


Define. mqh PositionSizeCalculator. mq4 ou PositionSizeCalculator. mq5 PositionSizeCalculator. mqh.


Você precisa compilar PositionSizeCalculator. mq4 (ou PositionSizeCalculator. mq5) e não os outros dois.


Script de negociação.


Você pode usar a saída de tamanho de posição desse indicador para abrir negociações manualmente na mesma plataforma ou em alguma outra plataforma. Além disso, você pode usar um script de negociação personalizado que abrirá negociações com base no tamanho da posição calculada e com os níveis de entrada, SL e TP fornecidos. Basta copiá-lo para / MQL4 / Scripts / (ou / MQL5 / Scripts /) subpasta da pasta de dados da sua plataforma. Após a compilação, ele estará disponível na subaquecadeira do Navegador do seu terminal comercial em Scripts como PSC-Trader. Você também pode definir uma tecla de atalho para executar esse script se desejar abrir pedidos muito rápido. O comportamento do script é controlado através da guia Script da Calculadora de Tamanho de Posição.


Script de download (ver. 1.05, 2017-08-25)


Discussão.


Atenção! Se você não sabe como instalar este indicador, leia o Tutorial de Indicadores MetaTrader.


Você tem alguma sugestão ou dúvida sobre este indicador? Você sempre pode discutir a Calculadora de Tamanho de Posição com outros comerciantes e programadores MQL no fórum.


Você também pode se inscrever no nosso boletim mensal para manter-se atualizado sobre mudanças futuras no indicador da Calculadora de Tamanho de Posição.


2.11 & mdash; 2017-11-08.


Corrigido um erro que impediu a inicialização adequada do painel (por exemplo, o estado do botão Pending / Instant errado, dois painéis que aparecem após a aplicação do modelo, etc.). Corrigido um erro na versão MT5 que impediu a alteração adequada dos parâmetros de entrada.


2.10 & mdash; 2017-10-12.


A localização do painel agora permanecerá inalterada ao minimizá-la e maximizá-la. Alterar os parâmetros de entrada do indicador Risk, EntryType, Commission e Commentary agora atualizará os respectivos campos de painel sem a necessidade de reconectar o indicador. Corrigido um erro com os rótulos e mdash; eles agora desaparecerão imediatamente quando o parâmetro ShowLineLabels for alterado para falso.


2.09 & mdash; 2017-08-31.


Os parâmetros de entrada agora têm prioridade ao alterar as configurações (cor / estilo / largura) das linhas (entrada / SL / TP). Isso corrige um bug que fez com que as linhas permanecessem inalteradas ao atualizar as entradas. Se quiser alterar a aparência das linhas, faça isso através dos parâmetros de entrada do indicador. Corrigido um erro quando, somente na versão MT5, as cores do rótulo da linha dependiam dos parâmetros de entrada das cores da linha e não dos parâmetros de entrada das cores do rótulo.


2.08 & mdash; 2017-08-25.


Adicionou persistência de localização, status e parâmetros do painel através de mudanças de perfil de gráfico. Exibição de valor de pip adicional opcional. Código de moeda de conta adicionada perto da exibição de recompensa. Corrigido um bug menor com o botão hide / show lines. A versão MT5 do script PSC-Trader 1.04 ou superior não funcionará com as versões de calculadora 2.08 e mais recentes.


2.07 & mdash; 2017-07-24.


Adicionado o multiplicador do botão de lucro para o ajuste rápido de TP. Exibição espalhada adicionada na legenda do painel. NB: Ele usa carrapatos, não pips padrão. Parâmetro de entrada adicionado para fundos adicionais a serem aplicados ao tamanho da conta. Parâmetros padrão adicionados (podem ser salvos em modelos de gráfico): Comissão, Comentário de Ordem, Multiplicador de Aproveitamento, Spread Show, Fundos Adicionais. Corrigido um erro com a legenda do painel desaparecendo acima do limite superior da tela.


2.06 & mdash; 2017-03-14.


Corrigido um bug com a forma como o painel lembra seu estado minimizado / maximizado.


2.05 & mdash; 2017-02-18.


Corrigido dois possíveis divisão por zero erros.


2.04 & mdash; 2016-12-21.


Adicionado a escala DPI para displays de alta resolução. Adicionado o número mágico e o comentário da ordem para o script de negociação. Parâmetro de entrada HideAccSize para compacidade reduzido. Parámetros de entrada de risco reintegrado e EntryType para conveniência do modelo. Corrigido erros de compilação nas construções MT4 / MT5 mais recentes. Corrigido um erro com contagem de casas decimais incorretas para taxas de swap nominais. As linhas de SL / entrada não são mais salvas nos modelos.


2.03 & mdash; 2016-11-11.


Adicionado 3º estado no botão de equilíbrio: Equilíbrio - CPR. Guia adicionado com detalhes do Swaps. Guia adicionado com configurações de script. O painel agora lembra seu estado minimizado / maximizado e posição X / Y. Adicionado o parâmetro de entrada PanelOnTopOfChart. Atualização de exibição adicionada no temporizador. Corrigido o erro com a linha TP mostrada na parte superior do painel ao adicionar o TP através do botão. Corrigido bug com desinitialização na alteração de parâmetros e recompilação. Corrigido bug com cálculo de margem ao usar alavancagem personalizada. Execução otimizada (removida chamadas MarketInfo () desnecessárias).


2.02 & mdash; 2016-09-23.


Corrigido o erro com o painel desaparecendo após a mudança do prazo.


2.01 & mdash; 2016-09-20.


Exibição de alavanca do Símbolo adicionado para a guia Margem. Erro de redimensionamento do painel fixo. Corrigido erro de painel duplicado. Interface otimizada. Código otimizado.


2.00 & mdash; 2016-09-07.


Primeira versão do PSC com interface de painel gráfico.


Legacy version.


A versão legada da Calculadora de Tamanho de Posição é a versão de texto do mesmo indicador que foi desenvolvido e suportado durante 2012-2016. Ainda é totalmente funcional e é compatível com as versões mais recentes da plataforma MetaTrader.


É menos poderoso e tem uma interface mais complexa do que a versão do painel atual, mas ainda pode fazer o trabalho - calcule o tamanho da posição com base nos níveis de entrada / parada-perda, tolerância ao risco e os dados atuais do mercado, tais como tamanho da conta e moeda e o preço da moeda da cotação do par negociado relativamente à moeda da conta.


O resultado é exibido como um rótulo de texto na janela de gráfico principal ou separada. Os comerciantes podem ajustar muitos parâmetros, tanto para cálculo quanto para exibição.


Você pode escolher a versão legada do PSC sobre a gráfica, se preferir. No entanto, o primeiro não é mais desenvolvido, embora os relatórios de erros sejam considerados. Abaixo, segue a descrição da versão legada.


Parâmetros de entrada.


ShowPortfolioRisk (default = false) - se for verdade, o risco do portfólio será calculado com base em posições abertas e / ou ordens. ShowMargin (padrão = false) - se for verdade, as informações de margem para a posição planejada serão mostradas. EntryType (padrão = Instantâneo) - se Instantâneo, o nível de entrada rastreará a taxa atual de Ask / Bid; se Pendente, a entrada é móvel e o aviso é emitido se a entrada estiver muito próxima da taxa atual. EntryLevel (padrão = 0) - preço de entrada da posição planejada. StopLossLevel (padrão = 0) - preço de parada-perda de posição planejada. TakeProfitLevel (padrão = 0) - preço planejado de lucro de posição. É opcional e é usado apenas no cálculo da razão de recompensa / risco. Risco (padrão = 1) - risco tolerado em pontos percentuais do saldo da conta / patrimônio líquido. MoneyRisk (padrão = 0) - risco tolerado na moeda da conta. CommissionPerLot (padrão = 0) - a comissão do seu corretor por lote cobrado na moeda da conta. Insira o valor cobrado por um lado da negociação, e não a volta. UseMoneyInsteadOfPercentage (padrão = false) - se verdadeiro, então o tamanho da posição será calculado com base na tolerância ao risco dada em dinheiro e não em porcentagem. UseEquityInsteadOfBalance (padrão = false) - se verdadeiro, então o patrimônio da conta é usado em vez do saldo nos cálculos. DeleteLines (default = false) - se for verdade, as linhas de entrada e Stop-Loss serão excluídas na desinitialização. Além disso, exclui as linhas antigas na inicialização. Caso contrário, ele deixará as linhas no gráfico, então os níveis podem ser restaurados na inicialização do indicador subsequente. CountPendingOrders (default = false) - se for verdade, o cálculo do risco da carteira envolverá pedidos pendentes. IgnoreOrdersWithoutStopLoss (padrão = false) - se verdadeiro, os pedidos e as posições sem stop-loss não serão ignorados no cálculo do risco do portfólio.


Compactação.


HideAccSize (padrão = false) - se for verdade, a linha do tamanho da conta não será exibida. HideSecondRisk (padrão = false) - se for verdade, a segunda linha de risco não será mostrada. HideEmpty (padrão = false) - se verdadeiro, a linha vazia antes do divisor não será mostrada. ShowLineLabels (padrão = verdadeiro) - se true, SL e TP distância em pips serão mostradas abaixo stop-loss e take-profit lines. DrawTextAsBackground (padrão = false) - se verdadeiro, todos os objetos gráficos do rótulo de texto usados ​​pelo indicador serão desenhados como plano de fundo. Pode ser útil se você quiser impedir que o indicador obscureça o gráfico.


entry_font_color (default = clrBlue) - cor da fonte para a exibição do nível de entrada. sl_font_color (default = clrLime) - cor da fonte para a exibição do nível stop-loss. sl_label_font_color (default = clrLime) - cor da fonte para as etiquetas de linha stop-loss. tp_font_color (default = clrYellow) - cor da fonte para exibição de nível de lucro. tp_label_font_color (default = clrYellow) - cor de fonte para rótulos de linha de lucro. ps_font_color (default = clrRed) - cor da fonte do resultado do tamanho da posição. rp_font_color (default = clrLightBlue) - cor da fonte para exibição de porcentagem de risco. balance_font_color (padrão = clrLightBlue) - cor da fonte para a exibição do tamanho da conta. rmm_font_color (padrão = clrLightBlue) - cor da fonte para exibição de dinheiro de risco. margin_font_color (padrão = clrSlateBlue) - cor da fonte para exibição de margem. stopout_font_color (default = clrRed) - cor da fonte para stop-out ou & # 39; não dinheiro suficiente exibição de aviso. pp_font_color (default = clrLightBlue) - cor da fonte para exibição de lucro potencial. rr_font_color (default = clrYellow) - cor da fonte para exibição de razão de recompensa / risco. div_font_color (default = clrSlateGray) - cor da fonte para divisor de texto / cabeçalho. font_size (padrão = 12) - tamanho da fonte do texto exibido. font_face (default = "Courier") - face da fonte do indicador.


canto (padrão = CORNER_LEFT_UPPER) - localização para o texto do indicador. Em MT4: 0 - para o canto superior esquerdo, 1 - superior direita, 2 - inferior esquerda, 3 - inferior direita. No MT5, é bastante óbvio. distance_x (padrão = 10) - distância horizontal do canto ao texto do indicador. distance_y (padrão = 15) - distância vertical do canto ao texto do indicador. line_height (padrão = 15) - altura da linha para saída. Mude-o com a face e o tamanho da fonte.


entry_line_color (default = clrBlue) - cor da linha de entrada. stoploss_line_color (default = clrLime) - cor da linha stop-loss. takeprofit_line_color (default = clrYellow) - cor da linha de lucro e a relação recompensa / risco. entry_line_style (padrão = STYLE_SOLID) - estilo de linha de entrada. Stoploss_line_style (padrão = STYLE_SOLID) - estilo de linha stop-loss. takeprofit_line_style (padrão = STYLE_SOLID) - estilo de linha de lucro. entry_line_width (padrão = 1) - largura da linha de entrada. stoploss_line_width (padrão = 1) - largura da linha stop-loss. takeprofit_line_width (padrão = 1) - largura da linha de lucro.


Diversos.


MaxNumberLength (padrão = 14) - o número máximo esperado de dígitos nos valores exibidos.


Capturas de tela.


Janela principal.


Janela separada.


Usando o indicador.


Obviamente, esse indicador não é adequado para geração de sinais de negociação. Seu objetivo é ajudar os comerciantes de Forex a calcular o tamanho da posição para o tamanho de risco permitido e os parâmetros de posição dados.


Se os parâmetros de entrada EntryLevel e StopLossLevel estiverem em zero, este indicador tentará colocá-los em alguns níveis locais. Você pode arrastar as linhas de entrada / parada-perda para cima e para baixo diretamente no gráfico. O valor do tamanho da posição é recalculado a cada marca e em cada movimento de linha.


Um comerciante também pode definir o parâmetro de entrada TakeProfitLevel para ver a relação de recompensa / risco calculada juntamente com o tamanho da posição.


Além disso, esse indicador pode rastrear todo o risco do portfólio com base em negociações abertas e pedidos pendentes. No entanto, o rastreamento de risco é bastante limitado com esse indicador. Recomenda-se a utilização de uma Calculadora de Riscos separada com o objetivo de análise de risco.


Você também pode usá-lo para ver a margem necessária e as mudanças esperadas na margem com base no tamanho calculado da posição.


Você também pode facilitar o comércio com base no tamanho da posição calculada. Basta baixar o nosso script MetaTrader gratuito para fazer pedidos com base na saída desta calculadora.


Eu mudo os parâmetros de entrada StopLossLevel, TakeProfitLevel ou EntryLevel, mas os valores de saída não mudam e as linhas permanecem em seus níveis antigos. Por que aconteceu e como faço para corrigir isso?


Isso acontece porque o parâmetro de entrada DeleteLines está definido como falso. Isso ajuda a preservar os valores de nível definidos movendo as linhas. Se desejar que as linhas sejam atualizadas de acordo com os parâmetros de entrada, defina DeleteLines como true ou elimine as linhas manualmente.


O que é um pedido de lucro?


Compreender como sair quando o mercado é favorável.


O que é uma ordem de lucro?


Uma ordem de lucro é uma ordem que fecha o seu comércio, uma vez que atinge um certo nível de lucro. Quando a sua ordem de lucro é atingida em um comércio, o comércio é fechado pelo valor de mercado atual. As ordens de lucro também são chamadas de ordens limitadas.


Por que é usado estrategicamente?


A ordem de lucro é geralmente agrupada com uma perda de parada que ajuda a definir seu risco: recompensa.


Um risco para recompensar um tamanho de comércio adequado pode ir além da estratégia de negociação para determinar o sucesso que você tem nos mercados. Portanto, uma ordem de lucro para você permite que você limite seu risco ou exposição ao mercado ao sair do seu comércio, assim que o mercado imprima um preço favorável para você e não permaneça mais.


Muitas vezes, a curto prazo, a estratégia de um comerciante é melhor se obter uma ordem de lucro para esse comerciante. Uma estratégia popular é usar pontos de pivô ou alcance verdadeiro médio para ajudar a definir um nível de ordem de lucro apropriado. Quando um comerciante de curto prazo não tem um objetivo de lucro, eles podem rapidamente ver os ganhos que eles esperam perceber que escapam por não ter uma boa compreensão sobre quando sair.


A minha estratégia preferida para um alvo de lucro sem receita intradiária é usar o intervalo verdadeiro médio mais um extremo noturno. Outro método preferido é um ponto de pivô diário ou semanal.


Estes níveis são frequentemente extremos relativos e se o mercado atinge esse nível, o retracement pode acontecer e a saída desses níveis geralmente proporciona uma saída favorável.


Você deve usar um pedido de lucro?


Embora cada comerciante seja diferente em termos de perfil de risco e tempo no comércio, há questões-chave que você pode pedir para determinar se você deve ou não usar uma ordem de lucro.


Primeiro, se você é um comerciante Swinger de longo prazo, é provável que você venha a aproveitar as tendências a mais longo prazo. Os comerciantes de tendências que usam objetivos de lucro são muitas vezes frustrados quando reconheceram uma boa tendência e saem muito cedo. Este cenário exato aconteceu comigo no outono de 2014 quando eu vendia o iene japonês e tinha múltiplos objetivos de lucro antes de 1000 pip mover em meu favor de comércio que eu não percebi por causa de uma ordem de lucro.


Embora o mercado esteja variando, as ordens de lucro geralmente são preferidas. Isso ocorre porque os níveis de resistência geralmente impedem os avanços de preços e os níveis de suporte geralmente mantêm as quedas de preços. Portanto, se você estiver comprando baixos movimentos de preços até resistência em um mercado vinculado à faixa, uma ordem de lucro para obter um preço elevado é desejável antes do mercado se aproximar mais ou abaixo do seu ponto de entrada.


Qual indicador pode ajudá-lo a decidir quando usar um pedido de lucro?


Existem muitos indicadores que podem ajudá-lo a ver quando uma tendência está em jogo, como uma média móvel ou mesmo o índice de força relativa. No entanto, um indicador esperançoso que os novos comerciantes desfrutam é o índice direcional médio ou ADX. O ADX ajuda você a ver em uma escala de 0 a 100 quão agressivamente uma tendência em Paris.


Os níveis acima de 30 indicam um par de tendências agressivas e favorecem não usar uma ordem de lucro.


As leituras de ADX abaixo de 30 indicam que o mercado é variável e as ordens de lucro são provavelmente uma ferramenta melhor do que se sentar em um comércio e tentar tempo de saída com base no que "se sente bem".


Como colocar paradas de perdas e tirar lucros usando uma estratégia máxima.


Ao entrar em um comércio, como você escolhe o ponto da perda de parada e ganha lucro? Claramente, essa decisão terá um impacto sobre a rentabilidade de seus negócios. No entanto, você sabia que a colocação de seus níveis de saída pode realmente ter mais influência na sua rentabilidade do que a decisão sobre qual direção comercial?


No mercado de forex volátil, é realmente verdade. Dado o quão importante é essa decisão, é surpreendente o quão pouco pensou que muitos comerciantes dariam a esse componente de seu comércio.


Neste artigo, quero explicar uma estratégia quantitativa que o ajudará a selecionar paradas e a obter níveis de lucro para obter o máximo lucro. Eu também quero desconsiderar alguns dos mal-entendidos comuns em torno das configurações de risco-recompensa e mostrar como os seguintes conselhos pobres podem arruinar um sistema comercial potencialmente bom.


Se você quiser apenas tentar a calculadora de lucro stop loss / take e não está interessado na teoria, clique aqui.


Por que Adivinar Parar Perdas e Tornar Lucros é um Plano de Falha.


Uma posição comercial normalmente sairá em um dos dois pontos. Depois de entrar no comércio, quer:


O preço atinge o lucro obtido (TP), e o comércio termina em lucro. O preço atinge a perda de parada (SL), e o comércio termina com uma perda.


Ao decidir as saídas do comércio, às vezes é tentador fazer um palpite educado. Alguns comerciantes usam características técnicas, como cartas de velas, tendências, resistências e suporte. Outros simplesmente escolhem uma relação fixa de lucro alvo para parar a perda.


Embora isso seja muito comum, existem várias desvantagens:


É propenso a erros. Quando você adivinha os níveis de saída para um comércio, é muito fácil superestimar ou subestimar os movimentos de preços. Não é repetível e isso torna muito difícil analisar ou melhorar o desempenho. Quando não há lógica ou metodologia atrás dos canais de pontos de saída, você nunca sabe se uma falha foi devido a uma combinação TP / SL mal calculada ou porque sua estratégia não está funcionando. Os comerciantes costumam se mover pára para cima ou para baixo em negócios subseqüentes com base em tentativa e erro tentando encontrar um "ponto doce". É muito difícil automatizar métodos que dependem do instinto intestinal ou de outras decisões subjetivas.


Não há nada de errado em usar a análise técnica como um guia para o cronograma da entrada comercial, nem para julgar o quão longe o preço pode se mover. Pelo contrário, o método que descrevo abaixo é usado ao lado de gráficos e análises fundamentais.


A Falácia de Usar SL / TP como Proxy Risk-Reward.


Os fóruns de negociação de Forex estão cheios de bons significados, ainda que conselhos equivocados sobre configurações de risco-recompensas e como definir suas perdas de parada. Infelizmente, muitas dessas pessoas não conseguem entender o verdadeiro significado de risco ou recompensa.


A idéia de que simplesmente configurar sua parada de perda menor do que seus lucros de tirar proveito de uma certa recompensa de risco é um absurdo completo.


O uso de risco / recompensa para definir sua entrada comercial e saídas não faz sentido, a menos que você conheça a probabilidade de resultados em um determinado comércio.


Tome este exemplo simples. Suponha que haja uma loteria custando US $ 1 para entrar. O prêmio é de US $ 1 milhão. Pela definição do comerciante ingênuo, isso dá:


Rácio de recompensa / Risco: 1.000.000.


Com essa definição, isso parece um jogo fantástico para jogar. No entanto, suponha que saibamos que dois milhões de pessoas entram na loteria. Isso faz com que as chances de ganhar 1: 2.000.000 (um em dois milhões). Agora sabemos as probabilidades, podemos calcular a verdadeira recompensa de risco:


Em outras palavras, por cada $ 1 que você coloca nesta loteria, você esperaria receber 50 centavos de volta. A maioria concordaria que este não é um jogo muito bom. Mesmo que, no cálculo do comerciante ingênuo, tivesse uma razão de recompensa para risco de um milhão.


Este exemplo destaca a falácia de usar paradas e tirar lucros como uma medida de seu risco / recompensa.


Em um comércio, temos o risco / recompensa real definido por:


E (win) é o retorno esperado no comércio, ou seja, o seu valor de lucro. E (perder) é o valor da perda de stop.


O relacionamento risco-recompensa.


A primeira coisa a perceber sobre a definição de pontos de saída comercial é que a quantidade de lucro que deseja fazer em um comércio é diretamente proporcional ao risco que você precisará tomar para capturar esse lucro.


Isso não é uma suposição, mas sim um fato matemático.


Faça o seguinte cenário de negociação. Diga, por exemplo, que um comerciante vê uma tendência ascendente no gráfico horário para USD / JPY (veja o gráfico abaixo). The trend has been in place for around one day, so the trader thinks there is a good opportunity for profit.


He decides on the following setup:


Now let’s analyze this trade setup in more detail. The first thing to notice is the trader wants to capture a profit of 70 pips on the trade.


So what is wrong with this setup?


Based on recent price data for this currency pair, we can calculate that USD/JPY has an hourly volatility of 26.4 pips. That means, on average, the movement of the price over one hour is 26.4 pips. Sometimes more, sometimes less but this is the average.


This means the trader is trying to profit by 70 pips. In reality, he is actually betting against the market because he is relying on the fact that the price will not descend more than 20 pips from the open price during the life of the trade. That could be up to 30 hours if the current trend continues (from Figure 1).


Stop Loss Advisor.


Chart Indicator.


Choosing the right stop loss placement is a critical decision but it's often left to chance. This Metatrader tool advises where to place stops and take profits on any order. Just set the desired trade time and win ratio and the indicator does the rest.


Given the hourly volatility in USD/JPY is currently over 26 pips, this much stability in price would be highly unlikely. While the trade has a very low maximum loss (20 pips), which might seem like a plus, the chances of it finishing in profit are extremely low.


If we know on average that the price of USD/JPY moves up or down by 26.4 pips every hour, why would it do anything different for this particular trade? The answer is that it would not and the trade would probably strike the stop loss for that reason.


Due to the volatility in FX, this is true even if the predicted trend continues.


The basic problem with the setup was that trader was trying to capture too much profit without accounting for volatility.


Remember that in forex, volatility is not something you can avoid by careful trade picking or a clever strategy. It is an absolute certainty.


That’s why it is far better to make volatility work for you rather than against you.


The question then is when setting up a trade, how do you know where to place the exit points other than just taking a wild guess? The following will explain how to do this.


Calculating Stop Losses and Take Profits Using Maximals.


The method I prefer to use is based on a technique known as maximals . What this does is give a precise formula to work out the probability of the price moving a certain distance from the open during a given time.


This model gives a complete distribution of price moves for a given volatility. This method works for any timeframe, minutes hours or even months. It also works equally well with either historical (past) or implied (future) volatility.


In deciding trade exit points, there are three things to consider:


The expected timeframe of the trade (related to profit target) The market trending behavior The profit target.


Let’s take a look at each of these.


Step 1: The Time Frame.


The type of trader you are will have a bearing on the time that your trades need to stay open to reach your profit target.


A day trader or a scalper would hold a position for hours, minutes or even seconds. At the other extreme, a carry trader holds positions for weeks, or months. For the carry trader, capital gain on the trade is usually less important. The goal is to hold the position open for as long as possible to accumulate interest.


Clearly then, profit and time are linked. So in setting your trade exit points, the first step is know precisely how far the price is likely to move in a given timeframe. Once you know this, you will be able to decide a realistic profit target.


Faça o seguinte exemplo. Figure 2 below shows EUR/USD over five minute intervals (M5). The chart spans a 24-hour period.


The first thing I do is calculate the volatility over my chosen period. From the open/close data, I calculate that to be just over 10 pips per 5-minute period.


Once I know how volatile the market is, I can project the price forwards to work out the probability of a certain move x hours (defined by 5-minute intervals) into the future.


To do this, I need to calculate what are known as maximal curves (see box for an explanation). Briefly, taking the volatility as input these curves will tell me the probability of a maximum price (either up or down) being reached.


Figure 3 below shows the maximal curves calculated for 1 hour to 24 hours ahead for the EUR/USD chart.


For example, looking at the maximal curve for 24 hours (top line), I know the price has a 76.8% probability of moving 62 pips within a 24-hour period. Whereas it has a 40% probability of moving more than 141 pips in that same time frame.


The Random Walk.


I only give a brief description here of what are rather complex calculations. The best market model we have for forex is the random step process or random walk.


This just means that in every interval, the market moves by a random step value. The price can slant towards an uptrend or a downtrend with a drift parameter.


In essence, the longer the time interval and the greater the volatility, the further the price can move from the existing level.


From these we can calculate the probability of a price change over any length of time.


Hedge funds and professional traders often use maximal curves or some variant thereof. The reason they are so important is that they allow you to setup your trade accurately in terms of time and profit capture. The curve tells you if the amount of profit you want to make is reasonable in terms of the time span.


For example, I know if I wanted to capture a 300-pip movement, I would likely be waiting roughly ten-days based on the current volatility level. This is because from the curve, there is only a 10% chance of the price moving 300 pips in any 24-hour period.


Step 2: The Market.


If the market is flat, or trending in a certain direction this will have a strong bearing on where you place your stops and profits. In terms of the model, it means that we have an asymmetric distribution of price movements.


There are several ways to allow for this, but the simplest and the one I prefer is to use a different volatility for the upside and downside price model.


The statistical skew is useful here because it tells you how asymmetric the volatility distribution is and allows you to add an upwards/downwards drift.


Random walk – not trending.


Trend up – positive drift.


Trend down – negative drift.


With the random walk, up and down price moves are equally likely. When trending, two different sets of maximal curves are needed, one for up moves and another for down.


Step 3: The Profit Target.


Having decided on a timeframe and on the trending characteristics, I can now choose an appropriate profit target that will give my trade a high win probability.


Say I’ve checked the chart, and decided to buy at the current market level, and I decide my target will be +40 pips and my cut off will be -100 pips.


The table below gives the probability of my exit points being reached in each of the three market conditions.


Trend +: Trend in same direction.


Trend & # 8211; : Trend reverses direction.


Flat : Sideways market.


My trade setup is then:


Take profit +40 pips 82% probability of reaching TP within 24 hours.


Stop loss -100 pips 57% probability of reaching SL within 24 hours.


What this analysis tells me is that EUR/USD has a certain chance of reaching the TP/SL levels within my trade timeframe. But it doesn’t tell me which is reached first.


What I would also like to see is the probability of the trade actually making a profit or loss. The price could reach the stop first, and then the take profit. In that case, my trade would finish with a loss. It could alternatively reach the take profit first, in which case it wins. Alternatively, it may neither reach the stop nor take profit level in which case the trade remains open.


Based on this analysis I can use standard probability theory to work out each outcome for the trade:


My best outcome happens if the short-term trend reverses, that is if the market rises and makes my buy profitable. The worst outcome happens if the trend continues in the same direction ( trend+ ). In that case, I have a 42% chance of the trade ending in profit, and a 47% chance of it ending in a loss.


When I set the trade up what I am looking for is the chance of the take profit being reached, to be at least 1.5x the chance of the stop being reached. This will give a win ratio of around 70% or higher.


Also, remember that if you move the stop loss or take profit while the trade is open that gives you an entirely different set of outcomes.


Analyzing the Trade.


To see how the stop and take profit levels shift for different trading timeframes, I can work out an envelope, which will give me a fixed win ratio. The graph below in Figure 4 shows this plotted out for my example trade.


From this, I can see that if I were trading over a 12-hour period, I could choose to set:


That would achieve the same win ratio. It would also give a lower profit of just +26.9 pips.


With my 24-hour timeframe, I can also see how the possible outcomes will change over time.


The chart below (Figure 5) shows the probability of a win, a loss, or the trade remaining open over 24 hours – the expected lifetime of my trade.


From the chart, I can see it has the highest chance of closing in profit within the first 90 minutes of being opened. Thereafter, the chance of a loss rises significantly.


This is because the maximal curves become flatter for longer periods. If you check Figure 3 again, you will see that the curves for 24-hours and 18 hours are quite similar, whereas there is a big difference between the 1 hour and 6-hour curves. The highest differential is in the first few intervals where the curves are steepest.


Gerenciamento de dinheiro.


As shown above, your stop distances have to work in terms of your profit target and the volatility levels.


New traders often place stop losses too tight, thinking they are reducing risk. The usual reason for this is that they are using far too much leverage and try to reduce exposure by placing limits on individual trades. It is better to manage risk through trade size (exposure) than to use stop losses which don’t make sense.


Suppose you see a trading opportunity, and the potential drawdown needs to be 300 pips to capture that profit. If 300 pips is not an acceptable loss, then it is better to reduce leverage and adjust your trade size downwards to give you more flexibility.


Instead of trading one lot, consider trading in one tenth of a lot units or lower.


What is most important is that a potential loss (or drawdown amount) on a trade should be manageable within your account. This should be part of an overall money management strategy so that you know your loss limits and those losses, even in succession will not cause a margin call or bankrupt your account.


Remember, over-leverage is the #1 killer of new forex traders .


Stop Loss Calculator.


I provide the Excel spreadsheet with all calculations here so that you can download it and try this system out for yourself.


For instructions on how to use the sheet, please see here. The spreadsheet does not have the live price feed which the MT4 indicator uses, but you can manually paste in historical price data from MetaTrader to work out optimum take profit and stop losses in the same way I’ve explained.


The MetaTrader indicator, which does the same calculations in real time and includes additional features is also available. Veja abaixo para mais detalhes.


Gostaria de se manter informado?


Negociar sem perdas pode soar como o mais arriscado que existe. Um pouco como ir ao alpinismo. Como tirar o máximo partido dos tipos de pedidos de Forex.


As ordens são muitas vezes vistas como nada mais do que um show paralelo para o negócio real da negociação. No entanto, o alcance. Value at Risk: How to Calculate Forex Risk.


Para gerenciar esse risco, o que alguns fazem é um adivinho simples para estimar a perda potencial envolvida. Por que a maioria das estratégias da linha de tendências falham.


Tendências são tudo sobre timing. Tempo que você pode capturar uma forte jogada no mercado. Day Trading Volume Breakouts.


Esta estratégia funciona através da detecção de fugas em EURUSD em momentos em que o volume está aumentando acentuadamente. Geralmente. The Engulfing Candlestick Trade & # 8211; Como é confiável?


Você pode ter notado que existem inúmeros artigos na internet que declaram que as estratégias envolventes são certezas. Keltner Channel Breakout Strategy.


A maneira clássica de trocar o canal Keltner é entrar no mercado à medida que o preço quebra acima ou abaixo.


I have hard time to reproduce your results.


I try to calculate the lowest curve -1HRS in Fig3.


I use your data from Fig2 – time step-5min with volatility 10 pips.


According to the the equation in the box :


for distance 0 pips I receive - P(Y12=0)=((FACT(12)/((2^12)*FACT(6)*FACT(6)))*100=22.56%


for distance m=2 (20pips) I receive - P(Y12=2)=(FACT(12)/((2^12)*FACT(7)*FACT(5)))*100=19.34%


Thank you for the interesting paper.


Can you share how do you calculate upside and downside volatilities?


Does Your Stop Loss/Take Profit indicator use the same statistical model of price distribution for probability calculations as the in Excel spreadsheet demo or a more complex one?


No they are different, please see the earlier replies on the same.


Thank you so much for your stoploss/take profit info. I am using an android phone and has also downloaded the sl/tp calculator, but cannot find the features i need from my android metatader. How can i do it?


thank you for your articles, this particularly and the spreadsheet that is a great tool in my opinion.


I would only need a punctualization: in the sheet “Proc”, the cell “Current price” is only used to calculate the TP and SL levels, right? I tried to enter very different prices but nothing changes in the results of probability to win/loose, ecc., only the SL/TP levels are recalculated. My question is: now on EURUSD for example we are at the top limit of a strongly ascending channel; if I buy now, how can the win ratio to be the same in the same period of time as if I’d buy at the middle of the channel or at the lower limit?


Obrigado pela sua resposta amável.


The spreadsheet is only a simplified demo and doesn’t take any of the live data feeds that the indicator does.


Obrigado por esta ótima publicação. I feel very confident about it.


I know that few years has passed since your writing, but I have a question: On ‘Proc’ sheet (D,34) you have a fixed constant of 0.85 – is there anything magical in it? Maybe my question is out of sense, and I’m truly sorry if it is.


This value isn’t used anywhere in the sheet.


Why I am getting lower “Set take profit at” than buy price? I am experimenting and set different currenct price values but not matter what – I am getting take profit which would not be really profit. Here is what I see:


I have my own system for using stop loss. I always use fibo ratios and never set any lower than the day pivot level. It works out most times.


Great post thank you.


Very reasonable and well suported thinking. But for what I understood wht woud be advisable in the specific example, would be to open the with that setting of SL/TP and close it with a loss or lock profits after 90 min to 1 hour, since after that time period, the increase of probability to hit the SL will augment dramatically. O que você acha?


Yes that’s exactly right the probability of either the stop or profit being hit could be much greater after a big move – these probabilities are changing every second. It would be a decision for the strategy being used as whether to move the stops or close as that point.


what if i want to have a unlimited take profit? for example i invest 300 on XRP and it hits 3000 usd. my profit is 2700 on the original investment of 300 so my max is 5700. is there a way of having a unlimited take profit if i want to keep letting my XRP grow? what if i want to have this grow until it reaches 1 million? will Etoro let me do that?


Hi Steve – Ótimo artigo! Could you please advise how the reward:risk is calculated. I am newbie and till now I was calculating reward:risk by just dividing TP pips/ SL pips, but learned that it is not right after reading your article. I am not able to get the mathematical figure shown in the excel sheet for the target win ratio I selected. Could you also please show with an example of how probability trade wins and probability trade losses are calculated. Muito obrigado.


I really like your article. I’m wondering, do you have a spreadsheet for calculating maximal curves? Like in Figure 3. I’ve downloaded the Stop Loss Calculator excel file, but this one is not there, or at least i cannot see it.


That graph is from a different spreadsheet. It may go in one of the online tools at some stage.


Olá Steve. I was looking for a solution for Stop Loss placement and came across your article. Thank you for what seems to be a great solution. I do not use MT4, but have been able to export the historical dat. My only challenge is that I cannot paste the data in the provided columns, as the cells are protected. How do I get around this? i. e. Can I get the password?


A password isn’t needed. This happens when you are pasting in too many rows for the range. Just clip the rows to the max number allowed and it should be fine.


Hi Steve, hope you are doing well 🙂 Awesome indicators – I love how everything is mathematically explained and makes great sense! (I have a math/engineering background). Already purchased a few of the indicators and looking for my next one to buy 🙂


For this Stop Loss/Take Profit indicator, is there any reason that 288 periods were used for generating the outputs?


I find that most trends on the pairs I trade move in 20-30 period cycles, so I use that as the sampling period so I can for example bring up a 15 min chart and have an SLTP value that coincides (rather than use a longer period and have to consult the shorter timeframe for SLTP values). Is that too short a period?


What would be cool is if shorter timeframe SLTP values could be displayed on the longer timeframe chart.


Hope what I wrote makes sense! Obrigado.


There’s no special reason for the period 288 other than it’s one complete day in the M5 chart. It’s also within the limits of where the calculations will work. About 20 to 1000 intervals is the optimum.


This is fascinating stuff. Is there any way to use the spreadsheet for equities?


I trade equities more than forex.


It should work on the short scale, day trading for example. You would probably need to do some scaling of the data in the spreadsheet depending on the price ranges.


“Instead of trading one lot, consider trading in one tenth of a lot units or lower.”


This is a basic principle in the art of trading.


A lot of people that are undercapitalized trade one full lot or futures contracts.


Although, trading more flexible units does not mean you are going to win…that is another story.


What formula do You use for the estimation of trending parameters from the data sample?


Which part are you referring to exactly?


The formula to estimate any trending bias is based on a measure of upward/downward volatility. In the examples above (maximal curves) a “flat market” model was used. This doesn’t mean no trending it just means there’s no prior assumption about direction of the trend.


Steve, thank you very much for this article. As per wikipedia ( en. wikipedia. org/wiki/Random_walk ), the second part of the factorial should be n-m, not m+n. Is this a typo, or I do miss something? Obrigado.


The formula I’ve shown in the box above is that for finding the probability of a maximum point being reached in a random walk – that is any point at or below the maximum. I checked this just now with the Wikipedia version and in fact unless n (the time you are looking forward) is very small the two formulas (n+m) or (n-m) give identical results. This is because of the symmetry of the combinatorial function. But the right one according to the reflection principle is (n+m). There’s also the special case to use (n + m + 1) where the parity is different in m and n. And because of the symmetry (m+n+1) is identical to (n-m). Again unless n is very small this won’t make much difference to the numbers if you use either (n+m) or (n-m).


Thanks a lot for the explanation. Could you also kindly explain how m is related with the 62 pips?


As I understand it:


n = total number of steps.


m = the number of steps needed to touch +62 pips.


In the formula we know what is the probability that the max will happen after m steps, but how is this related with +62 pips. How do we know that this is 62 pips and no more / less ? Obrigado.


The pip movement depends on the scaling factor in the random process. That scaling is governed by two things:


The time period for each step – for e. g. if it’s 5 minutes, 15-minutes, 1 hour or whatever.


And secondly the volatility because that will tell you the expected movement in the random process for a given time step.


From that you can work out the expected distance and convert to pips or percent.


Hi Steve do you happen to know the financial theory that happens to have a close connection with the stop loss order? artigo muito bom.


The underlying theory is most always based on stochastic probability models. This is used to characterize price volatility and risk. In the basic theory a characterization of volatility is found and this is then used as way to model the price development. That being in terms of a probability distribution that allows some kind of forward prediction. But there are plenty of others which cover more obscure areas.


There’s also distortion risk models which try to model long tail events. For example the process of stop losses distorting prices as certain levels are hit or of high-impact/low probability events that fall beyond conventional models.


Financial risk management and VAR theory is a good starting point.


Maybe you are planning mt5 version of this indicator? I already have mt4 version, but mt4 is a lot slower in backtesting.


Tenha um bom dia.


They said mt5 is faster. Cannot say have seen a difference yet in my backtesting but I guess it depends what you are doing.


There isn’t an MT5 version at the moment, maybe later on if there’s more demand for it.


A very interesting article.


On Feb 23 2015, you gave the equations for p(win), p(lose) & p(open) in an answer to BYO2000. Most of it makes sense to me, but can you please explain how to arrived at the equations for p(win first) and p(lose first).


Certo. This is a conditional probability using standard theory.


If the price touched both the stop loss and the take profit during a time frame then.


there are two distinct probabilities with that set: Either it touched the SL first or it touched the TP first.


during that period. Hence the two different cases to count for this.


Great job, but I personally don’t trust that much the random walk theory. It states, that future princes are normally distributed and the probability to take each value depends on the standard deviation (volatility in this case.)


Based on that, how can big price fluctuations be explained ? For example, taking random walk as an absolute truth, it would be extremely bizarre to see prices fluctuations above 3ơ (3 times the volatility) since probability is less than 1% but if you look at the market it has happen quite a lot.


If you required the specific examples let me know I will show you.


I want to know your opinion about this, and if is possible, have an idea of how efficient is this strategy when you use it.


I completely get where you’re coming from. A lot of people – especially technical traders – don’t agree with the RWM. That’s their opinion. I am not going to spend a lot time defending it as there are people out there who can do a lot better job than I can. Though what I can say is that much of the criticism I’ve seen is unjustified or just plain wrong. What you say above only holds true if you assume that volatility and drift in the model never changes. Actually though these components are changing all the time.


Volatility measuring is by definition lagging so you can never know what the instantaneous volatility is. You can only estimate it based on information available at the time. So when you say a 3x volatility move, what that really means is 3x what the volatility was in the past. Not what it is at a given instant. This is a limitation of measurement not the model. As I mentioned in the article implied volatility can give you a forward measure and that can be used instead.


So far RWM is the best and simplest explanation of market moves I have yet seen. If something better comes along I’ll be the first to use it. I’ve seen advanced simulators and I can tell you that you can’t tell the difference between them and any other price chart – every type of chart pattern is seen and is reproducible. The word “random” just seems to be a red flag to a lot of people. But the RWM has both a deterministic and non-deterministic part and it’s the deterministic part we try to discover and trade on.


Hi can you explain how to upload new metatrader data in the excel spread sheet please? Thanks your help is appreciated.


I would be grateful if you could perhaps give a more detailed explanation as to how you calculated the “maximals” table (as used in your Excel Worksheet).


At first glance, it does seem to be related to some form of cumulative function of the “p(Yn=m)” probability you mention in the “Random Walk” explanation box – maybe some kind of cumulative distribution function, but it is not described here.


I read the related material and links provided about the “Random Walk”, as well as other sources of information by different authors, but can’t seem to find anything that would explain how you calculated the “maximals” table.


The maximals are a forecast of how far the price is expected to move (maximal distance) over a certain time. That’s taken from the random walk model with or without a drift component. The drift gives the trend so that allows the model to forecast changes in different directions (other than a flat market). There are standard mathematical procedures for working this out and creating a discrete time-based probability distribution from it. From that distribution it’s possible to work out the probability of a price move within a certain time interval.


There’s some more discussion about it here. Duke uni also has a lot of good info on this subject. The above papers are giving an overview.


There’s something I don’t understand. Your chances of winning are higher (let’s say 68.3% to cite your example), but the amount you would win is lower (26.9) than the amount you lose (-67.3).


This leads to a negative expected return:


So, if you run this strategy many times you’ll end up losing money, right?


You also have to account for the probability of the trade still being open. There’s an 8% probability that the price doesn’t reach either the stop or take profit and that accounts for the missing value in the expectation. So the value (1-0.683) in your formula doesn’t account for all other outcomes which have to be integrated over to find the true expectation. There’s always a finite probability that the trade will be open however long you wait. If you look at figure 5 for example the p(open) graph gets smaller but it never quite becomes zero. In either case this is a truth of computation – it’s not something that applies just to this strategy.


Indeed, the expected profitability of a trade if I am not mistaken should be an integral of an asymmetric capped maximal curve. Have you per chance made this computation in your testing, as I think this is the most relevant quantity to optimize on?


Another thing is that this is still very simplistic in the sense that the construction of your stop loss and take profit are based on how you built your signal. My understanding is that the signal you built is a simplistic version of something along this line: if you feel that the market is overselling an asset (downward trend) you will buy (hence the trend+ and trend - that were not very intuitive on the first reading). Then wanting to build your asymmetric maximal curve makes sense since you look at an asymmetric volatility which kind of tell you if the trend was fundamentally stopping and the future was noise, I can still expect the market to trend lower by x pips due to underlying volatility. I am not sure the way you measure it though makes sense given that in fact, what you want to look at is the volatility of the price if there were no trend going on, which will give you limit that will be breached quickly if the trend was to continue and the prediction was wrong. I feel this is in a sense a better way to include the potential signal into your stop loss, as the stop loss should then be tighter but on a justifiable note.


Overall I quite like the ideas you expose here, but I feel the main point which is the expected return computed from the integration of maximal curve is missing, as this is what is verifiable in live trading or backtest.


The more interesting question to me is the reverse hypothesis. That being the maximum likelihood estimator (MLE) of the trend and volatility given a noisy sequence of prices. Because without knowing this any expected return would in any case be zero when you cannot make any prior assumption on trend direction (the deterministic) and you have a symmetric range of probabilities. Solutions to the MLE can be found but that does mean using Monte Carlo simulation or something similar since there are no closed forms to this problem. This is something we are working on.


Does that indicator work on anything for e. g. on CFD or just forex?


It should work on most instruments including CFDs: Metals, Oil and so on. If you have any problems just raise a support request.


i think if you use rrr like this, this %82 tp probability also cant do any help for our accounts,


but may be this is what us new traders want to hear, wide stop loss and tight take profit, it is alluring for newbies.


özkan (izmir/ Turkiye)


Nobody here is recommending an sl or any other value.


The article is an analysis of the stop loss placement and what result that is having on your rr and on probability winning or losing the trade.


If you had read further than para one you would understand your remark has no logic but is the view of the amateur.


Great article-thanks very much. Is the spreadsheet still active so that historical data can be copied, or has it been protected since the last posts? I have Excel 2010 but there is no apparent way to paste data in the Input tab.


Yes it is still active. No, it’s not locked. But to edit you will need to save a local copy. This is because Excel 2010 and later will disable edits for any spreadsheets downloaded from the web. If you are still having an issue with this please use the contact form to get in touch and I’ll take a look.


Thanks, the problem seemed to be with Excel 2010. I tried 2013 and it works fine.


Hi, I was wondering how the maximal curves are built using estimated volatility. given 5m volatility of 10pips, so volatility for 24hr = s5*sqrt(24*60/12)=0.01697pips. Then for P(X>=TP) we can use z = (x-mu)/s24 and Pr(z>=(TP-mu)/s24), for TP=40pips and mu=0, im not getting 82%probability but 100%. I’m not sure this is the right way to do it. Wondering if you could point me to how to build those curves?


Please see reply below.


Hi, nice article I’m trying to understand it. I have a question about how sample volatility is used in the calculation of maximal curves.


Am i supposed to approximate the binomial dist with std normal using z=(x-mu)/s = x/s if mu=0, s=0.001 then calculate P(z>c) where c is TP. So if s5=0.0010 per 5m, we get 24hr volatility as s24=s5*sqrt(24*60/5)=0.01697, if target price is 40pips then is P(x>=.0040) or using z, P(z>=0.0040/s24) but this doesn’t give me 82% chance of reaching TP?


Further, doing this only gives me the prob of z being above c at the “end” of the holding period. but that’s not what we want, we want to find P(z>c) at any intermediate time? Would be great if you could explain.


It is a cumulative probability of maximal distance traversed in a certain time. So by that definition it covers all intermediate times between such as P(z>c) in your notation. I would also calculate the 24 hour volatility directly if that is what you need, rather than trying to scale up from 5M timeframes.


Excuse me Steve,


is this spreadsheet valid only for the EURUSD pair? I tried to use it with AUDUSD values but got thousands pips large TP and SL… While with EURUSD values it works perfectly.


Yes it is compatible with AUD/USD. This problem is most likely due mixed data histories. Please ensure all of the old data is removed and reset the “pip value” selector.


Alternative you can use the MT4 indicator which is now available and does this for you:


This is a very detailed article and confirm to me what I thought when I approached the Forex market after a short period of trading. You mentioned at the end of the article that you have also an EA that make the same calculations of the TP/SL as your great Excel spreadsheet and I would be very happy to integrate it in my own EA used to trade.


Is it available for download free? Does it work on “live” data taken directly from MT4 without the need to export them?


Thank you very much for your answer and for your website!


Yes it can work with a live price feed. It could be made available as an MT indicator in the future – but that would depend on the interest as it would need to be recoded.


is this spreadsheet valid only for the Pounds pair?


It should work with any pair. If you’re importing data from Metatrader please make sure the sizing is correctly set in the data tab.


Hi, I can`t paste right, I mean when I copy historical data from MT4, and paste it to input as you said, there are no spaces between the comma, and it is not divided as on your picture. In your picture each cell gives one information like date, etc, but when I paste it the information starts in one cell and ends in another. I have new excel, what should I do?


If your data is all in one column as it sounds then you need to use the “text to column” function in Excel to format it into separate cells. If you saved it and opened it as a csv file it would normally do this for you.


One of the best articles I’ve found on stop and profit targets. Thanks for sharing your knowledge with a newbie like me!


problem with excel file can you upload it again?


You will need Excel 2010 or later otherwise some of the features will not work.


Hi, I can`t paste the same as you when I use data from MT4. The numbers f. ex. start in one cell and end in the other. I have new excel. O que devo fazer?


That’s a very nice of you Mr. Steve. According to calculating volatility and RRR, I am wondering that as a day trader with a very short horizon period of investment. Ex. 5-15 Mins chart. This method could be potentially help any trades? Why I said so? What being said is that If I my trade set up were 2/1 RRR, which I have to set my SL at -200% and TP at +100%. In the long run, do you think this kind of statistic will help the trades to win? Literally, taking a smaller pips and widening a SL could really boost up a winning percentage which means that once I losses such any single trades I have to try to double up profitability to cover such losses. Here come to my question, in this kind of situation that I earlier mentioned, do you have any way to fix it? or if the theory you mentioned works, how could you adapt to use with scalping trader and day trader style?. Thank you very much for your consideration in advance.


It’s a good point and one I should have expanded on in the article. In my opinion it doesn’t make a lot of sense to have a fixed ratio of SL to TP for all cases. The choice should be dynamic because it depends entirely on the situation you are trading and the market conditions.


A breakout trade for example may have a low probability of success but a high payoff. As well it is usually clear after a short time whether the breakout is going to happen or not. In that case it doesn’t make much sense to allow say a 2:1 SL/TP which would allow a big drawdown. When in fact if the draw happens you already know the setup has failed. In other situations the reverse may be true.


Ótimo artigo. Can you explain why you calculate volatility on open/close data? “From the open/close data, I calculate that to be just over 10 pips per 5-minute period.” Why don’t you use the ATR or high/low data? I’m trading daily charts, so the difference is quite large.


You can use ATR. You can also use the Bollinger bandwidth as a vol measure. Whichever you use you should get roughly the same ratio of TP/SL however because the measures are relative to each other and not absolute. If you need to calculate a specific probability then in this case some calibration is needed depending on which vol metric is being used.


thank you for your good strategy . i have question : i tried to calculate probability for volatility of 10 pip per 5 min.


for 1 hour for distance 51. which gave us n=12 and m=6 for box formula. but i calculate 5% for probability and from your curves it seems true percentage is 15% can you tell me why my result are different ?


Your value seems too low. Because these are probability functions the curves need to be worked out as a cumulative value of the function (not the point value) over the move distance you are looking at.


Probably the best forex article I ever read.


Hi, very nice and useful article. I was wondering if it was possible to have a numerical example of how to calculate the probability using random walk. In your example, are you assuming a drift component=1? Or less?


Agradeço antecipadamente. Bye.


“You can have the price rising then falling in which case it passes a TP AND SL. For eg. If you have very close TP/SL then these have near 100% chances of being hit.” If you imagine a space of outcomes you have.


P(Neither TP nor SL hit)”


EURNZD, EURAUD, EURGBP, EURCAD whipsaw upwards before collapsing. The greatest one was the EURGBP this time round.


(One either widens their SLs 150-200pips for crosses or tightened stops risked a larger loss when it hits the SL. Other than staying out completely.


Prior to ECB, EURCAD went to low of 1.36945. The whipsaw touched SL of 1.3765 before retracing downwards. For a short position, adding a Stop Loss gave away profit of 70 pips. Does assigning probability described applies to risk events like ECB?


(The EURGBP is now back at the same level, though it whipsawed the most. )


What’s your view about contrarian trades (that agrees with TA at the time you look at it)? example would you have longed the EURNZD on Mar 5, would using this probability analysis tell one not to long but short it instead although the charts are long – Measuring the strength/continuity of reversal moves.


-Does assigning probability described applies to risk events like ECB?


Not unless these events occur frequently within the time sample you are looking at, but even then its unlikely you could ever model them to predict an outcome. Major news releases – those with very high impact – are by their nature unpredictable and can/will change the trajectory of the price in ways that are beyond normal statistically analysis.


-What’s your view about contrarian trades (that agrees with TA at the time you look at it)? example would you have longed the EURNZD.


Absolutely, contrarian trades can and do work – but then there are limits, I would be cautious about trading contrarian against strong fundamentals. For eg, I wouldn’t long EURNZD – simply because of the swap yield of -4.24% on the long side. The strong downward trend for the last six years is a reflection of that. But then if you’re scalping a few pips here and there it can make sense, and sure the Euro is going to turn sooner or later.


The maximal curves show the probability of how many pips price will move in /either/ direction right? I don’t quite get how the curves can be applied to just TP. por exemplo. if we want to know the probability of TP of +40 pips in 24hrs, yes the curves do give a probability of 82%, but wouldn’t it be 40 pips in either direction? ie. 41% of +40 pips & 41% of -40 pips? (because I’m assuming the curves have no drift, a walk in either direction is equally likely, etc.) Maybe I’m missing something – apologies if it’s a dumb question. Obrigado!


No only in one direction. The maximal curve will give the probability of a maximum point being reached, or equally if you apply the formula on the other side, to a minimal point being reached. When symmetric as you say, it is just mirrored.


So for eg: P(Z>+40 pips) gives an independent probability only of the price moving above the +40 pips level. It says nothing about the price falling say 200 pips below, this is why there is a separate case for the SL point.


With no drift, yes it would be the same (41% for a move either side).


(apologies again, I’m a bit slow) let’s see if I got this. The SL is a separate case.


So just considering the TP, what the maximal curve shows is P(Z>+40pips) + P(Z+40pips) = 41% ?


Não é bem. What the maximal curve basically shows is the probability of a high-watermark being reached – and that applies for a certain time period only. So say you want to know the probability of the price going +40 pips or higher within 24 hours. That’s P(Z>+40 pips) from the 24-hour curve & it’s 82%. After 1 hour, its 28% (thereabouts, I am just looking at chart not in Excel.)


Thanks for your patience Steve 🙂


It was probably my fault, but my previous comment was strangely truncated. What I wrote was to ask if the maximal curves show: P(Z>+40pips) + P(Z+40pips)=82%. If so, doesn’t that also imply P(Z<-40pips)=82%, which surely cannot be? I'm lost here.


Você é bem vindo.


I have to answer here because its not possible to add a reply any deeper (it will be better to continue this in Forum section where there is more room.):


–What I wrote was to ask if the maximal curves show: P(Z>+40pips) + –P(Z+40pips)=82%.


There is no addition here (did you mean P[Z 40pips, it gives this as 82% from the curve. This tells me only one thing in isolation: that the TP has 82% chance of being struck.


Very cool idea & great article! I have some questions. In Step 3, can you explain how you got the table for p(win), p(loss), p(open)? Obrigado!


Certo. It’s standard probability theory:


Say p(wl) = P(price hits SL & TP)


P(wl) = p(TP hit) x p(SL hit)


p(win first) = p(TP hit) x p(wl) / ( p(TP hit) + p(SL hit) )


p(lose first) = p(SL hit) x p(wl) / ( p(TP hit) + p(SL hit) )


p(win)=p(TP hit) – p(lose first)


p(lose)=p(SL hit) – p(win first)


Obrigado Steve. I love your articles.


Could you commend on reversal moves? Trades such as EURAUD on 20 Feb hit a low of 1.4385 and spiked upwards to 1.4583.


100-200 pips reversed moves can be pretty tough psychologically to place stops – where you don’t want them too close, yet when it hits SL it erased off those hard earned gains or puts one in steeper losses.


I was in some other trades that reversed off its lows. As I read your posts, I know we are going down to really precise levels now. That -100+ stoploss can take place in a very short span of time and hurt quite a bit if one’s position is in several trades at the same time.


EUR/AUD is quite a volatile pair, with about 50% higher volatility than EUR/USD at the moment.


That is for a 1 day trade, for the short side I would use a ratio somewhere around TP=56/SL=250. Are you trading the long or short side because it really makes a difference here. On the buy side there’s very high swap rate (-3.13%) to take into consideration.


Reversal moves are all part of the normal daily volatility in the markets. I’m of the view that it’s better to have a lower leverage so that these events can be withstood – because in the scheme of things a 100-200 pip move is pretty insignificant really.


Obrigado. I was thinking through my mistakes, and reading your spreadsheets. Essentially the trades I got stopped out was GBPUSD, GBPCAD, EURCAD. It is trade timing.


SL=250 is tough psychologically (I am not going to be able to test 200 plus pips.)


Actually some profit from the EURAUD, EURNZD. I trade several illiquid pairs gbpnzd and also trade short side for some pairs, and hedge sometimes as well.


I will look through the win loss ratios, and trades probabilities to examine the trades and see if I can improve on where it went wrong. You have got a great resource. I was already doing breakouts, grid trading, carry trades for some time, but I still come back because everything was very well written and learn from someone who is strong.


Could you write an article on basket trading? I have been practicing, don’t know if this is something doable on a live account.


nice idea! thanks steve, i will try this out and see how it works.


Deixe uma resposta Cancelar resposta.


Estratégias.


Steve Connell passou mais de 17 anos trabalhando no setor financeiro como comerciante / criador de mercado e estrategista. Durante esse período, trabalhou para vários bancos globais e fundos de hedge. Steve tem uma visão única de uma variedade de mercados financeiros de câmbio, commodities a opções e futuros.


Metatrader Stop Loss Tome o Indicador de Lucro.


Este indicador Metatrader é para calcular a perda ótima de parada e para obter níveis de lucro. Evita a necessidade de adivinhar.


Perda de perdas perdidas são uma coisa do passado com este indicador. Em vez de adivinhar parar as perdas e tomar níveis de lucro, ele usa um modelo baseado em tempo (leia mais) para lhe dizer a probabilidade exata de que o preço atinja um determinado nível em um determinado momento.


Calcula ótima perda de stop / take profit Mostra probabilidade de movimento de preços versus tempo Funciona em qualquer mercado e prazo.


O indicador é muito fácil de usar e fornece saída visual diretamente no gráfico com o qual você pode trocar.


Basta definir o tempo de troca do destino e a relação de ganhos exigida, e o indicador calculará a perda ótima de parada e levará os níveis de lucro levando em consideração as condições do mercado. As curvas estendidas na frente do gráfico mostram as probabilidades de que o preço atinja um certo nível em um certo tempo.


Encontre os níveis de stop / profit certos usando os truques dos profissionais.


A partir disso, você pode ver a faixa exata em que o preço provavelmente alcançará ao longo do tempo e # 8211; e use isso no planejamento do comércio.


É adequado para negociação manual e também pode ser usado como um indicador personalizado para fornecer entrada direta a um consultor especializado.


O indicador é totalmente configurável, permitindo que você configure:


Tempo de comércio: o tempo de troca do destino é definido em dias ou frações de dias.


Relação de Win: Defina a probabilidade de destino para o comércio ganhar. Tenha em mente que, geralmente, uma maior probabilidade exigirá uma perda de parada mais ampla e um lucro menor. Uma menor probabilidade de vitória permitirá um maior lucro com uma perda de parada menor.


Mercado: existem três opções para escolher. O modelo aleatório não faz pressupostos anteriores sobre a direção do mercado. O modelo de tendência assume uma deriva constante com base na tendência atual do mercado. Por exemplo, ao comprar em uma tendência ascendente, a deriva faria com que as paradas fossem calculadas ligeiramente mais altas do que com o "modelo aleatório". Ao comprar em uma tendência descendente as paradas seriam calculadas mais baixas.


O modelo de tendência reversa pressupõe que a tendência atual está a ponto de reverter e, como tal, inverte o parâmetro de deriva. Portanto, faz o oposto do acima. Em um mercado crescente, as paradas de compra serão colocadas mais baixas devido ao pressuposto de que uma reversão é iminente.


Trade side: Escolha quais saídas devem ser exibidas no gráfico. Escolher "comprar lado" exibirá as saídas do lado da compra. Escolher "vender lado" fará o contrário.


Probabilidades de curva: escolha as curvas a serem exibidas no gráfico. Até três curvas máximas podem ser mostradas no gráfico ao mesmo tempo. As curvas se estendem para a frente no tempo. Para exibir as curvas, verifique se a configuração Metatrader & # 8220; Deslocar o final do gráfico da borda direita e # 8221; está ligado.


Uso do indicador.


As saídas do indicador são baseadas em cálculos estatísticos da probabilidade de certos movimentos de preços em um determinado período de tempo.


As curvas máximas exibidas no gráfico mostrarão a probabilidade de o preço atingir um certo nível, dentro de um certo tempo. Você pode configurá-los em qualquer porcentagem entre zero e um. Por exemplo, o preço tem uma probabilidade de 1% de tocar a curva de 1%. Tem uma probabilidade de 50% de tocar a curva de 50%. E assim por diante.


Usando essas curvas, você pode facilmente encontrar a probabilidade de o preço chegar a qualquer nível dentro de um certo tempo.


Tomando o exemplo na Figura 1:


Preço atual USD / JPY = 114.093.


Existe uma probabilidade de 1% do preço que se desloca para 126.737 no prazo de 10 dias.


Existe uma probabilidade de 20% de preço que se desloca para 118,926 em 5 dias.


Existe uma probabilidade de 50% do preço que se desloca para 115.647 no prazo de 2 dias.


Este exemplo é para o gráfico diário, mas o mesmo se aplica a intervalos de tempo inferiores ou superiores.


Para obter mais explicações técnicas, consulte o guia do usuário.

No comments:

Post a Comment