Home » free systematic trading » Daily Factor Indicator in Trading | Unlocking Market Volatility

Daily Factor Indicator in Trading | Unlocking Market Volatility


In the realm of systematic trading, market participants are constantly seeking tools and indicators to give them an edge. While the price action is often used to guide trading decisions, a lesser-known yet powerful tool in systematic trading is the Daily Factor (DF) indicator. This article delves into the world of the Daily Factor indicator, explaining its fundamentals, how to calculate it, and its potential impact on various instruments within the market.

Understanding the Daily Factor in Trading

The Daily Factor indicator, or DF, is a valuable tool for traders looking to work with market volatility. It allows traders to gauge the extent of price movement within a trading session. But what exactly is the Daily Factor?

DF is a metric that calculates the ratio between the “Body” and the “Range” of a Japanese candlestick, which represents the daily price movement. The “Body” measures the distance between the opening and closing prices of the market, while the “Range” represents the range between the day’s lowest and highest prices.

DF is calculated using the following formula:

DF = |Open – Close| / (High – Low)

This ratio quantifies how much prices moved from the open to close relative to their highest and lowest points during the day. DF values range between 0 and 1, or 0% to 100% when expressed as a percentage. It’s important to note that DF doesn’t provide information about market direction; instead, it focuses on measuring the magnitude of price movements for a given day.

How to Calculate the Daily Factor

To calculate the Daily Factor using a programming language like PowerLanguage, the following code snippet can be used:

PowerLanguage code
Var: DF(0); 
if (HighS(1) - LowS(1)) <> 0 then begin DF = absvalue(OpenS(1) - CloseS(1)) / (HighS(1) - LowS(1)); 

Var: DF(0); if (HighS(1) – LowS(1)) <> 0 then begin DF = absvalue(OpenS(1) – CloseS(1)) / (HighS(1) – LowS(1)); end;

In this code, “OpenS(1),” “HighS(1),” “LowS(1),” and “CloseS(1)” represent the opening price, the highest price, the lowest price, and the closing price of the previous trading session, respectively.

Using the Daily Factor Indicator in Trading

Once the DF is calculated, traders can use it as a filter to enhance their trading strategies. Some practical steps to incorporate the Daily Factor into your trading approach include:

  1. Optimizing DF Levels: Adjust the DF level to suit the specific instrument and your risk tolerance. Experiment with different DF levels to identify the most suitable range for your trading strategy.
  2. Setting Entry and Exit Conditions: Utilize the DF as a filter for entry and exit signals. For example, you may only enter a trade if the DF for the previous session is below a certain threshold, indicating a significant price movement.
  3. Risk Management: Implement risk management measures, such as stop-loss orders, to limit potential losses. The DF can help you set appropriate stop-loss levels by considering the historical volatility of the instrument.
  4. Monitoring Market Behavior: Continuously analyze the impact of the DF on your trading results. Keep a close eye on how the indicator affects key performance metrics like profit, average trade size, and maximum drawdown.

Evaluating the Impact of the Daily Factor in Trading

The impact of the Daily Factor Indicator in Trading can vary significantly across different markets and instruments. To understand its effectiveness, traders often conduct rigorous testing and optimization. Here’s how the Daily Factor can influence trading outcomes:

  1. Improved Profitability: Applying the DF as a filter can boost trading profitability by allowing you to enter trades in high-impact price movement scenarios.
  2. Enhanced Average Trade Size: Traders can experience a considerable increase in the average trade size, leading to more significant returns.
  3. Max Drawdown Considerations: While the DF can enhance profitability, it may also lead to higher drawdowns. Effective risk management, such as implementing stop-loss orders, can help mitigate this risk.
  4. Instrument-Specific Results: The impact of the DF varies from one instrument to another. Some instruments may benefit significantly, while others may show limited improvement.


The Daily Factor indicator is a valuable tool for traders seeking to harness market volatility to their advantage. By incorporating the DF into trading strategies and optimizing it to suit specific instruments, traders can improve their trading outcomes. However, it’s crucial to remember that while the DF can enhance profitability, it may also introduce additional risk, especially if not accompanied by effective risk management measures. To harness the power of the DF, traders must conduct thorough testing and optimization to fine-tune their strategies and adapt to different market conditions.

Scroll to Top