I recommend using the time of the script in 60 minutes and the time of opration and 5 minutes for a better scalp.
For junior time I recommend 240 minutes for the script time and 60 minutes for the operating time.
Thanks Thiago Kerbes;)
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Many scripts like the ANN script are misleading, because they use data of the future, which will cause repainting (changing the signals) during the current trading period if it is smaller then the resolution, in this case 60.