This is a simple indicator that gives the maximum range of any bar on the chart in ticks. I found it useful when sizing arrays and it might also be valuable when working out risk parameters.
The goal of this script is honestly to help everyone learn about trading with bots and algos. At least, to get started. Level 1: 10 lines of code. learn to plot 2 moving averages on your chart. learn to create a signal from a crossover. learn the very basics of Pine Script algo.
/ This script calculates the daily resistance and support levels. The entry is when the close breaks these levels. // Then it sets 4 exit lines, if the backtraces these lines you've got your normal exit. // If the close crosses the TP you've got your TP exit. And if the close crosses the SL you've got your SL exit. // This is the good part --> If the...