This is a universal buy/sell indicator with a voice alert based on a user-selected set of moving average intersections that should occur within a set number of periods/bars. Since the indicator is based on moving average intersections, it works on all timeframes and symbols, with the help of input parameters it can be adapted to a different number of moving average intersections (the maximum number of intersections is 10) for a certain number of periods/bars, which can also be configured in the input parameters. The moving averages used can also be adjusted in the input parameters.
A buy or sell signal is triggered when a fast moving average (parameter MA_1) crosses a series of slower moving averages (parameters MA_2 – MA_11), in the number of intersections that must occur during a certain number of periods/bars configured in the bar parameters.
The best thing about this indicator is that you will always be on the right side of the market, as a buy or sell signal is triggered when the fast moving average crosses the slow ones from the bottom up to buy or from the top down to sell.
The strategy for using the indicator is simple: open a buy order when a buy signal is triggered and an up arrow appears on the chart, open a sell order when a sell signal is triggered and a down arrow appears on the chart. Use a fixed stop loss or the previous minimum minimum to buy or the previous maximum maximum to sell. Use take profit. Use a sufficiently high SL/TP ratio. Make sure that orders opened by the indicator signal in one direction are closed if a signal appears in the opposite direction.
[spoiler title=”Read More…”]
- TriggerFutureSignalsOnly – set to true to display only future signals after adding the indicator to the chart. With a large amount of calculation of moving averages, when the number of intersections is high, on older computers, the calculation and display of past signals can be slow. If the value is false, the number of bars in the history specified in the following parameter will be used to display past signals.
- NoOfHistBarsToUseForSignal — the number of history periods/bars to display past signals (10000 by default). If the value is 0, all available data will be used.
- MA_1 is a fast moving average, the intersection of which with the slow moving average from the following parameter will be checked.
- MA_2 through MA_11 – slow moving averages.
- ma_method is a method of averaging/smoothing the moving average. Simple, exponential, smoothed and linearly weighted moving averages are available.
- appliced_price — the price used to calculate the moving average. Possible options: Close, Open, High, Low, Median, Typical, Weighted.
- EnableVoiceAlert – enable/disable voice notification when a signal is triggered. True — enabled, false – disabled.
- NoOfBarsForCross — the number of periods/bars during which all enumerations from the previous parameter should occur. The number must be more than two.
- NoMACrossesForSignal — the number of intersections for triggering the signal. Minimum 1 intersection, maximum 10. If a value is specified < 1, the parameter is automatically set to 1, and if > 10, the parameter is automatically set to 10.
Author
George Cosoveanu – [email protected]
[/spoiler]