MovAvg Cross LE
MovAvg Cross LE places a long entry order on the next bar at open when the price crosses above the moving average and remains above it for a consecutive number of bars.
Price and Length inputs for calculating the moving average may be changed, as well as the number of consecutive bars the price must be above the average. When the input ConfirmBars is set to 1, the long entry order is generated immediately upon the crossover.
This signal generates a long entry only. Use MovAvg Cross SE for entering a short position.
Default Inputs
Price (Close) - price value used in calculation of the moving average.
Length (9) - number of bars used to calculate the moving average.
ConfirmBars (1) - number of consecutive bars with the price greater than the moving average.