Sirolf´s ANN Indicator (Rebuilt By Murari) BullTrading Version

Hello Traders, I want to share this modified experimental script I´m testing for 1 minute charts... It´s completely based on Sirof´s ANN (Artificial Neural Networks script, Murari´s modification), all the credits are for them (I just tested and switched minor modifications to the code for scalping and alert functions since I have not studied and comprehend the ANN yet).

Settings for 1 minute are (0.001, 5, 1). On a second window, add again the indicator and set (0.001, 15, 5). After setting the indicators, entry when the last signal from the fast window agree with the slow window (exit as soon as the fast window send an opposite signal and repeat the process as desired).

Please write down your feedback and Ideas for testing and improving the code. Enjoy!


The Following indicator/code IS EXPERIMENTAL AND NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
Remover dos scripts favoritos Adicionar aos scripts favoritos


Hi, Thanks for sharing.

What does ohlc4 refer to? I know what is ohlc4. But 0.99?
+2 Resposta
Still repaint is happening , I checked with replay bar. Its adjusting signal with higher time frame.
Hi, greetings, The indicator showing error "The script precision value (777) is greater than the maximum possible value (16)"
Hello, script is not loading for me? Do you know why?

Best regards
To what input the function is referring to?

ANN(input) =>
l0_0 = PineActivationFunctionLinear(input)
l0_1 = PineActivationFunctionLinear(input)
l0_2 = PineActivationFunctionLinear(input)

Any specific within these three or all of them?

threshold = input(title="Threshold", type=float, defval=0.001, step=0.001)
largeTimeframe = input(title="Large timeframe", type=resolution, defval='5')
smallTimeframe = input(title="Small timeframe", type=resolution, defval='1')

Also, what v stands for in the following functions?

PineActivationFunctionLinear(v) => v
PineActivationFunctionTanh(v) =>
(exp(v) - exp(-v))/(exp(v) + exp(-v))


GustavoRubi syracusepro
@syracusepro, sorry for late answer (I'm on vacations)))
(input) is a variable between "entry" and "exit" inputs
Repainting observed, did not occured in real time (repaint happened only if the current chart reloads), good signals obtained with pending orders without trying to chase the price.
Testing is being conducted on 1m uj... so far from now NO REPAINTING ), good entries on 1m using (0.001, 1H, 15)
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar