Posts (page 174)
- 11 min readThe Volume Price Trend (VPT) is a technical analysis indicator used to determine the relationship between the volume of trades and the price movement of a particular asset. It provides insight into the strength of buying and selling pressure in the market. The VPT is calculated by multiplying the percentage change in price by the trading volume and adding the result to the previous day's VPT value.
- 8 min readTo configure the time range for d3.js, you can use various methods and functions provided by the library. Here are a few steps to help you get started:Import the necessary d3.js library by including the script tag in your HTML file: <script src="https://d3js.org/d3.v6.min.js"></script> Set up your SVG container to hold the visualizations. This could be a div or any HTML element with an appropriate ID.
- 8 min readSupport and resistance levels are key concepts in technical analysis that can be utilized effectively in a trading strategy. These levels represent areas on a price chart where the price tends to encounter barriers and either reverses or consolidates.Support level refers to a price level at which buying pressure is sufficiently strong to counterbalance selling pressure, causing the price to stop falling and potentially reverse direction.
- 13 min readParabolic SAR (Stop and Reverse) is a technical indicator used in trading to determine potential trend reversals. It is particularly popular among scalpers who aim to capture quick profits from small price movements. Here's how you can use Parabolic SAR for scalping:Understanding the basics: The Parabolic SAR indicator appears as a series of dots either above or below the price chart.
- 8 min readTo build d3.js from source, follow the steps below:Start by setting up your development environment. Ensure you have Git, Node.js, and npm (Node Package Manager) installed on your machine. Clone the d3.js repository from the official GitHub page. Open a terminal or command prompt and run the following command: git clone https://github.com/d3/d3.git Navigate to the d3.
- 8 min readIn order to break text in 2 lines in d3.js, you can make use of the text wrapping technique. Here is a step-by-step guide to achieve this:Select the element where you want to break the text using d3.js. For example, you can use d3.select() to select an SVG text element. Access the text content of the selected element by using the .text() method. Store this content in a variable. const textContent = d3.select("your-element-selector").
- 8 min readCreating a scalping trading strategy involves developing and implementing a trading approach that aims to make small profits from repeated short-term trades. Here are some key aspects to consider when creating a scalping trading strategy:Timeframe: Scalping strategies typically operate on very short timeframes, such as one-minute or five-minute charts. This allows traders to capitalize on quick price movements and take advantage of small price differentials.
- 16 min readThe Ease of Movement (EMV) indicator is a technical analysis tool used by traders to assess the ease with which a security is moving upward or downward in price. It combines both price action and trading volume to provide a clearer picture of market momentum.To trade with the Ease of Movement indicator, you need to understand how it works and interpret its signals effectively.
- 5 min readIn d3.js, you can use the .ticks() method to determine the number of ticks on the axis, and then manipulate the tick labels to show only the desired ones. Here is how you can show selected tick labels in d3.js:Create an axis using the d3.axisBottom() or d3.axisTop() (depending on the orientation) function and bind it to a scale. For example: var axis = d3.axisBottom() .scale(xScale); Determine the desired number of ticks using the .ticks() method on the scale.
- 11 min readFibonacci retracement levels are a popular tool used by traders in technical analysis to identify potential areas of support and resistance in a market. The theory is based on the Fibonacci sequence, a mathematical sequence where each number is the sum of the two preceding ones (e.g. 0, 1, 1, 2, 3, 5, 8, 13, 21, etc.). Fibonacci retracement levels are calculated by identifying the high and low points on a price chart and then applying predetermined Fibonacci ratios (typically 23.6%, 38.
- 10 min readThe Simple Moving Average (SMA) is a commonly used technical analysis tool in swing trading. It is used to identify the direction and strength of a trend and to make trading decisions based on the price movement.The SMA is a straightforward calculation that takes the average closing price of a security over a specified time period. This time period can range from a few days to several months, depending on the trader's preference and the desired level of sensitivity to price movements.
- 5 min readIn D3.js, you can modify a value based on selection using various methods. Here is a brief explanation of how to achieve this:Select the elements: Start by selecting the elements you want to modify. This can be done using the d3.select() or d3.selectAll() method, depending on whether you want to select a single element or multiple elements. Modify the value: Once you have selected the required elements, you can modify their value using various methods such as attr(), style(), or text().