This file is to be used with Sierra Chart. It is my personal collection of studies.
This function is used to compare the range of the current bar to the average true range of bars from the same period. The length and moving average type of the ATR are customizable.
This function will randomly enter and exit trades with 1 contract/quantity. The user inputs a 1/x chance for entry and exit per second.
By default, it will enter a trade 1/15 seconds and exit a trade 1/60 seconds.
Based on the Current Bar Range vs Average True Range function. It will highlight the current bar if it exceeds a certain threshold provided.
Same calculations and inputs as the original CBR/ATR, but displayed differently. By default, the current bar's CBR/ATR is displayed in the top left of the main price region in text. You can move where the text is displayed by clicking and moving it. You can change other properties of the drawing just as you can with user-drawn drawings; Just right click and open the properties.