• Produtos
  • Comunidade
  • Mercados
  • Corretoras
  • Mais
Começar
  • Comunidade
  • /Indicadores e estratégias
  • /Binaryoptions

Binaryoptions

Binary Options Strategy TemplateWith the hype around Binary Options trading (more like gambling instead of trading) it is good to be able to backtest a strategy before using it in the live markets. In a Binary Options trade the trade get's closed after a specific amount of time and the only thing that matters is if the market has increased in price or decreased after that amount of time. Because of this a strategy backtest should close all positions after a specific amount of time. In this super small script the number of bars since the trade was opened is used as a way to close the position. So for example if you use this strategy on the 1 minute charts with number of bars set to 5 it will close the position 5 minutes after opening it. Purpose of this script is using it as a strategy on already existing scripts to check viability for options trading. With the limited pine knowledge that I have I do not know if it is possible to create a more realistic binary options strategy which also calculated the profit. If someone knows a more advanced version of this please let me know.
Estratégia Pine Script®
por Honestcowboy
44

Dados de mercado selecionados fornecidos pela ICE Data services. Dados de referência fornecidos pela FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Mais do que um produto
  • Supergráficos
Rastreadores
  • Ações
  • ETFs
  • Títulos
  • Criptomoedas
  • Pares CEX
  • Pares DEX
  • Pine
Mapas de Calor
  • Ações
  • ETFs
  • Cripto
Calendários
  • Economia
  • Resultados
  • Dividendos
Mais produtos
  • Curvas de Rendimento
  • Opções
  • News Flow
  • Pine Script®
Apps
  • Dispositivo Móvel
  • Desktop
Comunidade
  • Rede social
  • Mural do Amor
  • Indique um Amigo
  • Regras da Casa
  • Moderadores
Ideias
  • Trade
  • Educacional
  • Sugestão da Casa
Pine Script
  • Indicadores & estratégias
  • Wizards
  • Freelancers
Ferramentas & assinaturas
  • Recursos
  • Preços
  • Dados de mercado
Trade
  • Visão geral
  • Corretoras
Ofertas especiais
  • Futuros do CME Group
  • Futuros Eurex
  • Conjunto de ações EUA
Sobre a empresa
  • Quem somos
  • Missão espacial
  • Blog
  • Carreiras
  • Media kit
Merchan
  • Loja TradingView
  • Cartas de Tarô para traders
  • The C63 TradeTime
Políticas & segurança
  • Termos de Uso
  • Aviso legal
  • Política de Privacidade
  • Política de Cookies
  • Declaração de Acessibilidade
  • Dicas de segurança
  • Programa de recompensa por bugs
  • Página de Status
Soluções para negócios
  • Widgets
  • Bibliotecas de gráficos
  • Lightweight Charts™
  • Gráficos Avançados
  • Plataforma de Negociação
Oportunidades de crescimento
  • Anúncios
  • Integração de Corretoras
  • Programa de Parceria
  • Programa educacional
Comunidade
  • Rede social
  • Mural do Amor
  • Indique um Amigo
  • Regras da Casa
  • Moderadores
Ideias
  • Trade
  • Educacional
  • Sugestão da Casa
Pine Script
  • Indicadores & estratégias
  • Wizards
  • Freelancers
Soluções para negócios
  • Widgets
  • Bibliotecas de gráficos
  • Lightweight Charts™
  • Gráficos Avançados
  • Plataforma de Negociação
Oportunidades de crescimento
  • Anúncios
  • Integração de Corretoras
  • Programa de Parceria
  • Programa educacional
Look FirstLook First