Maximum Bar Range in TicksThis 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.
Coding
Level 1 - Learn to code simply - PineScriptThe 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.
TREND SNIPER (Final Version)/ 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 close crosses the first line the SL get's raised to the entry level.
// This way you cut down on the SL losses and turn a lot of SL trades into (almost) break even trades.
// You can adjust the resistance and support levels to remove the 'little wick entries', this raises the profitability.
// You can also choose the security resolution. I recommend using a higher timeframe than the chart resolution.
// The exit source is also changeable. The HLC3 works best for me, but you can try others if you want.
I could really use some feedback. I want the resistance and support levels to remain on the same position when in trade. But it sometimes changes mid trade.
If you know how to fix this I will be forever grateful. If you have any feedback don't hesitate to give it to me straight. Thanks in advance and have a wonderful day :)