• Produtos
  • Comunidade
  • Mercados
  • Corretoras
  • Mais
Começar
  • Comunidade
  • /
  • /Mathias

Mathias

[Strategy] - EMA 10,20 59 with Profit DisplayedThis EA is still under construction !! So for this EA is only based on the trend of the 3 EMA's Buytrend = (ema1 and ema2 > ema3) and (ema1 and ema2 > ema3 ) We also change the Background depending on the trend. bgcolor(Buytrend ? color.green : color.red,transp=70) At this point I was wondering how much "profit" we would have made if this strategy was only based on the trend so I added the Labels to start/end close of that trend and then see how much profit in pip's we would have made. Later I was wondering if I could get the total information on the trades and thats what the Label over the current candle is telling us. If that label is red we didn't made any profit and if its green we made som profit. I also added a BuyProfit and a count buy/sells and a total Profit to see how that information clearly without opening the strategy tester. NOTE this shows the profit in pip's Next step is to implement a Buy/Sell Signal togheter with a Buy/SellSignalOUT signal. Thats currently under development and you'll see some code being there already but as of now the orders are made from the trend signal not the Buy/Sell Signal.
Estratégia Pine Script®
por mattehalen
Jun 6, 2020
33

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 de cripto
  • Pares CEX
  • Pares DEX
  • Pine
Mapas de Calor
  • Ações
  • ETFs
  • Cripto
Calendários
  • Economia
  • Resultados
  • Dividendos
Mais produtos
  • Curva de juros
  • Opções
  • News Flow
  • Pine Script®
  • Sparks
Apps
  • Dispositivo Móvel
  • Desktop
Ferramentas & assinaturas
  • Recursos
  • Preços
  • Dados de mercado
Ofertas especiais
  • Futuros do CME Group
  • Futuros Eurex
  • Conjunto de ações EUA
Sobre a empresa
  • Quem somos
  • Manifesto
  • Atletas
  • Blog
  • Carreiras
  • Media kit
Merchan
  • Loja TradingView
  • Cartas de Tarô para traders
Políticas & segurança
  • Termos de Uso
  • Aviso legal
  • Política de Privacidade
  • Política de Cookies
  • Declaração de Acessibilidade
  • Vulnerabilidade de segurança
  • Página de Status
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