two oscillation indicators
two oscillation indicators
If you know what you are looking for, the market can provide most of the knowledge you need. Specifically, there are certain important technical indicators that are correct more often than not, and they have stood the test of time throughout my trading career.
My most frequently used auxiliary technical tools are as follows:
Moving Average
Relative Strength Indicator (RSI)
Momentum Indicator (Oscillator)
Personally, I believe the most ideal moving average for the stock market (individual stocks and indices) is the 200-day moving average (200 trading days, equivalent to 40 weeks).
A buy signal is generated when the 10-week moving average crosses above the 30-week moving average, both moving averages are sloping upward, and the price is simultaneously above both lines.
A sell signal is generated when the 10-week moving average crosses below the 30-week moving average, both moving averages are sloping downward, and the price is simultaneously below both lines.
Essentially, you must recognize the fact that, like any other technical analysis tool, the effectiveness of moving averages varies with market conditions. Philosophically, I strongly disagree with pragmatism, but when it comes to trading rules, I adopt a rather pragmatic attitude. You should abandon a tool when it no longer works. No matter what technical method or indicator you find, never let your emotions get involved with it.
In the stock market, I use two types of oscillators, which are based on market breadth and price respectively. In the commodity market, the oscillators I use are calculated based on the difference between two moving average values.
The oscillators (based on price and market breadth) I apply to stock indices have been consistently effective since their adoption in January 1975. The calculation formulas for the oscillators I use in the commodity market are pre-set in my quotation system, allowing me to adjust the calculation periods of the moving averages at any time to find the optimal period for specific commodities.
Generally speaking, the higher or lower the oscillator readings are, the more significant they become, especially when compared against the previous highs and lows.
I have developed a Price Oscillator and a Market Breadth Oscillator, coded in EasyLanguage. For TradingView version, visit here.
Victor's Market Breadth Oscillator, Victor's Price Oscillator
Market Breadth Oscillator
inputs:
price(close data2 - close data3),
moving_sum_length_short( 10 ) [DisplayName = "moving_sum_length_fast", ToolTip = "moving_sum_length_fast"],
moving_sum_length_long( 30 ) [DisplayName = "moving_sum_length_long", ToolTip = "The moving_sum_length_long"] ;
variables:
int moving_sum_short(0),
int moving_sum_long(0);
moving_sum_short=0;
moving_sum_long=0;
For value1 = 0 to moving_sum_length_short-1 begin
moving_sum_short = moving_sum_short + price[value1];
end;
For value2 = 0 to moving_sum_length_long-1 begin
moving_sum_long = moving_sum_long + price[value2];
end;
moving_sum_long = round(moving_sum_long/3,0);
Plot1( moving_sum_short, !( "moving_sum_short" ) ) ;
Plot2( moving_sum_long, !( "moving_sum_long" ) ) ;
Price Oscillator
inputs:
moving_sum_length_short( 10 ) ,moving_cha(5) ;
variables:
double moving_sum_short(0.0);
moving_sum_short=0;
For value1 = 0 to moving_sum_length_short-1 begin
moving_sum_short = moving_sum_short + (close[value1] -close[value1+moving_cha]) ;
end;
Plot1( moving_sum_short - moving_sum_short[10], !( "moving_sum_10_net" ) ) ;