TopMiniSite
-
10 min readTechnical analysis is a popular method used by traders and investors to analyze stocks and forecast future price movements based primarily on historical market data. This approach is based on the belief that past price patterns and trends can help predict future price movements, disregarding fundamental factors such as a company's financial health or overall market conditions.
-
7 min readTo rotate a plot in MATLAB, you can use the "view" function. The "view" function allows you to change the viewing angle or orientation of a 3D plot.The syntax for the "view" function is as follows:view(azimuth, elevation)The "azimuth" parameter specifies the rotation of the plot from the x-axis in the horizontal plane. It ranges from -180 to 180 degrees, with positive values rotating the view counterclockwise.
-
10 min readThe Elder-Ray Index is a technical indicator developed by Alexander Elder to assist traders in determining the strength of bullish and bearish trends in the market. It is based on the concept that market movements consist of two phases - the "bull power" and the "bear power."To calculate the Elder-Ray Index, you need to follow these steps:Calculate the High-High (HH) and Low-Low (LL): Find the highest high and lowest low values over a specific period, typically 13 trading days.
-
4 min readTo save or print without displaying in MATLAB, you can use the command window's semi-colon (;) operator to suppress the output. The semi-colon tells MATLAB not to display the result in the command window. Here's how you can save or print without displaying:To save the result in a file without displaying: result = your_function(); % Perform some calculations or generate the result save('result.mat', 'result'); % Save the result in a MAT-file named 'result.
-
11 min readResearching and picking dividend-paying stocks requires careful analysis and consideration. Here are some important steps in the process:Understand Dividend Investing: Begin by familiarizing yourself with the concept of dividend investing. Dividend stocks are shares of companies that distribute a portion of their profits to shareholders on a regular basis. Dividends can serve as a consistent income stream for investors. Set Investment Goals: Determine your investment goals and objectives.
-
5 min readTo save an image object variable as a picture in MATLAB, you can follow these steps:First, make sure you have the image object variable defined and loaded with the desired image data.Next, you can use the imwrite function in MATLAB to save the image object variable as an image file. The basic syntax for using imwrite is: imwrite(imageObjectVariable, 'filename.jpg'); Here, imageObjectVariable should be replaced with the name of your image object variable, and 'filename.
-
8 min readTo solve and plot a cubic equation in MATLAB, you can follow these steps:Define the equation: Start by defining the cubic equation using symbolic variables. For example, let's say your cubic equation is "ax^3 + bx^2 + cx + d = 0". Use the syms function to define symbols for the coefficients 'a', 'b', 'c', and 'd'. syms x a b c d equation = a*x^3 + b*x^2 + c*x + d; Find the roots: Use the solve function to find the roots of the equation.
-
14 min readAnalyzing a company's financial statements is a crucial step in stock picking as it helps investors understand the company's financial health and performance. Here are some key steps to analyze financial statements:Income Statement: Start by examining the income statement, which summarizes a company's revenues, expenses, and profitability over a specific period. Look for consistent revenue growth, increasing gross profit margins, and improving net income.
-
5 min readTo convert a raster image to a TIFF file format in MATLAB, you can follow these steps:Firstly, read the raster image using the imread function. For example, if your raster image is named 'image.bmp', you can read it using: image = imread('image.bmp'); Next, specify the output file name along with the desired extension (e.g., 'output.tiff'). Use the imwrite function to write the raster image to the specified TIFF file: imwrite(image, 'output.
-
8 min readWilliams %R, also known as Williams Percent Range, is a widely used technical indicator in trading. It was developed by renowned trader Larry Williams and is used to identify potential overbought and oversold levels of an asset.Williams %R is a momentum oscillator that measures the current closing price of an asset relative to its high-low range over a specified period, typically 14 days.
-
7 min readTo plot a one-bar stacked bar chart in MATLAB, you can follow these steps:Start by creating a figure to display the bar chart: figure; Define the data you want to plot. In this case, we will use a single bar with stacked segments. Order the data as a row vector or column vector. data = [value1, value2, value3, ...]; % Replace value1, value2, value3, etc. with your actual values Plot the bar chart using the bar function.