infervour.com
-
10 min readThe Money Flow Index (MFI) is a technical analysis tool that is used in trading to analyze buying and selling pressure in the market. It measures the volume and price levels to determine the strength and stability of a trend.The MFI is calculated using a formula that takes into account the price range and volume of an asset over a specific period, typically 14 days.
-
7 min readIn MATLAB, functions are defined using the function keyword followed by the function name and a set of parentheses that may contain input arguments. The function block starts with the function line and ends with the end statement. Below is the basic syntax for defining a function in MATLAB: function outputVariable = functionName(inputVariable1, inputVariable2, ...) % Function body: code statements go here % ... % Calculation or operation % ...
-
11 min readThe Average True Range (ATR) is a popular technical indicator used in trading to gauge market volatility. It helps traders determine the potential range within which an asset might move over a given period. Understanding how to trade with ATR can provide valuable insights into setting appropriate stop-loss levels, evaluating potential profit targets, and managing risk effectively.To begin trading with ATR, the first step is to calculate the indicator's value.
-
6 min readTo plot a simple graph in MATLAB, you can follow these steps:Open MATLAB and create a new script file.Define the x-values and corresponding y-values that you want to plot. For example, you can create two vectors x and y to represent the x and y coordinates of the graph points.Plot the graph using the plot() function. Specify the x-values as the first input and the y-values as the second input. For instance, use plot(x, y) to plot the graph.Customize the graph if desired.
-
7 min readTo run a GUI from another GUI tab in MATLAB, you can follow these steps:Create the main GUI with tabs using the uitabgroup and uitab functions.Inside one of the tabs, create a button or some other user interface element that will trigger the opening of the secondary GUI.Define a callback function for the button or user interface element. This function will be responsible for creating and launching the secondary GUI.In the callback function, create the secondary GUI using the figure function.
-
3 min readTo successfully load a .tiff image into MATLAB, you can follow these steps:First, make sure the .tiff image file is saved in a location that MATLAB can access. You can either store it in the MATLAB working directory or provide the complete file path while loading. Use the imread() function in MATLAB to read the .tiff image. Pass the file path or name of the .tiff image as an input argument to this function, and assign the output to a variable. Example: tiffImage = imread('path/to/your/image.
-
11 min readIchimoku Cloud is a technical analysis indicator developed by Japanese journalist Goichi Hosoda in the late 1960s. Also known as Ichimoku Kinko Hyo, it is a comprehensive indicator that provides a visual representation of support and resistance, momentum, and trend direction in the financial markets.The name "Ichimoku" translates to "one look" or "one glance," indicating its ability to provide a holistic view of market conditions at a single glance.
-
8 min readTo calculate the diameter across an image in MATLAB, you can follow these steps:Read the image using the imread function and store it in a variable. image = imread('your_image.jpg'); Convert the image to grayscale (if it's in RGB format) using the rgb2gray function: grayImage = rgb2gray(image); Apply a suitable thresholding technique to separate the desired object from the background.
-
3 min readIn MATLAB, you can create matrix functions using the built-in capabilities for matrix operations and function handles. Matrix functions allow you to perform operations on entire matrices rather than individual elements. Here's a step-by-step guide on how to create matrix functions in MATLAB:Define the function: Start by defining your desired matrix function. It could be any mathematical operation or transformation you want to apply to a matrix.
-
10 min readThe Chandelier Exit is a popular indicator used in swing trading to help traders set appropriate stop-loss levels. Developed by Charles Le Beau, the Chandelier Exit is primarily designed to capture trends and protect profits during market swings.This indicator consists of two main components—the Chandelier line and the trailing stop. The Chandelier line is calculated by taking the highest high over a specified period and subtracting a fixed multiple of the average true range (ATR).
-
6 min readTo get or create a .fig file in Matlab, you can follow these steps:Open the figure you want to save as a .fig file in the Matlab Figure Window. Once the figure is displayed, go to the File menu at the top of the Figure Window. From the File menu, select the "Save As" option. This will open a dialog box. In the dialog box, navigate to the directory where you want to save the .fig file. Specify a name for the file, including the .fig extension at the end (e.g., "myfigure.fig").