binary-ex-machina / binaryblocks Goto Github PK
View Code? Open in Web Editor NEWRepository created with the purpose to help the Binary Blocks users get learn and get inspiration to build any kind of strategies blockly based web application
Repository created with the purpose to help the Binary Blocks users get learn and get inspiration to build any kind of strategies blockly based web application
Tentei criar uma função de porcentagem, porém quando crio uma sublista de 25 dígitos, o último dígito não bate com o dígito do último tique taque.
Quando crio em https://bot.deriv.com/, ele bate.
Hello Sir,
I hope this finds you well.
Please help me set up this strategy in a bot on binaryblocks.pro platform.
When Stochastic RSI is 1 and stays at 1 for 2 ticks purchase Higher and when Stochastic RSI is 0 and stays for 2 ticks.
The barriers are -0.25 and +0.25. I have been trading manually and I was wondering if I can apply it on a bot.
Attached is screenshot from the webtrader.
Thanks in advance.
Help me create a bot that uses EMA 50 and EMA 200. Such that if EMA 50 is over EMA 200 and the candle crosses EMA 50 upward the bot trades rise.. if EMA 50 is below ema 200 and the candle crosses EMA 50 downwards.. fall trade
help create a bot that analyses using stochastic indicator.when k>D TRADES CALL and k<d trade put.
Example : OVER/UNDER
It should Continuously taking trades but if prediction digit appears bot don't take trade and skip that trade and continue
Would it be possible to get two different bots to communicate with each other
Olá tudo bem?
Espero que sim.
Estou desenvolvendo um Bot do tipo Toca na Volatividade 25, com análise decrescente do SMA em que as entradas são feitas quando a tendência numérica por meio de cálculo matemático indica que vai ocorrer uma ruptura de queda.
Porém gostaria de implementar mais um teste conforme abaixo:
Quando você tem uma sequência que não é crescente nem decrescente, mas deseja analisar a tendência geral de crescimento ou decrescimento, pode ser útil calcular a média das inclinações entre os pares consecutivos de elementos na sequência. Isso pode lhe dar uma ideia da tendência geral da sequência, mesmo que haja flutuações individuais.
Vou explicar o processo usando um exemplo:
Suponha que você tenha a seguinte sequência:
Sequência: 5, 3, 7, 6, 8, 10, 9, 12, 11, 14
Para calcular a tendência geral, você pode calcular as inclinações entre cada elemento consecutivo. Se a maioria das inclinações para positiva, isso indicará uma tendência crescente. Se a maioria das inclinações para negativa, indicará uma tendência decrescente. Vamos fazer esses cálculos:
Agora, some todas as inclinações e divida pelo número total de pares para obter uma média:
Como a média das inclinações é positiva (1), isso sugere uma tendência geral de crescimento na sequência, apesar das flutuações individuais. Lembre-se de que essa é uma abordagem simples e que as características da sequência podem variar em diferentes contextos.
Segue o Arquivo na versão sem o cálculo
E o arquivo com o cálculo
Favor analisar o ultimo arquivo em que criei uma lista de 5 últimos SMA afim de realizar o cálculo.
Favor verificar a possibilidade de criar o cálculo utilizando estrutura de repetição ou função afim de possibilitar aumentar o Ranger.
Virtual trade setting want to be individual block because this should want to more customize
Can you code a duration that is variable instead of ticks, minutes, hours etc,,, maybe if a digit 1 appears the trade will open and close when another digit 1 appears
can you plz, create a touch bot, that uses cci indicator for direction purposes.if points down it trade put,whereelse if it points upwards it trades call
A ideia é simples, quando o último tick for maior/menor que o valor mais alto/baixo da vela anterior, entro numa operação com o tempo restante da vela de M1. O problema é que não está respeitando, com anexado. O cruzamento ocorreu às 20:28:16, o tempo restante de vela seria 44 segundos, não 55 (60-16 = 44), como na imagem. Existe alguma formar de mitigar esse problema? Ou é um erro meu de codificação?
Bom dia!
Amigo eu desenvolvi este Bot com estratégia de Canal de Kettener, porém ele rodou uma vez e agora não vejo mais ele fazer entradas.
Poderia analisar se está tudo bem com o código.
Segue arquivo em Anexo
Olá, tudo bem?
Criei este Bot, na Plataforma binaryblocks.pro, e gostaria que o Bot desse entrada no Cruzamento X.
Eles está entrando alguns tick após o cruzamento. Gostaria de Saber se tem como ele fazer a entrada no cruzamento X subindo ou se tem algum indicador que poderia usar para melhorar a assertividade.
Tentei calcular a Diferença dos SMA para dar entrada quando fosse 1, mais não foi aceito o critério.
Por último incluí o calculo da diferença do resto da divisão dos SMA.
Segue o Bot.
CRUZAPARABOLICA
Tenho este Bot que entra Toca quando a Bolling Band Superior cruza a média móvel de 10 e quanto a Média Móvel 1 é maior que a Média Móvel 10, e quando há 3 ticks subindo simultaneamente.
Gostaria de melhoria no sentido de desempenho.
Obs.: Verificar a possibilidade de desenvolver uma versão com Martingale.
Segue o Bot CRUZBOLL
In an uptrend, candle colors condition where if there are 2 red candles formed the next candle doesn't trigger a trade to open.n. The same would apply for a downtrend if the pattern of the previous 2 candles are green, the next candle doesn't trigger a trade to open.
I am using the 9 EMA to dictate entries. I'd desire for the bot to only open if the previous candle closes above the 9 EMA for an uptrend and below the 9 EMA in the case of a downtrend.
Quero implantar um Teste de Kendall em uma lista
de 10 RSI no robô em anexo.
``
Hello,
I already have a way around adding blocks to make double SMA work well. But I want to add another SMA to it; when I added it [just like i did the double SMA] the bot does not pick up trades when the three lines cross.
I know there must be some way around it.
Can you help me please.
I can upload the xml file if need be.
Sammy
How do binary recognize crossing of moving averages, basically look back at the previous candle and then at the current candle
in lua i can state sma[1] < sma2[1] and sma > sma2
i have been searching endlessly to find a way to get my bot to stop trading after 3 consecutive losses, every time I've tried to add pause functions to block 4 or even within "this block runs every tick" it still doesn't respect the codes inserted, I am at a total lost. Could you please code add these features?
Conditions are :
IF 4 CONSECUTIVE LOSSES, THEN PAUSE FOR 5 MINS , THEN START TRADE AGAIN.
IF LOSS IS MORE THAN MAX ACCEPTABLE LOSS , THEN PAUSE TRADING FOR 40 MINS, THEN START TRADE AGAIN.
I've attached a screenshot of my current blocks and xml file, please let me know
Bot XML Google Drive- https://drive.google.com/file/d/1mXdtvpsAgy0NPzzYhy91i8WGNWZsZkyW/view?usp=share_link
Thanks in advance
Olá tudo bem?
Estou desenvolvendo este Bot Difere que tem a seguinte proposta:
Quando a porcentagem de zero estiver baixando a porcentagem(decrescente) e algum dígito de 1 a 9 for superior a uma porcentagem > que 30% ou 32%, faz a entrada.
Para tanto tentei criar uma lista de porcentagens dos dígitos de 1 a 9 e uma Variável chamada Maior Porcentagem, para que todas as porcentagens sejam comparadas com a Variável.
Exemplo:
Inicialize uma variável chamada maior_porcentagem como zero.
Percorra a lista de porcentagens.
Para cada porcentagem na lista, verifique se ela é maior do que a maior_porcentagem atual. Se sim, atualize o valor de maior_porcentagem para a nova porcentagem.
Após percorrer toda a lista, a variável maior_porcentagem conterá o valor da maior porcentagem
def encontrar_maior_porcentagem(lista_porcentagens):
maior_porcentagem = 0
for porcentagem in lista_porcentagens:
if porcentagem > maior_porcentagem:
maior_porcentagem = porcentagem
return maior_porcentagem
A parte da monotocidade de zero está Ok,.
Porém encontrar a maior porcentagem que não seja o zero, tentei fazer de algumas formas, porém sem sucesso.
Segue Bot em Anexo
Obs: Imprimi alguns dígitos da função que informa a porcentagem do dígito nos últimos x dígitos, porém verifiquei que não estão muito consistentes, assim como não consegui imprimir quando passado para lista.
Quando vou imprimir por exemplo o 0 e 1 ele imprime a porcentagem somente de um dos dígitos.
Grato!
Tenho este Robô Even ODD com múltiplas estratégias que se mantem adquirindo enquanto está em WIN.
Verifica-se que Robôs EVEN ODD permitem longas sequências de WIN e de LOSS, porém não sei como prever razoavelmente.
Gostaria que verificasse a possibilidade de após certo ganho de proteção do capital, o robô contasse a cada 4 WIN e fizesse entrada em SOROS afim de alcançar a META mais rapidamente.
Ex.:
Entrada> 0,35
WIN> 0,31
WIN> 0,31
WIN> 0,31
WIN> 0,31
Total de WIN 1,24
Entrada Após a Contagem de 4 Wins = 1,24
Entradas posterior =1,24 + Lucro enquanto for WIN
Caso for Loss , Entrada = 0,35 em Martingale = 0,70.
Segue Bot
Gostaria que criasse funções para este Bot, no código que é chamado nos tique taques,, afim de deixar mais eficiente.
Bot OVER9
Hoje tentei salvar um Bot, porém não Consigo abrir o arquivo salvo. Aparece mensagem que os Blocos não carregam.
Gostaria que enviasse um Bot com indicador Aroon, pois quando utilizo aqui o mesmo não está em sincronia com https://app.deriv.com/.
Hello can you create a binary bot that trade type is digit even.
It should check if last digit is odd and appears 5 consecutive times then open a trade and purchase even digit for one tick then the bot can repeat the process
É possível usar a perda virtual neste padrão? Uso o BinaryBlocks com perdas virtuais, mas não consegui configurar (ou não tem como) esse padrão de operação:
Em resumo, ele realiza várias compras na conta virtual até perder uma única vez, depois de perder, ele compra novamente esperando que ganhe o contrato e se ganhar, aí sim ele entra na conta real. Na conta real, se ele perder, ele compra novamente na até achar a vitória.
Gostaria que desenvolvesse alguma função nos blocos que identificasse se o indicador está subindo ou descendo de acordo com modelo em anexo.
No caso seria uma função em que permitisse verificar o SMA, o RSI ou qualquer outro se está subindo ou descendo.
Se for possível. Fico Grato.
Bot Probilotoca
Estou criando um Robô Difere para Scalper em que o objetivo é Diferir de 0 com una porcentagem decrescente igual ou menor de 20 ou 4 % enquanto que simultaneamente os demais dígitos teriam que estar acima de 4 a 8 %.
Fiz uma tentativa, porém não sei se está correto o propósito.
Segue o link do Bot. Difere TOP
Rodou bem nos horário de 20h as 21h
i am trying to add the condition that it does the opposite in the "Before Purchase Block" or in general after detecting 2 consecutive losing streaks of 4 losses. Can you
even.odd.with.timers.json.zip
add this condition instead of the wait time? Thanks
Desenvolvemos em um Bot TAU, o Teste de Kendell.
Fiz uma configuração que melhorou o Bot na barreira positiva.
Logo após desenvolvi um Bot TAU com barreira negativa que opera muito bem também.
Gostaria que ajustasse a Função que chama as variáveis acrescentando o RSI Stocástico.
Pode eliminar também os cálculos de Média, Desvio Padrão e Coeficiente de Variação CV, uma vez que no contexto não se apresentou eficiente.
Analisar também se seria melhor colocar o bloco do Contador de TAU na Função ou não.
Segue os dois bots:
TAU barreira positiva TAU POS
TAU barreira negativa TAU NEG
Hello.
Kindly assist in creating a bot that applies Martingale when the last digit after purchase is a specific digit. For example, I want to trade under 4, if result is loss, if the last digit in exit Spot is (6,7,8,9), no Martingale is applied but if the last digit is 5 or 4 in the exit Spot then Martingale is applied.
Thanks in advance.
See above a screenshot of the bot I created and help me make changes where possible.
This is the bot I have and how it executes trades, see that the Martingale is randomly applied rather than being applied where only 4 or 5 are the last digits in exit spot.
Should it be needed, a prototype of the bot is available on request.
Thanks once more.
could u help build a bot with rsi and also cci pattern ?
i want it like cci and rsi over 50 with a bullish engulfing pattern to buy and well the other way around for sell plz and thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.