Excel Spreadsheets.
Abaixo estão os arquivos de planilha que devem ser compatíveis com Excel 97 e versões superiores.
O cenário pára a maneira bayesiana, em junho de 2018.
Folha de cálculo usada para demonstrar como os níveis de parada funcionam e quanto o risco de várias regras de decisão o deixa levar como referenciado na história de junho de 2018 por Burton Rothberg.
A zona de conforto de colocar e chamar, maio de 2009.
Essas planilhas incluem os modelos de preços LLP referenciados na história de Techniques de negociação de maio de 2009 por Paul Cretien.
Construindo um estrangulamento melhor, março de 2009.
Essas planilhas incluem os modelos referenciados na história de Techniques de Negociação de março de 2009 por Paul Cretien. Eles também devem ser usados no lugar das planilhas de trabalho anteriormente associadas às histórias da Cretian's Trading Techniques.
Calibração de estratégias de lucros e perdas, fevereiro de 2009.
Esta planilha inclui os modelos referenciados na história das técnicas de negociação de 2009 de Michael Gutmann.
Comparando modelos de preços de opções.
Essas planilhas incluem os modelos referenciados na história de Techniques de negociação de junho de 2008 por Paul Cretien. Eles também devem ser usados no lugar de folhas de trabalho anteriormente associadas à história de Cretis em setembro de 2006 Trading Techniques.
Comparando modelos de preços de opções.
Essas planilhas incluem os modelos referenciados na história de técnicas de negociação de setembro de 2006 por Paul Cretien.
Padrões de desempenho padrão.
Essas planilhas incluem mais das estatísticas de desempenho citadas neste artigo sobre o comércio sistemático baseado em padrões. Artigo de referência: "Padrões de negociação na areia", novembro de 2004.
Resumo de desempenho I.
Primeira planilha que mostra o resumo de desempenho completo discutido no artigo. Artigo de referência: "Reversões de lucros em ações e títulos", fevereiro de 2004.
Resumo do desempenho II.
Segunda planilha que mostra o resumo de desempenho completo discutido no artigo. Artigo de referência: "Reversões de lucros em ações e títulos", fevereiro de 2004.
Planilha de preços de opções.
Esta planilha incluiu folhas de cálculo para cada uma das opções nuas e a chamada coberta. Artigo de referência: "Abrangendo as opções", março de 2003.
Planilha de preços de opções.
Esta planilha usa o modelo Black-Scholes para fornecer preços teóricos para opções de colocação e chamada. Artigo de referência: "Novas opções no aumento do seu patrimônio", outubro de 2002.
Tabela de correspondência.
Toda a matriz de correlação que retrata as relações de retorno entre as ações de mesmo e do setor cruzado. Artigo de referência: "Dois podem ser melhores do que um", setembro de 2002.
Calculadora de vantagens matemáticas.
Folha de cálculo para calcular os resultados esperados, vantagem matemática e retorno anual para troca de opções, tendo em vista os pressupostos de entrada. Artigo de referência: "Determinando os resultados esperados de uma troca de opções", agosto de 2002.
Calculadora do estado do mercado.
Folha de cálculo para determinar o "estado" do mercado, conforme definido em "Ouvir os mercados, nota por nota", julho de 2002.
Calculadora de raias.
Folha de cálculo para análise de preços "streaks", como explicado em "Streaking prices" pode ser revelador, abril de 2002.
Calculadora Fibonacci.
Uma ferramenta para aplicar a análise Fibonacci tanto para futuros quanto para ações. Artigo de referência: "Trading with Fibonacci retracements", fevereiro de 2002.
Ferramenta de retração.
Esta planilha executa automaticamente os cálculos de retracement descritos em "The Elliott-Fibonacci connection", outubro de 2001.
Aplicação de gerenciamento de dinheiro.
Esta planilha implementa a técnica de gerenciamento de dinheiro discutida em "3x1 = Mais do que você pensa", dezembro de 1999.
Tabela de classificação de software.
Uma planilha que permite aos usuários criar classificações personalizadas do software de negociação revisado em "Day-trading software shootout", Special Issue 1999.
Calculadora de força de mercado.
Folha de cálculo mostrando técnicas para jogar tanto a longo prazo quanto a curto prazo. Artigo de referência: "Skimming the trend", fevereiro de 1999.
Ferramenta de medidas repetidas.
Folha de cálculo aplicando análises de medidas repetidas detalhadas em "Fora da amostra, fora de contato", janeiro de 1999.
Dados corrigidos de proporções, gráficos.
Essas planilhas incluem os gráficos e os dados usados para este artigo na avaliação de sistemas que utilizam dados ajustados em razão. Artigo de referência: "A verdade seja dita", janeiro de 1999.
Exemplo de Datamining.
Esta planilha inclui os gráficos e os dados utilizados para "Trabalhar em uma mina de carvão", janeiro de 1999, bem como dados adicionais fora da amostra não mostrados no artigo.
Calculadoras de tamanho de negociação.
Cálculos para o escore z, correlação e métodos f óptimos de gerenciamento de dinheiro, conforme descrito em "Pontuação alta e baixa", abril de 1998.
Folha de cálculo da banda Bollinger.
Folha de cálculo que calcula bandas de Bollinger. Artigo de referência: "As bandas de Bollinger são mais do que os olhos", novembro de 1997.
Monitorador MACD crossover.
Folha de cálculo que calcula o preço para o futuro que faria com que o MACD cruzasse amanhã. Artigo de referência: "Sinal do crossover", outubro de 1997.
Monitorador de crossover EMA.
Folha de cálculo que calcula o preço para o futuro que causaria uma média móvel exponencial de nove períodos e uma EMA de 18 períodos para atravessar amanhã. Artigo de referência: "Operador suave", setembro de 1997.
Calculadora RSI.
Folha de cálculo que calcula o oscilador de força relativa. Artigo de referência: "Construindo uma melhor armadilha de velocidade", maio de 1997.
Calculadora estocástica.
Folha de cálculo que calcula o oscilador estocástico. Artigo de referência: "Construindo uma melhor armadilha de velocidade", maio de 1997.
Calculadora Williams% R.
Folha de cálculo que calcula o oscilador Williams% R. Artigo de referência: "Construindo uma melhor armadilha de velocidade", maio de 1997.
Calculadora Momentum.
Folha de cálculo que calcula o oscilador de momentum. Artigo de referência: "Uma arma de radar com preço", abril de 1997.
Calculadora de taxa de troca.
Folha de cálculo que calcula o oscilador da taxa de troca. Artigo de referência: "Uma arma de radar com preço", abril de 1997.
Calculadora MACD.
Folha de cálculo que calcula o oscilador de convergência-divergência da média móvel. Artigo de referência: "Uma arma de radar com preço", abril de 1997.
Sistema de comércio de planilha
Folha de cálculo do Sample Trading System.
Esta planilha do Excel mostra como a resposta do CFB aos dados diários de um mercado de futuros é usada para controlar a taxa de redução de uma banda colocada em torno do preço. As decisões de compra / venda são então feitas quando o preço se destaca dessa banda modificada dinamicamente.
Esta é também uma boa maneira de ver como se pode criar um sistema de comércio experimental em uma planilha.
Para baixar nossa planilha para o Microsoft Excel,.
CLIQUE PARA RIGHT neste link e selecione & quot; SAVE TO. & quot; ou "SAVE TARGET AS". & quot; Clique duas vezes no arquivo ZIP baixado para extrair um arquivo de planilha XLS e um arquivo de ajuda HLP. Recomendamos que você leia o arquivo de ajuda primeiro.
Spreadsheet Systems, Alerts e Automated Trading.
Documentação relacionada.
Visão geral de estudos de planilhas usando a planilha Estudo Folha de cálculo Sistemas, alertas e negociação automatizada Folha de cálculo Inputs Referindo outros gráficos na planilha Estudo Fórmulas Estudos de planilhas Tarefas especiais Compartilhando seu estudo de planilha com outro usuário Trabalhando com planilhas Funções de planilha.
Nesta página.
Informações gerais Criando um sistema ou alerta Coluna de entrada longa Coluna de saída longa Coluna de entrada curta Coluna de saída curta Outras colunas Alterando nomes de colunas Controlando o local da varredura de setas Criando um sistema de negociação para negociação automatizada (Aplica-se apenas ao sistema de planilha para negociação) ao som comercial não-simulado (Live) para alertas audíveis e notificações de mensagens de e-mail Iniciando negociações com negociação automática e exceções de pedidos manuais ou anexados (aplica-se apenas ao sistema de planilha para negociação) Estratégias de saída avançadas automatizadas (Aplica-se ao sistema de planilha para Apenas para negociação) Entradas de estudo de planilha que são específicas para sistemas, alertas e compras automatizadas BuyEntry (K), BuyExit (L), SellEntry (M), SellExit (N) Folha de cálculo Ordem Colunas de ação (Aplica apenas para o Spreadsheet System for Trading) Ignorado Sinais com sistemas de planilhas ou alertas Introdução Ativando negociação automática Sinais ignorados durante dados históricos Carregando as setas de compra / venda Não significa sinais de comércio Reportagem no novo sinal da barra Apenas uma vez por Bar Sinal somente na barra Fechar Solução de problemas Sistema / Alertas e estilo de desenho Comércio diferente de zero Posição Quantidade atrasada VERDADEIRO Resultado de Fórmulas Spreadsheet Sistema para Procedimento de Teste de Negociação Setas ou Sinais Desaparecidos Folha de Cálculo Especial Saídas dos Valores Inserções especiais de comercialização de planilha na planilha (Aplica-se apenas ao sistema de planilha para negociação) Teste de volta (Aplica-se apenas ao sistema de planilha para negociação) Cálculos de planilha e Estudo de planilha Processamento de dados de planilha Solicitação de processamento de coluna de fórmula e ordem de cálculo interno Exemplo de troca automatizada de saída múltipla (Aplica-se apenas ao Spreadsheet System for Trading) Limitando a negociação a certas intervalos de tempo.
Nas versões recentes do Sierra Chart renomeamos o livro de trabalho e a planilha para planilha. Os 3 estudos de planilha agora foram renomeados e começam com o nome Folha de cálculo. O estudo da Planilha foi renomeado para Estudo de Planilha. Esta documentação usa o termo Folha de Cálculo. Na versão do Sierra Chart que você está executando, você pode se referir aos nomes do estudo começando pela planilha de nome antigo.
Informação geral.
O estudo Spreadsheet System / Alert eo estudo Spreadsheet System for Trading podem ser usados para criar um Sistema de Negociação ou um Alerta para o seu gráfico. Um sistema comercial ou um alerta significa regras que você define, o que fornecerá sinais de compra ou venda quando as regras forem verdadeiras para uma barra particular no gráfico. Esses sinais serão exibidos como indicações gráficas no gráfico, mostrar linhas de alerta de texto e fornecer alertas sonoros. No caso do estudo Spreadsheet System for Trading, também serão fornecidas ordens comerciais reais. Um alerta refere-se ao sinal dado quando suas regras de Sistema / Alerta são verdadeiras na última barra. Tudo isso é descrito em mais detalhes abaixo.
Se você está apenas interessado em obter um alerta quando sua condição for verdadeira no final do gráfico e você não precisa ver indicações gráficas históricas no gráfico, então, na maioria dos casos, você simplesmente pode usar o recurso Alerta Simples. E não se preocupe em usar os estudos de planilha mais avançados.
A diferença entre o estudo do Spreadsheet System for Trading, em comparação com o estudo Spreadsheet System / Alert, é que o estudo Spreadsheet System for Trading possui uma lógica muito mais avançada para a criação de um sistema comercial.
Com o estudo do Spreadsheet System for Trading, você pode executar testes de volta e gerar sinais comerciais reais que serão simulados ou podem ser enviados para o seu serviço comercial. Por padrão, eles sempre serão simulados. Mesmo se você realmente não quiser colocar pedidos ao vivo com o estudo do Spreadsheet System for Trading, e você quer apenas criar um sistema e testá-lo novamente, ou simplesmente deseja fazer trocas manualmente a partir dele, você ainda quer usar a planilha System for Trading study, em vez do estudo Spreadsheet System / Alert.
Se você simplesmente quiser criar um sistema simples ou Alerta avançado para dar uma indicação quando suas regras retornarem TRUE, você quer usar o estudo Spreadsheet System / Alert.
Criar um Sistema / Alerta é realizado digitando uma Fórmula de Condição nas colunas de fórmulas na Folha de Cálculo. Esta fórmula de condição pode acessar o preço e os dados de estudo (os dados do estudo são emitidos começando na coluna AA por padrão e dependem do número de entradas de fórmulas da fórmula).
Esta fórmula de condição será aplicada em todo o gráfico de preços. Ele será monitorado continuamente e também pode ser escaneado (você não deve fazer negociação automatizada a partir de uma varredura). Esta fórmula de condição é usada para fornecer uma indicação de quando uma determinada condição é VERDADEIRA para qualquer coluna / barra de gráfico. Essas indicações são usadas para criar um sistema de negociação ou um alerta.
Não existe diferença entre o modo como Sierra Chart faz sistemas e alertas. Ambos dão indicações gráficas, de texto e audíveis quando a sua Fórmula de condição é VERDADEIRA. Apesar disso, uma mensagem de texto, som audível e um sinal de comércio, no caso do estudo do Spreadsheet System for Trading, são fornecidos apenas quando uma fórmula de condição retorna TRUE na última coluna no gráfico.
Além disso, quando uma Fórmula de condição é VERDADEIRA na última coluna do gráfico, então uma! A marca será exibida na frente do nome do estudo e o nome do estudo será destacado em vermelho. O texto da mensagem de alerta eo som de alerta sonoro são o que constitui uma indicação de alerta.
No caso do estudo Spreadsheet System for Trading, um sinal comercial e um alerta não são necessariamente dados quando a Fórmula de condição em uma das colunas de fórmula Comprar / Vender Entrada / Saída retorna TRUE na última coluna no gráfico. Existe outra lógica que é aplicada e outras condições devem ser atendidas. Tudo isso é explicado nesta página.
Além disso, no caso do estudo Spreadsheet System for Trading, se a sua fórmula de condição retornar TRUE na última coluna no gráfico, ela será ignorada se os dados estiverem sendo baixados no gráfico ou quando o gráfico for totalmente recalculado. Estes são métodos de segurança para evitar que os negócios sejam dados sem querer, no caso de o Sierra Chart não estar no Modo de Simulação Comercial.
O Sierra Chart fornece um alerta de texto para sua Fórmula de Condição quando se torna VERDADEIRO adicionando uma mensagem detalhada ao Registro de Alertas. Para abrir o Registro de alertas, selecione Janela & gt; & gt; Alerts Manager & gt; & gt; Alertas Registe-se no menu. Se a condição for TRUE em uma coluna / barra de gráfico diferente da última coluna do gráfico, então apenas uma indicação gráfica é fornecida.
Criando um Sistema ou Alerta.
Esta seção aplica-se ao estudo Spreadsheet System / Alert.
Siga as instruções passo a passo do Estudo da Folha de Cálculo.
Ao seguir essas instruções e chegar ao passo para adicionar o estudo ao gráfico, certifique-se de adicionar, em vez disso, o estudo Spreadsheet System / Alert.
Quando você chegar ao passo onde você inseriu uma fórmula, insira sua Fórmula de condição de sistema / alerta. Consulte a seção de Exemplos abaixo, por exemplo, Fórmulas de Spreadsheet System / Alert Condition.
No caso do estudo Spreadsheet System / Alert, a fórmula resultante da Folha de Cálculo será exibida na área principal do gráfico de preços (Gráfico Região 1) do gráfico e desenhada com estilos de seta para cima / para baixo por padrão. O Estilo de desenho pode ser alterado através das configurações de Subgrafias na guia Subgrafias da janela Configurações do Estudo para o estudo Spreadsheet System / Alert. Para obter instruções, consulte Adição / Modificação de estudos.
As fórmulas na planilha devem retornar um valor 1 (TRUE) ou 0 (FALSE). Um valor de 1 ou VERDADEIRO indica que a condição da fórmula Sistema / Alerta foi atendida. Por exemplo: Digite =ID0.SG4@3 & lt; 100 na linha 3 da coluna de fórmula K para configurar um alerta de Entrada Long quando o preço de fechamento for inferior a 100.
Coluna de Entrada Longa.
A coluna K é a coluna Entrada Longa. Se uma célula nesta coluna for VERDADEIRA (1), então uma Seta para cima (depende do estilo do desenho do subgrupo) será desenhada no gráfico com o valor baixo da barra correspondente para indicar uma entrada longa para essa barra.
Coluna de saída longa.
A coluna L é a coluna Long Exit. Se uma célula nesta coluna for VERDADEIRA (1), então uma seta para a esquerda (depende do estilo de desenho do subgrupo) será desenhada no gráfico no alto valor da barra correspondente para indicar uma saída longa para essa barra.
Coluna de Entrada Curta.
A coluna M é a coluna Entrada curta. Se uma célula nesta coluna for VERDADEIRA (1), então, uma seta para baixo (dependendo do estilo de desenho do subgrupo) será desenhada no gráfico com o valor alto da barra correspondente para indicar uma entrada curta.
Coluna de saída curta.
A coluna N é a coluna de saída curta. Se uma célula nesta coluna for VERDADEIRA (1), então uma Seta Direita (depende do Estilo de Desenho Subgráfico) será desenhada no gráfico no valor baixo da barra para indicar uma Saída Curta.
Outras colunas.
Quando graficar colunas que não sejam K, L, M ou N com um Estilo de Draw visível, o valor de retorno da Fórmula de Condição deve estar dentro do intervalo de valores do gráfico de preço principal em que seu estudo é sobreposto. Caso contrário, a exibição do subgrupo afetará negativamente a exibição do gráfico.
Não há tradução automática de TRUE (1) ou FALSE (0) para valores de barra alta e baixa, das colunas de fórmula O e superior.
Uma fórmula de exemplo que você pode usar para as colunas de fórmula O e superior é = IF (ID0.SG4@3 & gt; 100, C3, 0).
Alterando nomes de colunas.
Os acima são os nomes das colunas de fórmula Sistema / Alerta padrão. Você pode renomear as colunas na linha 2 na Folha e usá-las para qualquer tipo de condição. Para renomear uma coluna, clique duas vezes na célula com o nome na linha 2 e digite um novo nome.
Controlando a localização das setas ou dos valores do subgrupo.
Você também pode retornar valores diferentes de TRUE (1) ou FALSE (0) em suas Fórmulas de condição de sistema / alerta.
Se o valor retornado pela fórmula não for VERDADEIRO (1) ou FALSO (0), a seta será desenhada no valor que a fórmula retornará ao usar as colunas K, L, M ou N ao usar o estudo Spreadsheet System / Alert .
Para as colunas de fórmula O e mais altas, as setas do Subgrafo ou qualquer que seja o estilo do Draw, serão sempre desenhadas pelo valor retornado da fórmula.
Quando você está usando o estudo Spreadsheet System / Alert, você pode verificar os resultados VERDADEIROS das suas fórmulas de condições de Sistema ou Alerta entre uma lista de símbolos. Para obter mais informações, consulte a documentação dos comandos do Menu Digitalizar.
Criando um Sistema de Negociação para Negociação Automatizada.
Parar a entrada da ordem.
Se você estiver usando o estudo Spreadsheet System for Trading em uma conta Live e enviando pedidos ao serviço de comércio conectado, e você deseja interromper a entrada da ordem por qualquer motivo, você pode fazer uma das seguintes ações:
Habilite o modo de Simulação comercial, certificando-se de que existe uma marca de seleção por Trade & gt; & gt; Modo de Simulação Comercial Ligado. Defina o envio de encomendas para o serviço de comércio de entrada com o sistema de planilha para o estudo de negociação para NO. Defina a célula Disable Auto Trading na folha # na planilha utilizada pelo estudo Spreadsheet System for Trading, para TRUE. Desativar o Trade & gt; & gt; Auto Trading Enabled - Global ou o Trade & gt; & gt; Auto Trading Enabled - Gráfico de comandos, removendo a marca de seleção deles. Ambos precisam ser verificados / habilitados para negociação automatizada para funcionar para o gráfico.
Passos para criar um sistema de negociação para negociação automatizada.
Primeiro, certifique-se de que a negociação automática está habilitada. Certifique-se de que há uma marca de seleção por Trade & gt; & gt; Auto Trading Enabled - Global e Trade & gt; & gt; Auto Trading Enabled - Gráfico no menu. Certifique-se de que há uma marca de seleção por Trade & gt; & gt; Modo de Simulação Comercial Ligado no menu. Isto é para que as encomendas não sejam enviadas para o seu serviço comercial. Em vez disso, todos os negócios serão simulados.
Passando da negociação simulada para negociação não-simulada (ao vivo).
Se e quando estiver pronto para que seu sistema comercial envie pedidos reais, você precisará ir para o modo não-simulado, certificando-se de que não há marca de seleção por Trade & gt; & gt; Modo de Simulação Comercial Ligado.
Em seguida, vá para as configurações de Estudo para o Estudo de planilha para negociação em seu gráfico e defina a entrada Enviar encomendas para comércio de serviço para Sim.
Neste momento, todos os sinais de negociação fornecidos serão enviados como pedidos para o seu Serviço de Negociação, assumindo que você está conectado a um serviço comercial válido e você está conectado ao servidor Data and Trade (Arquivo & gt; & gt; Connect to Data Feed).
Tenha em mente que, se você estiver usando uma conta simulada com seu serviço de comércio, então mesmo que você não esteja no Modo de Simulação Comercial da Sierra Chart e enviando ordens para o Serviço de Comércio é definido como Sim, as ordens ainda serão simuladas.
Som para alertas audíveis e notificações de mensagens de e-mail.
Você pode especificar um som de alerta a ser reproduzido quando a condição de Sistema ou Alerta nas células K3 a Z3 se tornar VERDADEIRA. Para as fórmulas na Folha para ativar alertas de som, é necessário habilitá-los.
Vá para a janela Configurações do Estudo para o Estudo da planilha. Para obter instruções, consulte Modificação de estudos. Tenha em mente que depois que um Estudo de planilha é aplicado a um gráfico, ele muda seu nome na lista Estudos para Gráficos na janela Estudos de Gráfico para o nome do arquivo de planilha que ele faz referência.
Na guia Configurações e Entradas da janela Configurações do Estudo, você verá uma lista de todas as Entradas de estudo disponíveis. Você verá várias entradas denominadas Alíneas da Coluna K, L, M, N, O, P, Q, R, S, T, U, V-Z, que permitirão selecionar o número de som de alerta a ser usado para cada coluna.
Selecione o número de som de alerta que deseja usar ou selecione Sem alerta para não reproduzir um som de alerta quando uma fórmula for VERDADEIRA nas células K3 a Z3. As colunas da folha W a Z usam o mesmo número de som de alerta que a coluna V.
Para configurar o arquivo de som que reproduz para cada número de alerta, selecione Configurações globais & gt; & gt; Configurações gerais no menu. Você também pode configurar uma mensagem de e-mail para ser enviada quando um som de alerta é acionado.
Se a cor do Draw Style for a Sheet for configurada para Ignorar, nenhum sinal de Sistema ou Alerta pode ser acionado pelas fórmulas da Folha. No entanto, isso não se aplica à coluna K através de N ao usar o estudo do Spreadsheet System for Trading. Com esse estudo, os sinais comerciais podem sempre ser desencadeados pelas fórmulas da folha, independentemente da configuração do estilo Draw.
Iniciando Negociações com Auto-Trading e Usando Extinções de Ordens Manuais ou Anexadas.
Não é necessário usar as células de fórmula Comprar Sair ou Vender Exit Order Action no Estudo do sistema de planilhas para comercializar para sair de uma posição atual. As saídas podem ser feitas digitando manualmente uma ordem através da Trade Window, através do Chart Trading, ou pode ser realizada usando o recurso Attached Orders (Targets and Stops).
Em qualquer um desses casos, você pode, em seguida, deixar as células da fórmula de compra ou sair da ordem de saída.
Alvos e Paradas são configurados através da Janela de comércio na guia Destinos. Para obter a documentação completa, consulte a página Encomendas anexas.
Ao usar Pedidos Anexados, certifique-se de que o Uso de Ordens Anexadas esteja habilitado na Janela de Comércio para o quadro que contém o Estudo do Plano de Cálculo para o Comércio. Consulte Janela de abertura de comércio para gráfico para abrir a janela de comércio.
O conjunto de ordens anexadas que é inserido na janela de comércio para um gráfico é salvo quando um Chartbook é salvo.
As ordens que são fornecidas pelas pilhas de fórmula Comprar Exit ou Sell Exit Order Action não usarão as Ordens Anexadas configuradas na Janela Comercial. Apenas a Entrada de Compra e a Entrada de Vendas os usarão quando Usar Atendimentos Anexos estiverem habilitados na Janela de Comércio.
Quando você está usando a funcionalidade de negociação automatizada no Sierra Chart, recomenda-se que você sempre entre e cancele quaisquer ordens manuais da Sierra Chart para evitar problemas inesperados de comércio automotivo devido ao fato de o Sierra Chart não estar ciente das Ordens e da Posição Comercial que você o muda de outros programas comerciais.
Para obter informações adicionais sobre o uso de Pedidos Anexadas com um sistema de negociação automatizado, consulte SupportAttachedOrdersForTrading.
Usando as ordens anexas e a saída da compra e a saída da venda ao mesmo tempo.
É possível definir um conjunto de Ordens Anexadas para usar com o seu Estudo do Spreadsheet for Trading e também usar as colunas Buy / Sell Exit ao mesmo tempo. Para que isso funcione corretamente, você precisa configurar a opção Cancelar todas as ordens de trabalho na saída para Sim.
Quantidade de ordem da janela de comércio com ordens anexas.
Quando você está usando Pedidos Anexos com um Estudo de Planilha para Estudo de Negociação, a Quantidade de Pedido na Janela de Comércio mudará para a Quantidade de Pedido atual especificada na Folha de Cálculo. Isso ocorre porque as Ordens Anexadas são definidas através da guia Destinos de Janelas de Comércio e é necessário atualizar a quantidade da Janela de Comércio para combinar a quantidade de pedido do sistema de negociação para que as Ordens Anexadas tenham uma quantidade correspondente.
Para obter mais informações sobre como configurar a Quantidade de Pedidos para o Estudo de Cálculo do Plano de Cálculo, consulte Celulose J26 (Quantidade de Pedido).
Estratégias automatizadas de saída avançada.
Você pode querer inserir uma Posição manualmente e, em seguida, ter uma saída de Posição automatizada com base em certas condições técnicas que podem ser baseadas no preço e dados de estudo. Isso é realizado usando o estudo do Spreadsheet System for Trading. Consulte as instruções Criando um Sistema de Negociação para Negociação Automatizada nesta página para usar este estudo e definir suas condições de saída. O estudo precisará ser aplicado a um gráfico do mesmo símbolo que você está negociando.
Quando você usa o estudo Spreadsheet System for Trading para este propósito, você não usará as colunas Purchase Entry e Sell Entry Order Action. Essas colunas precisam ser deixadas em branco. Qualquer passo nas instruções associadas a elas pode ser ignorado. Você só usará as colunas Comprar Exit e Sell Exit Order Action.
Spreadsheet System for Trading study Os insumos relacionados à Entrada de Compra e Entrada de Vendas não serão aplicados para sua estratégia de saída automatizada.
Quando as colunas Comprar Sair ou Vender Exit Order Action se tornarem VERDADEIRAS, um pedido será enviado nesse momento. Este pode ser qualquer um dos tipos de pedidos suportados pelo estudo Spreadsheet System for Trading. Somente quando sua condição de saída for atendida, a ordem será enviada, não antes. Portanto, não é possível enviar uma ordem Stop ou Limit antes do tempo e modificá-la. Portanto, o Sierra Chart precisa estar sendo executado para monitorar sua Posição atual e enviar as ordens. É possível usar as funções de Negociação ACSIL e modificar uma ordem que foi enviada.
Spreadsheet Study Inputs que são específicos para sistemas, alertas e negociação automatizada.
Esta seção lista as Entradas para os Estudos de Planilha que são específicas para o Spreadsheet System for Trading e o Spreadsheet System / Alert studies. Essas entradas só podem ser configuradas através da janela Configurações do Estudo para os estudos da Planilha.
Para as outras entradas de estudo de planilha disponíveis que são definidas através da janela Configurações de estudo, consulte a página Inscrições de estudo de planilha.
Uma exibição somente leitura dessas entradas de estudo é exibida na Folha de planilha em que os dados do gráfico são enviados para, nas colunas de células I e J. Não é possível modificar o valor dessas Entradas através das células da Folha. Eles só podem ser configurados através da janela Configurações do Estudo para o estudo da planilha.
Repor Condition On New Bar.
Se esta opção for definida como Sim, um sinal de Sistema ou Alerta será dado quando uma nova barra for adicionada ao gráfico e a condição de Sistema / Alerta for VERDADEIRA na linha 3 mesmo que a condição de Sistema / Alerta tenha sido anteriormente VERDADEIRA no anterior barra / linha.
Normalmente, quando uma fórmula retorna TRUE ou um valor diferente de zero em uma das colunas de planilha usadas para sistemas ou Alertas e uma nova barra é adicionada, um novo sinal não será dado mesmo que ainda seja VERDADEIRO. Deve voltar para FALSO e, em seguida, voltar para TRUE novamente, a menos que a condição de reinicialização na barra nova esteja definida como Sim.
Definir a condição de reinicialização na barra nova para Sim não altera de modo algum os valores retornados das fórmulas nas colunas Comprar / Vender Entradas e Sair. Isso só afeta a interpretação dos valores TRUE retornados.
Alerta / Sinal somente uma vez por barra.
Se a opção Alerta / Sinal somente Uma vez por barra estiver definida como Sim, um alerta ou sinal de negociação será fornecido apenas uma vez por coluna de Fórmula por barra no gráfico.
Quando um alerta ou troca é fornecido uma vez para uma coluna de fórmula de planilha específica, outro não será administrado até que haja uma nova barra no gráfico e a Fórmula de condição de sistema / alerta retorna a FALSO e depois VERDADEIRO.
Isto aplica-se a cada coluna de fórmula de forma independente. Por exemplo, no caso do estudo Spreadsheet System for Trading, se houver um Buy Entry em uma barra particular, ainda pode haver uma saída de compra fornecida na mesma barra. No entanto, não pode haver 2 entradas de compra na mesma barra quando esta opção estiver ativada.
Recomenda-se que, se você tiver algum problema para obter um sinal de negociação quando você normalmente espera um, que tente definir esta opção como Não.
No caso do estudo Spreadsheet System for Trading, quando um sinal é ignorado por causa desta opção, esse sinal ignorado será registrado no Trade & gt; & gt; Registro de serviço comercial. Isso é muito útil para fins de solução de problemas. A mensagem é: Sinal ignorado porque 'Somente Somente Uma vez por Barra' está habilitado e já foi dado um sinal da coluna da fórmula para a barra.
Permitir várias entradas na mesma direção.
Esta entrada aplica-se apenas ao estudo do Spreadsheet System for Trading.
Consulte a descrição na página Auto Trade Management.
Posição máxima permitida.
Esta entrada aplica-se apenas ao estudo do Spreadsheet System for Trading.
Consulte a descrição na página Auto Trade Management.
Permitir a entrada oposta com posição ou ordens contrárias.
Esta entrada aplica-se apenas ao estudo do Spreadsheet System for Trading.
Consulte a descrição na página Auto Trade Management.
Enviar Pedidos ao Serviço de Comércio.
Consulte a descrição na página Auto Trade Management.
Esta entrada aplica-se apenas à instância específica do Spreadsheet System for Trading que está configurada. Não tem efeito nas ordens inseridas manualmente no gráfico.
Também aplica-se apenas à Folha de cálculo específica utilizada pelo estudo do Spreadsheet System for Trading.
Reversões de suporte.
Consulte a descrição na página Auto Trade Management.
Cancelar todas as ordens de entrada e reversões.
Consulte a descrição na página Auto Trade Management.
Somente no Bar Fechar.
O Sinal Somente nas Entradas Fechar do Bar é específico para o Estudo de Cálculo do Plano de Cálculo e do Estudo do Sistema de Planilhas / Alerta. Existem duas versões desta entrada, uma para as colunas da folha K e M e a outra para as colunas L, N-Z.
Quando esta entrada é definida como Sim, as fórmulas de folhas que retornam um valor diferente de zero (TRUE) na linha 3 nas colunas de fórmula correspondentes são ignoradas até a última barra se fechar. A maneira como isso é realizado é que a linha 4 é monitorada em vez da linha 3.
Quando esta entrada é definida como Sim, então, em qualquer lugar na linha de documentação 3 é mencionado, é a linha 4 em vez disso. Da mesma forma que a linha 3 é monitorada continuamente para resultados TRUE de fórmulas nas colunas de fórmulas correspondentes, a linha 4 será monitorada continuamente quando esta entrada estiver definida como Sim.
Você pode querer definir Som Strict Som somente na barra Fechar avaliação para Sim, quando você configura uma dessas entradas para Sim.
Há um cenário que você deve ter em mente ao usar o Somente Somente no Bar Fechar. Considere que você tem uma fórmula e uma das colunas da fórmula Sheet e retorna TRUE na linha 3 (a última barra do gráfico) na coluna. Você se refere à seta no gráfico. Uma barra nova é adicionada, a barra, portanto, é considerada fechada, a fórmula se move para a linha 4, não é mais TRUE e a seta desaparece.
Neste caso, quando você estiver usando o Som somente no Bar Fechar, você não receberá um sinal.
Sinal estrito apenas na avaliação do fechamento do bar.
O Strict Sinal Somente Na Barra Fechar A entrada de avaliação aplica um método de avaliação mais rigoroso quando você tem qualquer uma das entradas de sinal somente nas entradas de barras configuradas em Sim. Quando esta entrada é definida como Sim, então, apenas no momento em que uma barra se fecha quando uma ou mais barras novas são adicionadas ao gráfico, uma avaliação das fórmulas da planilha das colunas da planilha correspondente (K, M, L, NZ) ser avaliado para condições VERDADEIRAS. Quando esta entrada é definida como Sim, a linha 4 não será monitorada continuamente como de costume, apenas exatamente no momento em que uma barra se fecha e o gráfico é atualizado.
Use Chase Orders.
Esta entrada aplica-se apenas ao estudo Spreadsheet System for Trading. Quando esta entrada é definida como Sim e você ativou as ordens limitadas para uma determinada coluna Comprar / Vender, a ordem limite será enviada como uma Ordem Limitada de Chase. A quantidade de perseguição é definida através da célula J46 denominada Maximum Chase Amount for Limit Chase Orders.
Registo de sinal de comércio automático aprimorado.
Quando a Entrada de Logon Relacionada ao Sinal de Comércio Automático Avançado é definida como Sim, isso irá adicionar mensagens adicionais ao Trade & gt; & gt; Trade Service Log indicando o motivo pelo qual um sinal de pedido é ignorado das colunas de fórmulas K, L, M, N nas linhas 3 e 4 ao usar o estudo do Spreadsheet System for Trading.
Isso é útil para solucionar problemas com sinais ignorados. Isso deve fornecer uma indicação definitiva sobre o motivo pelo qual o sinal está sendo ignorado.
Configure esta Entrada para Sim apenas por um curto período de tempo e somente quando necessário porque gera uma grande quantidade de mensagens e pode criar uma carga de CPU muito pesada e desnecessária ao fazer back testing até o ponto em que um teste de tick by tick back se torna próximo impossível de completar e extremamente onerosa.
Copie a coluna J da folha de fórmula.
Esta Entrada quando definida como Sim, isso fará com que as seguintes linhas da coluna J da Folha de Fonte de Fórmula sejam copiadas para a Folha utilizada pelo Estudo do Sistema de Cálculo para o Comércio.
Isso inclui as células que suportam a escrita ou a entrada pelo usuário. Se eles são somente leitura, eles não são copiados da Folha de Fonte de Fórmula.
LIMIT_OR_STOP_PRICE_BUY_ENTRY_ROW LIMIT_OR_STOP_PRICE_BUY_EXIT_ROW LIMIT_OR_STOP_PRICE_SELL_ENTRY_ROW LIMIT_OR_STOP_PRICE_SELL_EXIT_ROW ORDER_QUANTITY_ROW CANCEL_WORKING_ORDERS_ROW DISABLE_AUTO_TRADING_ROW FLATTEN_AND_CANCEL_WORKING_ORDERS_ROW MAXIMUM_CHASE_AMOUNT_FOR_LIMIT_CHASE_ORDERS_ROW BUY_ENTRY_ORDER_TYPE_ROW BUY_EXIT_ORDER_TYPE_ROW SELL_ENTRY_ORDER_TYPE_ROW SELL_EXIT_ORDER_TYPE_ROW CANCEL_ALL_ORDERS_EXCEPT_WORKING_ATTACHED_ORDERS_ROW ATTACHED_ORDER_TARGET_OFFSET_ROW ATTACHED_ORDER_STOP_OFFSET_ROW USE_SEPARATE_EXIT_ORDER_QUANTITY_ROW EXIT_ORDER_QUANTITY_ROW ALLOW_TRADING_ONLY_DURING_TIME_RANGE_ROW START_TIME_FOR_ALLOWED_TIME_RANGE_ROW END_TIME_FOR_ALLOWED_TIME_RANGE_ROW FLATTEN_POSITIONS_AND_CANCEL_ORDERS_AT_SET_TIME_ROW TIME_FOR_FLATTEN_POSITIONS_AND_CANCEL_ORDERS_ROW PF_BOX_SIZE_ROW PF_REVERSAL_SIZE_ROW.
Barras de gráfico mínimo exigidas para a avaliação da célula de saída de entrada.
Esta Entrada quando definida como Sim, impedirá de avaliar as células Comprar / Vender Entrada / Sair para sinais de ordem até o número especificado de barras estar no gráfico.
BuyEntry (K), BuyExit (L), SellEntry (M), SellExit (N) Spreadsheet Order Action Columns.
As seguintes colunas de ação de ordem de planilha somente se aplicam ao estudo do Spreadsheet System for Trading.
Nota: para todas as ações de ordem abaixo: quando uma ordem é enviada, um som de alerta também será reproduzido se você selecionou um Som de Alerta para a coluna de planilha correspondente nas Configurações de Entrada na janela Configurações de Estudo.
Uma mensagem de alerta também será adicionada à janela & gt; & gt; Alerts Manager & gt; & gt; Alertas de registro.
Entrada de Compra (coluna K)
Quando a Fórmula de condição na linha 3 da coluna K na planilha retorna um valor diferente de zero ou VERDADEIRO, uma ordem de compra será dada se determinadas condições forem atendidas. Para obter detalhes completos sobre essas condições, consulte a página Gerenciamento de Comércio Automático.
A ordem real não é enviada até que a célula se torne diferente de zero ou VERDADEIRA assumindo que as condições para o envio da ordem foram atendidas.
Buy Exit (coluna L)
Quando a Fórmula de Condição na linha 3 da coluna L na Folha de Cálculo retorna um valor diferente de zero ou TRUE, então uma ordem de Venda será dada se determinadas condições forem atendidas. Para obter detalhes completos sobre essas condições, consulte a página Gerenciamento de Comércio Automático.
Você precisa codificar em suas fórmulas de saída usando a função de planilha ET (), verifique se existe uma quantidade de posição comercial. Um exemplo seria: = OR (E ($ J $ 8 & gt; 0, ID0.SG4@$3 & lt; = $ J $ 9-1), E ($ J $ 8 & gt; 0, ID0.SG4@$3 & gt; = $ J $ 9 + 2)).
A referência à célula J8 refere-se à quantidade de posição comercial atual. Os sinais de dólar em $ J $ 8 significam que é uma referência de planilha absoluta.
No caso de uma fórmula de saída de compra, você deve verificar se há uma longa posição comercial, certificando-se de que J8 é & gt; do que 0. O objetivo disso é que a fórmula permaneça FALSA até o momento em que uma posição comercial possa ser encerrada.
Caso contrário, a fórmula pode tornar-se VERDADEIRA em uma barra e dar um sinal mesmo antes de existir uma posição comercial. Neste caso, será ignorado como deveria ser. No entanto, se ele for VERDADEIRO e, mais tarde, na mesma barra ou em uma barra diferente, quando finalmente existir uma Posição de Comércio, não haverá mais um sinal de Saída porque o estado TRUE anterior já foi ignorado e a fórmula continua VERDADEIRA e não dando um novo sinal.
A ordem real não é enviada até que a célula se torne diferente de zero ou VERDADEIRA assumindo que as condições para o envio da ordem foram atendidas.
Entrada de venda (coluna M)
Quando a Fórmula de condição na linha 3 da coluna M na planilha retorna um valor diferente de zero ou VERDADEIRO, uma ordem de venda será dada se determinadas condições forem atendidas. Para obter detalhes completos sobre essas condições, consulte a página Gerenciamento de Comércio Automático.
A ordem real não é enviada até que a célula se torne diferente de zero ou VERDADEIRA assumindo que as condições para o envio da ordem foram atendidas.
Vender Sair (coluna N)
Quando a Fórmula de condição na linha 3 da coluna N na planilha retorna um valor diferente de zero ou TRUE, então uma ordem de compra será dada se determinadas condições forem atendidas. Para obter detalhes completos sobre essas condições, consulte a página Gerenciamento de Comércio Automático.
Você precisa codificar em suas fórmulas de saída usando a função de planilha ET (), verifique se existe uma quantidade de posição comercial. Um exemplo seria: = OR (E ($ J $ 8 & lt; 0, ID0.SG4@$3 & gt; = $ J $ 9 + 1), E ($ J $ 8 & lt; 0, ID0.SG4@$3 & lt; = $ J $ 9-2)).
A referência à célula J8 refere-se à quantidade de posição comercial atual. Os sinais de dólar em $ J $ 8 significam que é uma referência de planilha absoluta.
No caso de uma fórmula Sell Exit, você deve verificar se há uma posição comercial curta, certificando-se de que J8 é & lt; do que 0. O objetivo disso é que a fórmula permaneça FALSA até o momento em que uma posição comercial possa ser encerrada.
Caso contrário, a fórmula pode tornar-se VERDADEIRA em uma barra e dar um sinal mesmo antes de existir uma posição comercial. Neste caso, será ignorado como deveria ser. However, if it remains TRUE and then later on that very same bar or a different bar, when there finally is a Trade Position, there will no longer be an Exit signal because the prior TRUE state was already ignored and the formula remains TRUE and not giving a new signal.
The actual order is not submitted until the cell becomes nonzero or TRUE assuming the conditions for sending the order have been met.
Ignored Signals With Spreadsheet Systems or Alerts.
Introdução.
There are many cases in which a Buy or Sell signal from the Entry and Exit formula columns (K, L, M, N) will be ignored. When a signal is ignored from a formula that returns a nonzero number or TRUE, then there will be no Alert Sound played, Alert Message logged, or a Trade Order sent . This section explains all of this.
Enabling Auto Trading.
If Trade >> Auto Trading Enabled - Global or Trade >> Auto Trading Enabled - Chart are unchecked, then Buy and Sell trade order signals from the Spreadsheet System for Trading study will be ignored. In this case you will see messages added to the Trade >> Trade Service Log indicating this.
The Send Orders to Trade Service study Input setting needs to be set consistently with the Trade >> Trade Simulation Mode On setting on the menu. If it is not, then Buy and Sell trade order signals from the Spreadsheet System for Trading study will be ignored. In this case you will see messages added to the Trade >> Trade Service Log indicating this. For complete details, refer to SendOrdersToTradeService.
Ignored Signals During Historical Data Downloading.
With the Spreadsheet System for Trading study and the Spreadsheet System/Alert study, System and Alert signals from the Sheet formula columns are ignored on historical data and when historical data is being downloaded. They are monitored for when the chart is actually updating with new data.
A chart will be updating with new data during real-time chart updating with live data, during replays, or during a Back Test. If you want to see the Back Test results from historical Buy and Sell signals from the Buy/Sell formula columns in the case of when using the Spreadsheet System for Trading study, then refer to the Back Testing section.
Buy/Sell Arrows Do Not Mean Trade Signals.
When using the Spreadsheet System for Trading study and a formula returns TRUE/1 in the Buy Entry (K3), Buy Exit (L3), Sell Entry (M3), or Sell Exit (N3) cells, a trade signal is not necessarily going to be given.
You will see an arrow above or below the chart bar corresponding to the particular formula column cell indicating a buy or sell signal based upon that TRUE/1 value, assuming the corresponding Subgraph Draw Style is set to a visible style. For example, if cell K5 is 1 in the Sheet being used by the Spreadsheet Study and the Buy Entry Subgraph >> Draw Style is set to Arrow Up , then you would see an up arrow displayed below the third chart bar from the last bar in the chart.
However, this does not necessarily mean that the formula TRUE/1 result will be followed and a trade signal will be given. The BuyEntry (K), BuyExit (L), SellEntry (M), SellExit (N) Spreadsheet Order Action Columns rules must be met and the additional conditions imposed by the related study Input Settings must be met, for a trade signal to be actually given. If the trade signal is ignored, then a message will be added to the Trade >> Trade Service Log indicating the reason why.
Review the Trade Service Log for the reason. To see on the chart the actual order fills from trades made, you need to display the order fills. For instructions to do this, refer to Displaying Order Fills.
Reset Condition on New Bar.
When using either the Spreadsheet System for Trading or Spreadsheet System/Alert studies, the TRUE signals given from cells K3 through Z3 may not always be followed and give an alert or trade signal, even though they still return TRUE or a non zero value and an arrow shows on the chart. If a cell is TRUE and there is a new bar added to the chart and the cell continues to be TRUE, because the state is already TRUE, you will not get a new signal unless the input Reset Condition on New Bar is set to Yes.
Signal Only Once per Bar.
If a TRUE signal has been given by the formula in a particular cell and then it goes back to FALSE and back to TRUE on the same bar, you will not get a signal if the study Input Signal Only Once Per Bar is set to Yes .
Signal Only on Bar Close.
If you have the Signal Only On Bar Close (Column K, M) input set to Yes, then a TRUE signal will be ignored on cells K3 and M3, and only the cells K4 and M4 will be monitored for signals. Likewise with the Signal Only On Bar Close (Column L, N-Z) input.
In the case of when either Signal Only Once per Bar and Signal Only on Bar Close study Inputs have been set to Yes , when a signal is ignored by these restrictions, there is no message added to the Trade Service Log or the Alerts Log , except in the case of the Spreadsheet System for Trading study when the signal has been ignored as the result of Signal Only Once Per Bar being set to Yes .
Solução de problemas.
In order to troubleshoot a problem with ignored signals, we recommend setting both of the Signal Only On Bar Close Inputs to No .
Detailed logging can also be enabled which will add reasons for ignored signals in all cases , to the Trade >> Trade Service Log .
When using the Spreadsheet System for Trading study, set the Enhanced Auto Trade Signal Related Logging Input to Yes .
When using the Spreadsheet System/Alert study, set the Enhanced System Signal Related Logging Input to Yes .
Only set these Inputs to Yes when absolutely necessary because they will add a very large number of messages to the Trade Service Log and can cause Sierra Chart to be nonresponsive at times.
System/Alerts and Draw Style.
In the case of the Spreadsheet System/Alert study, if the Draw Style for a Spreadsheet column is set to Ignore , then System or Alert signals in that column will be ignored.
Nonzero Trade Position Quantity.
In the case of the Buy Exit or Sell Exit Order Action columns when using the Spreadsheet System for Trading study, if a Buy/Sell Exit formula is TRUE and remains TRUE before there is a nonzero Trade Position Quantity and then a nonzero Trade Position Quantity later exists, then the Exit will be ignored it until it goes back to FALSE and then to TRUE.
Therefore, you need to program the formula to remain FALSE until there is a Trade Position Quantity. This can be done by using the AND function and checking that cell J5 is nonzero.
Delayed TRUE Result from Formulas.
Another thing to also consider is that you may see an arrow on the chart from one of the Order Action formula column cells indicating TRUE, but it is on the bar prior to the last bar in the chart and it appeared after a new bar was added to the chart. Therefore, unless the corresponding Signal Only On Bar Close Input is set to Yes, then that TRUE result going to be ignored as well.
You cannot make an assumption that when you see a 1/TRUE in a cell, that at the moment the cell is evaluated for an order/alert signal that the 1/TRUE was present at that time. It may have been 0 and could have went to 1 quickly after.
Spreadsheet System for Trading Test Procedure.
To get an understanding of how the TRUE signals in K3, L3, M3, N3 are processed follow the test procedures on the Spreadsheet System for Trading Test Procedure page.
After you go through this test procedure, and you are still having difficulty troubleshooting your Spreadsheet System for Trading study implementation, we recommend changing the formulas to simple TRUE/1 values temporarily during a replay just like explained in the test procedure, and then gradually add to the complexity of them until you can determine the source of the problem.
Disappearing Arrows or Signals.
When using either the Spreadsheet System for Trading study or the Spreadsheet System/Alert study, when a formula in a cell in one of the Spreadsheet columns that is graphed on the chart, typically this is going to be Spreadsheet columns K, L, M, N, returns a nonzero or TRUE value, you will see an arrow on the corresponding bar on the chart representing the TRUE condition.
You also need to make certain that the Draw Style for the particular Spreadsheet formula column you want to see arrows for, is set to one of the Arrow Up/Down/Left/Right Draw Styles or other similar style.
These TRUE formula signals can trigger an Alert Sound as well and also a Trade signal (in the case of the Spreadsheet System for Trading study) if these signals are given in row 3, or row 4 if have set the study Input Signal Only On Bar Close (Columns K, M)/(Columns L, N-Z) to Yes .
If the formula no longer is returning a nonzero or TRUE value and instead returning FALSE (0), then the arrow will disappear even though the Alert and the Trade signal was previously given.
So it is important to understand that your formula could go to TRUE momentarily and then FALSE.
In summary, the standard Up and Down arrows on a chart displayed by these Spreadsheet studies, indicate the present state of the formulas. During the formation of a bar or after new bars are added to the chart, a formula could go from TRUE to FALSE based upon the logic of the formula and changing data in the cells that it references. It is up to you to determine specifically what is happening and why.
To actually see where the trades were made, you need to display Order Fills on the chart.
If you are using the Spreadsheet System for Trading study and you wish to visibly see where trades have been made on the chart in the case of when the arrows on the chart disappear, then enable Trade >> Show Order Fills . Various options affecting the display of order fills can be set by enabling Trade >> Chart Trade Settings on the menu.
When a cell that can trigger an Alert Sound or Trade signal becomes TRUE and an Alert Sound and/or a Trade signal is actually given, then an alert message will be added to the Window >> Show/Hide Alerts Manager >> Alerts Log . All of these events are logged in the Alerts Log tab.
Not only can you experience the condition where the arrows disappear, you could also have the condition where the state of your formulas change, based upon how they are programmed and the data they are referencing, and you see an arrow later appear on a bar where a signal was not previously given when it was evaluated for an alert or trade signal.
You may also see that the arrow direction does not correspond to an order fill displayed on a bar due to changes with the formula results during processing of a bar. For example, initially a bar may have given a Buy signal, a Buy fill is displayed on the chart for the bar, but then later the bar gives a Sell signal which is ignored based upon the auto trade logic. So at the present moment you see a Down Arrow, but a Buy fill for the bar.
In order to create more stability when it comes to generating orders when using the Spreadsheet System for Trading study, you may want to set the Signal Only On Bar Close (Columns K, M) / (Columns L, N-Z) input to Yes.
All of what is described in this section is something that you need to be aware of when you are looking at the final results of your trading system and comparing them to the current FALSE/TRUE state of the Spreadsheet formulas that you visually see at the present moment.
The Effect of the Number of Rows Input.
The Number of Rows input with the Spreadsheet studies, affects the standard Up and Down arrows displayed on a chart by the Spreadsheet studies. You will need to increase this input value to see arrows going back more bars. Arrows that were placed on bars further back than the Number of Rows Input during real-time updating and chart replays, can disappear, or if they have not been removed because there has not been a full recalculation of the study, they may no longer be valid.
Special Spreadsheet Outputted Values.
The Spreadsheet studies will output additional values in the I and J Spreadsheet columns for information and calculation purposes. This is in addition to the main price graph data outputted to columns A through G and the study data outputted beginning at column AA.
The following is a list of all the additional values that are outputted.
Special Spreadsheet System for Trading Values.
These values are outputted for the Spreadsheet System for Trading study only. These values can be used in Spreadsheet formulas. Below is a description of what each Row means.
Working Orders Quantity [J3]
This is the combined quantity for all the Working orders for the chart symbol. This is positive for Buy orders and negative for Sell orders. If there is one Buy working order with a quantity of 5, it will be +5. If there is one Buy order and one Sell order, each with the same quantity, it will be 0.
Position with Working Orders Quantity [J4]
This is the Position quantity combined with the quantities from Working orders. BuyEntry and SellEntry depend on this number to determine whether or not another entry should be allowed. For more information, refer to Trade Positions.
Position Quantity [J5 or J8]
Cells J5 and J8 contain the Quantity of the current Trade Position for the chart symbol.
This Quantity can either be a quantity from the Trade Simulation Mode system or the quantity from the external trading service.
This depends upon whether the Spreadsheet System for Trading study is in Simulation Mode or not. For instructions to control this, refer to Going From Simulated Trading to Non-Simulated (Live) Trading.
This value can be negative (a Short quantity) or positive (a Long quantity). Both of these cells, J5 or J8, contain the same Position data and either one can be used.
In the case of a Trade Position Quantity when in Trade Simulation Mode, for information about how that is determined, refer to Simulated Trade Positions.
For information about non-simulated Trade Positions, refer to Trade Positions Tab.
Position with Working Exit Orders Quantity [J6]
This is the Position quantity for the symbol combined with the quantity of working orders that can potentially exit the current Position. Therefore, if the Position quantity is +5 and there is a Sell order with a quantity of 4, this will be 1. For more information, refer to Trade Positions.
Prior Position Quantity [J7]
The Prior Position Quantity cell indicates the Position Quantity right before a new order fill is processed. If a trade order fills with multiple fills, then this field will be updated for each of those fills.
Prior Position Quantity is calculated using the available order fill data in the Trade >> Trade Activity Log >> Trade Activity tab for the symbol. The Global Settings >> General Trade Settings >> Number of Days to Save in Trade Activity Log controls how many days of data are saved in the log. You may need to adjust that to meet your requirements.
Position Average Price [J9]
This is the average of the fill prices of the currently open Trade Position for the Symbol and Trade Account the chart is set to.
For more information, refer to Trade Positions.
Open Profit/Loss [J10]
This is the profit or loss of the currently open Trade Position for the Symbol and Trade Account the chart is set to.
For more information, refer to Trade Positions.
This value is outputted as a Currency Value. Refer to Profit/Loss Format for the calculation method for Currency Value .
Cumulative Closed Profit/Loss [J11]
This is the profit or loss of the closed out Trades for the Symbol and Trade Account of the chart the Spreadsheet System for Trading study applied to. It is based upon the available order fill data in Trade >> Trade Activity Log >> Trade Activity .
This value is outputted as a Currency Value. Refer to Profit/Loss Format for the calculation method for Currency Value .
If the order fills from Trades made, are not available in the Trade Activity Log, then the Cumulative Closed Profit/Loss value will not consider those trades. The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
To reset this value, you will need to clear the order fill data from the Trade Activity Log for the Symbol and Trade Account. For instructions to do this, refer to Clearing Trade Activity Log.
The order fill data for replays and back tests, when you initiate a replay or back test will be automatically cleared. At that time you will receive a prompt to clear this data. When you press Yes, the data will be automatically cleared and therefore the Cumulative Closed Profit/Loss will be reset back to 0.
Maximum Open Position Profit [J31]
The Maximum Open Position Profit is what the maximum profit of the current Position has been. This is reset whenever the Position Quantity changes. For more information, refer to Trade Positions.
Maximum Open Position Loss [J32]
The Maximum Open Position Loss is what the maximum loss of the current Position has been. This is reset whenever the Position Quantity changes. For more information, refer to Trade Positions.
Win Trades [J33]
The total number of winning trades based upon the available fill data in Trade >> Trade Activity Log >> Trade Activity . A winning trade is defined as a trade that reduces or closes out a Position while the Open Profit/Loss is positive or flat.
The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
Lose Trades [J34]
The total number of losing trades based upon the available fill data in Trade >> Trade Activity Log >> Trade Activity . A losing trade is defined as a trade that reduces or closes out a Position while the Open Profit/Loss is negative.
The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
Total Trades [J35]
The total number of closed trades based upon the available fill data in Trade >> Trade Activity Log >> Trade Activity . A trade is defined as a trade that reduces or closes out a Position. This is going to be an individual fill. Not necessarily an entire order.
The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
Seconds Per Bar - Intraday (read-only) [J36]
This cell contains the number of seconds that the chart bars are set to ( Chart>> Chart Settings ). This will always be a nonzero number. Even when one of the Number of Trades Per Bar, Volume Per Bar, Range Per Bar cells are nonzero.
Number of Trades Per Bar - Intraday (read-only) [J37]
The cell contains the number of trades per bar setting in Chart>> Chart Settings . It will be zero if the chart bars are not set to be based upon a number of trades.
Volume Per Bar - Intraday (read-only) [J38]
The cell contains the volume per bar setting in Chart>> Chart Settings . It will be zero if the chart bars are not set to be based upon a specified volume.
Range Per Bar (in ticks) - Intraday (read-only) [J39]
The cell contains the range per bar setting in Chart>> Chart Settings . It will be zero if the chart bars are not set to be based upon a specified price range.
Symbol [J40]
The cell contains the symbol of the chart. In the case where a Trade and Current Quote Symbol is set on the chart, that symbol will be returned.
Last Bar End DateTime [J41]
This cell contains the latest date and time of the last bar in the chart in a Serial DateTime format.
This number can be used for various comparisons within formulas that are based on times. To ensure you see this value formatted as a Date-Time, right-click on the cell and select Number Format from the menu or Spreadsheet >> Number Format . Change the Number Format to Date-Time .
This cell data is outputted with all of the Spreadsheet studies.
Last Entry Trade Date-Time [J42]
This cell displays a number that represents the Date and Time of the bar at which the last Entry trade was triggered and processed. This number can be used for various comparisons within formulas that are based on times.
This data is maintained by the internal Trades list in the chart.
Last Exit Trade Date-Time [J43]
This cell displays a number that represents the Date and Time of the bar at which the last Exit trade was triggered and processed. This number can be used for various comparisons within formulas that are based on times.
This data is maintained by the internal Trades list in the chart.
Last Trade Profit/Loss [J44]
This is the Profit or Loss of the last completed trade for the Symbol and Trade Account of the chart the Spreadsheet System for Trading study applied to.
This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
Closed Daily Profit/Loss [J45]
This is the Profit or Loss of Trades made that have been closed during the day for the Symbol and Trade Account of the chart the Spreadsheet System for Trading study applied to. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default it resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Trade Service Account Balance [J47]
This is the current cash balance for the selected Trade Account on the Trade Window for the chart when not in Trade Simulation Mode.
This data is from the external connected Trading service. Not all Trading services provide this data. This is not a simulated account balance.
To select the Trade Account on the Trade Window for the chart, refer to Selecting Trade Account.
Last Entry Fill Price [J48]
This cell displays the fill price of the order for the last Entry trade. If your trading system is in simulation mode, then this data is from a simulated order. Otherwise, it is from a non-simulated order.
This data is maintained by the internal Trades list in the chart.
Last Exit Fill Price [J49]
This cell displays the fill price of the order for the last Exit trade. If your trading system is in simulation mode, then this data is from a simulated order. Otherwise, it is from a non-simulated order.
This data is maintained by the internal Trades list in the chart.
Daily Win Trades [J50]
This the number of trades that have completed and had a profit or were breakeven during the trading day. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field reset at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Daily Lose Trades [J51]
This the number of trades that have completed and had a loss during the trading day. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Daily Total Trades [J52]
This the number of Trades that have completed during the trading day. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
This field can be used to limit the number of automated trades during the trading day. For example, in the Disable Auto Trading (J28) cell, enter the following: =J52 >= 1 . This will limit your automated trading to 1 trade per day.
Daily Total Quantity Filled [J53]
This is the total quantity of the order fill quantities for the trading day. For example, if you have a buy order fill during the trading day of quantity 5 and a sell order fill of quantity 5, then this will be 10, assuming these are the only 2 fills during the trading day.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Daily Number of Long Trades [J54]
This the number of Long Trades that have completed during the trading day. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Daily Number of Short Trades [J55]
This the number of Short Trades that have completed during the trading day. This uses a Fill to Fill order fill grouping method for Trades.
This is calculated from the order fill data in Trade >> Trade Activity Log >> Trade Activity . The number of days saved in the Trade Activity Log is set through Global Settings >> General Trade Settings .
By default this field resets at midnight according to the Time Zone setting in Sierra Chart. The reset time can be changed through Global Settings >> General Trade Settings >> Daily Stats Reset Time .
Current Quote Values [Cells J12 through J20]
Cells J12 through J20 display the Current Quote Values for the chart symbol. These are always displayed on the Spreadsheet used by the Spreadsheet System for Trading study, and will only be displayed if the Output Current Quote Data input is set to Yes for the other Spreadsheet studies.
The Daily Open, Daily High, Daily Low, Daily Net (Daily Price Change), and Daily Volume are only going to be set when connected to the data feed ( File >> Connect to Data Feed ) and the associated chart is not replaying. Otherwise, they will be 0. The data that you see is the same data displayed in Window >> Current Quote Window . The Current Quote Window contains the daily quote data for the symbol of the active chart.
Tick Size (Read-only) [J21]
This cell contains the Tick Size of the symbol. This is the minimum increment that the symbol trades in. This data is outputted for all of the Spreadsheet studies.
The Tick Size is useful to use in formulas where you want to specify a number of ticks as an actual price value. For example =4 * J21 .
Special Spreadsheet Trading Inputs on the Spreadsheet.
The following is a list of special Spreadsheet inputs in columns I and J used by the Spreadsheet System for Trading study. These are actual inputs that will use the values you type into the corresponding row in the J column.
Limit or Stop Prices [J22, J23, J24, J25]
Cells J22 through J25 allow you to set the Limit or Stop order prices for each of the 4 different Spreadsheet Order Actions. These apply when you have set to use a Limit or Stop order for a particular Order Action in cells J71 through J74. Refer to Buy Entry: Order Type [J71].
You are able to set a Limit or Stop price to either the Bid or Ask prices by using these formulas: =J12 (Bid price) or =J14 (Ask Price). This allows you to buy at the Bid or sell at the Ask respectively.
You can use the Tick Size in cell J21 to use in these Limit or Stop Price cell formulas to specify a certain number of ticks as an actual price value. For example = E3 + 4 * J21 .
Order Quantity [J26]
Cell J26 controls the Order Quantity for orders that are submitted from the Spreadsheet System for Trading study. This quantity can be dynamically controlled by a formula.
If the cell is empty or 0, the Order Quantity will be set to 1 for Buy Entry and Sell Entry .
If the cell is empty or 0 during a Buy Exit or Sell Exit , then the quantity is determined by the automated trading logic and the end result will be that the Trade Position for the Symbol and Trade Account is flattened.
Negative order quantities are converted to positive numbers.
Use Separate Exit Order Quantity [J82]
When this cell is set to TRUE or a nonzero value, then a Buy Exit or Sell Exit Order Action will use the quantity specified by the Exit Order Quantity [J83] cell.
Exit Order Quantity [J83]
This cell is only used when Use Separate Exit Order Quantity [J82] is set to TRUE or a nonzero value.
This cell controls the Order Quantity for Buy Exit or Sell Exit Order Actions from the Spreadsheet System for Trading study. This quantity can be dynamically controlled by a formula.
If the cell is empty or 0 during a Buy Exit or Sell Exit , then the quantity is determined by the automated trading logic and the end result is that the Trade Position for the Symbol and Trade Account the automated trading system is for will be flattened.
Negative order quantities are converted to positive numbers.
Maximum Chase Amount for Limit Chase Orders [J46]
This cell is used to specify the maximum chase amount for limit chase orders. For more information, refer to the Use Chase Orders input.
Cancel Working Orders [J27]
Cell J27 allows you to cancel all working orders for the Symbol and Trade Account of the chart that the Spreadsheet System for Trading study is currently applied to.
Setting this cell to TRUE or any non-zero number (such as 1 ) will trigger the canceling of orders. You can also input a formula into this cell to cancel all working orders when certain conditions are met.
The canceling of orders occurs before any of the Entry and Exit signal cells are evaluated. However, these cancellations in the case of non-simulated trading do take time to occur and they will be pending during the evaluation of the Entry and Exit signal cells.
When this cell is set to a nonzero or TRUE value, additional cancellations will not occur until it is set back to zero or FALSE and then back to a nonzero or TRUE value.
If you wish to cancel working orders at a specific time, then you can use a formula like this: =(J41-INT(J41)) > TIMEVALUE("16:15:00") . This example will return TRUE when the time is 16:15 or greater. Cell J41 is the latest time in the last bar in the chart. It is best to use that cell, since NOW() always refers to the current time, and that will not work during back testing.
Cancel All Orders except working Attached Orders [J78]
Cell J78 allows you to cancel all working orders except for working Attached Orders for the Symbol and Trade Account of the chart that the Spreadsheet System for Trading study is currently applied to.
Attached Orders that have a Pending Child - Client/Server status will still be canceled. Only Attached Orders that have an Open/Pending Open/Pending Modify status will not be canceled.
Setting this cell to TRUE or any non-zero number (such as 1 ) will trigger the canceling of orders. You can also input a formula into this cell to cancel all working orders when certain conditions are met.
The canceling of orders occurs before any of the Entry and Exit signal cells are evaluated. However, these cancellations in the case of non-simulated trading do take time to occur and they will be pending during the evaluation of the Entry and Exit signal cells.
When this cell is set to a nonzero or TRUE value, additional cancellations will not occur until it is set back to zero or FALSE and then back to a nonzero or TRUE value.
Flatten Position and Cancel Working Orders [J29]
Cell J29 flattens the existing Trade Position that the Spreadsheet System for Trading study is reporting on the Sheet. So this will be for the Symbol and Trade Account that the chart is set to.
All Working orders will also be canceled for the symbol and Trade Account.
Simply setting this cell to TRUE or any non-zero number (such as 1 ) will trigger the flattening of the Position and canceling of orders. You can also input a formula here to perform the action when certain conditions are met.
The flattening of the Position and canceling of orders occurs before any of the Entry and Exit signal cells are evaluated. When this cell is set to a nonzero or TRUE value, additional flattening of the Position and canceling of orders will not occur until it is set back to zero or FALSE and then back to a nonzero or TRUE value.
If you want to flatten the Trade Position and cancel working orders at a specific time, then you can use a formula like this: =(J41-INT(J41)) > TIMEVALUE("16:15:00") . This example will return TRUE when the time is 16:15 or greater. Cell J41 is the latest time in the last bar in the chart. It is best to use that cell, since NOW() always refers to the current time, and that will not work during back testing.
Disable Auto Trading [J28]
When Cell J28 is set to TRUE it disables all trading from the Spreadsheet. When this cell is set to TRUE , all Spreadsheet Buy/Sell entries and exits, flatten Position and cancel order commands are ignored .
However, if this cell is set to TRUE at the same time that a cell like Flatten Position and Cancel Working Orders is set to TRUE, then the Flatten Position and Cancel Working Orders action will still occur and then automated trading will be disabled after that. This paragraph applies to versions 1463 and higher.
You can enter a formula in this cell to disable trading when certain conditions are met or even when the latest Date-Time of the last bar in the chart meets some specified time condition. Manually setting this input to TRUE or any non-zero number will simply disable all auto trading until the cell is set back to FALSE .
If you want to disable automated trading at a specific time, then you can use a formula like this: =(J41-INT(J41)) > TIMEVALUE("16:15:00") . This example returns TRUE when the time is 16:15 or greater. Cell J41 is the latest time in the last bar in the chart. It is best to use that cell, since NOW() always refers to the current time, and that will not work during back testing.
For documentation for the particular Spreadsheet functions used, refer to Spreadsheet Functions.
To limit trading to the day session only, use this formula: =OR(J41-INT(J41) < TIMEVALUE("09:30:00"), J41-INT(J41) > TIMEVALUE("16:00:00") ) . This formula assumes your time zone in Sierra Chart is set to New York, and the symbol of the chart is a stock or stock index.
Buy Entry: Order Type [J71]
This Spreadsheet input is for specifying the order type for the Buy Entry Order Action column.
The corresponding Limit or Stop price is set in cell J22. If the Limit or Stop price cell is set to 0 or is blank, then the Limit or Stop price will be set to the current Ask price.
If the Order Type is blank, it will be set to M (Market).
The order type can be programmatically set with a formula. Here is an example: =IF($J$5 > 0, "L", "M") .
Buy Exit: Order Type [J72]
This Spreadsheet input is for specifying the order type for the Buy Exit Order Action column.
The corresponding Limit or Stop price is set in cell J23. If the Limit or Stop price cell is set to 0 or is blank, then the Limit or Stop price will be set to the current Bid price.
If the Order Type is blank, it will be set to M (Market).
The order type can be programmatically set with a formula. Here is an example: =IF($J$5 > 0, "L", "M") .
Sell Entry: Order Type [J73]
This Spreadsheet input is for specifying the order type for the Sell Entry Order Action column.
The corresponding Limit or Stop price is set in cell J24. If the Limit or Stop price cell is set to 0 or is blank, then the Limit or Stop price will be set to the current Bid price.
If the Order Type is blank, it will be set to M (Market).
The order type can be programmatically set with a formula. Here is an example: =IF($J$5 > 0, "L", "M") .
Sell Exit: Order Type [J74]
This Spreadsheet input is for specifying the order type for the Sell Exit Order Action column.
The corresponding Limit or Stop price is set in cell J25. If the Limit or Stop price cell is set to 0 or is blank, then the Limit or Stop price will be set to the current Ask price.
If the Order Type is blank, it will be set to M (Market).
The order type can be programmatically set with a formula. Here is an example: =IF($J$5 > 0, "L", "M") .
Attached Order Target Offset (write only) [J80]
When this is set to a nonzero value, this will replace any existing defined Attached Orders on the Trade Window for the chart with a Target Limit order with the Offset specified in this cell.
The purpose of using a Spreadsheet cell to set the Target Attached Order Offset is so that it can be set according to a formula rather than hardcoded at a particular value on the Trade Window for the chart.
The Offset is relative to the parent order price. This Offset needs to be specified as an actual price value .
If a Stop order is also set through cell J81 , then this will be added to the Attached Orders at the same time as well. For more information, refer to Attached Orders.
For the Attached Orders to actually be used when submitting a Buy/Sell Entry order, the Use Attached Orders option needs to be enabled on the Trade Window for the chart.
Attached Order Stop Offset (write only) [J81]
When this is set to a nonzero value, this will replace any existing defined Attached Orders on the Trade Window for the chart with a Stop order with the Offset specified in this cell.
The purpose of using a Spreadsheet cell to set the Stop Attached Order Offset is so that it can be set according to a formula rather than hardcoded at a particular value on the Trade Window for the chart.
The Offset is relative to the parent order price. This Offset needs to be specified as an actual price value .
If a Target order is also set through cell J80 , then this will be added to the Attached Orders at the same time as well. For more information, refer to Attached Orders.
For the Attached Orders to actually be used when submitting a Buy/Sell Entry order, the Use Attached Orders option needs to be enabled on the Trade Window for the chart.
Working Orders Exist (read-only) [J84]
This is set to TRUE when there are orders which currently have a Status indicating they are working and can be filled. This also includes Pending Child orders. Otherwise, this is set to FALSE. This cell is read-only.
Allow Trading Only During Time Range (read/write) [J85]
This can be set to TRUE to only allow automated trading by the Spreadsheet System for Trading study during the time range specified in the Start Time For Allowed Time Range and End Time For Allowed Time Range cells.
The current time used in the comparison is the Date-Time of the most recent trade/quote in the last bar in the chart. This either can be accurate to the second and based upon the most recent trade date-time for the symbol from the data feed, or will be based upon the Intraday chart data file record in the case of an Intraday chart and will also be accurate to the second in the case of 1 Tick or 1 Second Intraday data.
Start Time For Allowed Time Range (read/write) [J86]
When the Allow Trading Only During Time Range cell has been set to TRUE, then this cell specifies the starting time in the charts time zone that automated trading is allowed to begin at.
This time can be entered in the format: HH:MM:SS or using a formula that returns a Serial DateTime Value.
End Time For Allowed Time Range (read/write) [J87]
When the Allow Trading Only During Time Range cell has been set to TRUE, then this cell specifies the ending time in the charts time zone that automated trading will no longer be allowed after.
This time can be entered in the format: HH:MM:SS or using a formula that returns a Serial DateTime Value.
Flatten Positions And Cancel Orders At Set Time (read/write) [J88]
When this cell is set to TRUE, then the current Trade Position will be flattened and any working Orders will be canceled for the Symbol and Trade Account of the chart the Spreadsheet System for Trading study is applied to, at the time specified by the Time For Flatten Positions And Cancel Orders cell.
This cell will not perform a Flatten Positions or Cancel Orders operation when the Disable Auto Trading cell is true, or when using Allow Trading Only During Time Range and the current time based on the current chart bar time is outside of the specified time range.
Time For Flatten Positions And Cancel Orders (read/write) [J89]
When the Flatten Positions And Cancel Orders At Set Time cell is set to TRUE, then this cell specifies the time to flatten the Trade Position and cancel the Orders at.
This cell will not perform a Flatten Positions or Cancel Orders operation when the Disable Auto Trading cell is true, or when using Allow Trading Only During Time Range and the current time based on the current chart bar time is outside of the specified time range.
Last Entry/Exit Order Date-Time (read-only) [J90]
This is the Date-Time in the charts time zone, of the last entry or exit order which was submitted whether it has filled or not.
This is useful to use in formulas to determine the amount of time elapsed since an order was submitted and it has not yet filled.
Back Testing.
Spreadsheet Calculations and Spreadsheet Study Processing of Spreadsheet Data.
This section describes the calculations of formulas on a Sheet in a Spreadsheet window and the subsequent reading and processing of values and formula results from a particular Sheet being referenced by one of the Spreadsheet studies. There is a difference between these two operations and this needs to be understood.
The general method by which a Spreadsheet study interacts with a particular Sheet in a Spreadsheet window (also known as a Sheet Collection), is that first the chart data and study values are outputted to the Sheet, the Sheet is calculated, and then the Spreadsheet study gets the results from the formula columns K through Z (last formula column by default) and processes those results and puts them into internal chart arrays for graphing on the chart.
In the case of the Spreadsheet System for Trading study, if there is a full recalculation of the chart, the Sheet will be updated and calculated, however there will not be processing of any of the Sheet formula columns during that full recalculation, by the Spreadsheet System for Trading study. A full recalculation will occur when the chart is opened as part of its Chartbook opening, studies are modified through the Chart Studies window, or if the chart has been tagged for a full recalculation by a chart it is referencing. This last case is not a common case.
After a full recalculation occurs, it is normal for the last bar in the chart to be calculated again. At this time it is normal for any of the Spreadsheet studies to process the formula columns for the last bar in the Sheet.
In the case of the Spreadsheet System for Trading study, if 100 or more bars are added at once to the chart when the chart is updated, then there will not be processing of the Sheet formula columns. This kind of event will be indicated in the Trade >> Trade Service Log when it happens.
The below sections explain how the K through Z formula columns that contain formula results are processed based on the Signal Only on Bar Close inputs. There are two of these inputs and this section applies to both of them. For example, if you use the Signal Only on Bar Close (Columns K, M) input, then this description would apply to columns K and M .
The time at which formula results are processed by any of the Spreadsheet studies is after all the Sheets within the Spreadsheet have been calculated and all cells are reporting their current values.
If Signal Only on Bar Close is set to No , then the following occurs:
If there are no new bars added to the chart during a chart update, then only Sheet row 3 is checked for TRUE/FALSE values that are returned by formulas in the Spreadsheet signal columns (K-Z).
If there are new bars added to the chart during a chart update, then the first row in the Sheet that is examined for TRUE/FALSE values that are returned by the formulas, is the previous topmost row during the prior update (the data previously at row 3).
The reason the previous topmost row is examined, is because there could be changes with the price data and studies at that row during the chart update. In other words, the examination continues where it left off.
Next, the Spreadsheet study processing function moves up the rows all the way up to 3, examining for TRUE/FALSE conditions row by row. For example, if there is one new bar added, then first row 4 is examined and then row 3 is examined for TRUE/FALSE conditions.
One potential issue to be aware of with this processing logic is that if a formula in a particular column is TRUE at row 3 and then a new bar is added and it becomes FALSE at row 4, then the internal state maintained by Sierra Chart for the Spreadsheet column goes to FALSE and can then go back to TRUE if the formula is TRUE at row 3 during that update.
The potential issue with this is an unexpected signal due to a state change.
If Signal Only on Bar Close is set to Yes , then the following occurs:
If there are no new bars added to the chart during a chart update, then only Sheet row 4 is checked for TRUE/FALSE values that are returned by formulas in the Spreadsheet signal columns (K-Z).
If there are new bars added to the chart during a chart update, then the first row in the Sheet that is examined for TRUE/FALSE values that are returned by the formulas, is the previous second topmost row during the prior update (the data previously at row 4).
The reason the previous second topmost row is examined, is because there could be changes with the price data and studies at that row during the chart update. Although, usually not in this case since the data was previously at row 4. In other words, the examination continues where it left off.
Next, the Spreadsheet study processing function moves up the rows all the way up to 4, examining for TRUE/FALSE conditions row by row. For example, if there is one new bar added, then first row 5 is examined and then row 4 is examined for TRUE/FALSE conditions.
One potential issue to be aware of with this processing logic is that if a formula in a particular column is TRUE at row 4 and then a new bar is added and it becomes FALSE at row 5, then the internal state maintained by Sierra Chart for the Spreadsheet column goes to FALSE and can then go back to TRUE if the formula is TRUE at row 4 during that update.
The potential issue with this is an unexpected signal due to a state change. Although, this kind of scenario is highly unlikely with Signal Only on Bar Close set to Yes because data other than at the last bar in the chart is not likely to change.
Order of Formula Column Processing and Internal Calculation Order.
When the formula results in columns K through Z (last formula column by default) are processed for Trade Order or Alert signals by the Spreadsheet System for Trading or Spreadsheet System/Alert studies, column K is evaluated first, then L, then M, and so on through and including the last formula column (by default column Z). The last formula column is set by the Number of Formula Columns Input.
Therefore in the case of the Spreadsheet System for Trading study, the following columns are evaluated in the order in which they are listed left to right: Buy Entry, Buy Exit, Sell Entry, Sell Exit .
The order of calculation for the formulas in cells within a Spreadsheet is based upon the dependency they have to each other. A cell dependent on another cell is always going to be calculated after the cell it is dependent on.
In the case where 2 cells refer to each other, this is known as a circular reference. In the version of Sierra Chart with New Spreadsheets, there is no special handling of a circular reference, the result can be unpredictable, and an error may be given. Circular references are not supported as they simply make no mathematical sense and have an absolute impossibility to resolve accurately.
Multiple Exit Automated Trading Example.
This is an example of an automated trading exit which utilizes two targets. This example applies to the Spreadsheet System for Trading study. A stop is not used in this example. There are three formulas involved in this strategy and they are used in the following cells: Buy Exit, Sell Exit, and Custom Order Quantity.
In this example, these formulas set a price target of 3 points and 5 points away from the Position Average Price (Cell J9). It is assumed that there is a Position quantity of 5.
For the first target, two contracts will be exited. For the second target, three contracts will be exited.
Order Quantity Formula (Cell J26): =IF( ABS(J8) = 5, 2, IF( ABS(J8) = 3, 3, 0)) .
Buy Exit Formula (Cell L3): =OR( AND( $J$8 = 5, ID0.SG4@$3 - $J$9 > 3), AND( $J$8 = 3, ID0.SG4@$3 - $J$9 > 5))
Sell Exit Formula (Cell N3): =OR( AND( $J$8 = -5, $J$9 - ID0.SG4@$3 > 3), AND( $J$8 = -3, $J$9-ID0.SG4@$3 > 5))
This is merely a simple example and this will need to be tested and modified to be certain it will work for you.
Limiting Trading to Certain Time Ranges.
This section uses the GETTIMEFROMDATETIMEVALUE function which is going to be available in an upcoming release at the time of this writing.
To restrict trading during only a certain time range, you can use the Disable Auto Trading cell. Here is an example formula to limit trading during a specific time range: =AND((GETTIMEFROMDATETIMEVALUE(J41)) > TIME(9, 30, 0), GETTIMEFROMDATETIMEVALUE(J41) < TIME(16, 15, 0)) . J41 contains the Last Bar End DateTime.
Or this formula could be combined into a Buy Entry and Sell Entry formula by using the AND function.
Placa de suporte.
Date/Time: Tue, 02 Jan 2018 11:01:11 +0000.
Backtest Spreadsheet Trading System.
"Auto-Trading: Replay 1.0X: CLV3 5 min #1 | Simple ATS Sheet | SellEntry signal is ignored because working orders exist. | Bar Start Time: 2018-08-05 07:50:00 | 2018-08-26 23:38:50"
"Auto-Trading: Replay 1.0X: CLV3 5 min #1 | Simple ATS Sheet | SellEntry signal is ignored because working orders exist. | Bar Start Time: 2018-08-06 02:45:00 | 2018-08-26 23:38:51"
Para publicar uma mensagem neste tópico, você precisa fazer o login com sua conta do Graph Chart:
Complete Trading System.
Excel complete trading system for technical analysis.
Excel Complete Trading System.
Analyzer XL - Library of 146 technical analysis functions, indicators and experts in the form of Excel formulas. An indicator is used to determine the trend of a market, the strength of the market and the direction of the market. An expert is a predefined stock market system. Downloader XL - downloads free historical stock, index and mutual fund data from Yahoo! Finança. Historical data is available from exchanges in the USA, Canada, UK, Ireland, Germany, France, Italy, Australia, New Zealand, India and more. BulkQuotes XL - designed to handle easily downloads and updates for tens or hundreds of tickers simultaneously. BulkQuotes XL is designed as an Excel add-in, giving you great flexibility and allowing you immediately to apply technical analysis to downloaded data. You can even have your own macros applied instantly to all your tickers. RT Quotes XL - downloads real-time stock, index, futures, options and mutual fund quotes directly into Microsoft Excel spreadsheets. As cotações em tempo real gratuitas de 15 minutos e com base em taxas de ações, opções, índices e fundos mútuos são obtidas de Yahoo! Finança. Data is available from more than 50 worldwide markets, including the US, Canada, UK, Germany, France, Italy, Australia, and India. As cotações em tempo real baseadas em taxas estão disponíveis no PCQuote para ações, opções, índices e futuros. Predictor XL - Neural network forecasting tool that quickly and accurately solves forecasting and estimation problems. It is designed from the ground-up to aid experts in solving real-world forecasting problems. The Excel tool brings increased precision and accuracy to a wide variety of tasks, including stock price and market prediction. Backtesting XL - An add-in for back testing trading strategies in Microsoft Excel. It enables the testing and evaluation end-of-day trading strategies using historical data. Functions can be optionally used in Excel VBA. The back testing add-in supports advanced functionality, such as pyramiding (change of position size during an open trade), short/long position limiting, commission calculation, equity tracking, out-of-money controlling, and buy/sell price customizing (trade at Today's or Tomorrow's Open, Close, High or Low prices). Classifier XL - An add-in for Excel designed to aid experts in real-world data mining and pattern recognition tasks. It hides the underlying complexity of neural network processes while providing graphs and statistics for the user easily to understand results. Ability to handle numerous, often-interrelated variables makes it widely applicable to classifying market data. For example, a trader may wish to classify stocks as buy, hold, or sell based on historical data. Portfolio XL - a portfolio tracking add-in for Microsoft Excel. It allows you to create a portfolio of stocks which can be updated intra day. You specify certain tickers, the purchase price and date, and Portfolio XL monitors the price value of your portfolio and your transaction history. It also displays the current value of your stocks. Options XL - an option chains and LEAPS series downloader for Microsoft Excel. It downloads chains for options traded on these exchanges: CBOE (Chicago Board Options Exchange), AMEX (American Stock Exchange), PHLX (Philadelphia Stock Exchange), PCX or PSE (Pacific Stock Exchange), ISE (International Securities Exchange).
Complete Trading System for Excel version upgrades are free for life.
(Updated on 2017-09-02 )
Related Excel Solutions for Complete Trading System.
Navegue as principais categorias de soluções do Excel.
Outras soluções de negócios do Excel são categorizadas como soluções do Excel grátis e as mais populares. Outras soluções propostas para requisitos de usuários específicos podem ser encontradas no Fórum de Ajuda do Excel ou propostas como um projeto para a comunidade freelance do Excel.
No comments:
Post a Comment