ktrader001

KT Litmus2

ktrader001 Updated   

Hello everyone,

Recently I saw a very good indicator on TV called Ichimoku Oscillator. This is a K-line convergence and divergence indicator similar to MACD. After backtesting research, this indicator performs well on long-term trends.
Since it is an indicator, it is made into a strategy category. Several optimizations have also been made.


This strategy takes into account the following market factors:
EMA -> Trend
Fast line - slow line -> moving average
EMA Squeeze -> Momentum Conversion, Trend
ATR -> Noise Reduction


How does it compare to the original indicator?
Optimized background display so the canvas doesn't feel cluttered with excessive colors.
Optimized part of the position reduction logic so that too many trading signals will not affect the performance of the strategy.
NOTE: As you can see, there are potential improvements that can be made by merging volumes.


Signal
Input level -> Kinetic energy enhancement, +4 long, -4 short
Partial exit level -> moving average (EMA | fast and slow line) crossing, trend unchanged
All exit levels -> trend conversion


Risk Management
"Trend Stop Loss" and "Momentum Take Profit" are used here.

Trend stop loss: Use the conversion of the strategy trend parameter wave range to close the order.
Momentum take profit: take advantage of the weakening or reverse trend momentum of the strategy to take profit.
As described, the strategy has obvious advantages in trend trading, but in volatile markets, stop loss may be triggered due to frequent signals.

Now, a set of knowledge is provided for the inexperienced reader.

MACD usually consists of three components. The MACD line is the fast exponential moving average (usually taken on the 12th day) minus the slow exponential moving average (usually taken on the 26th day), generally called the difference (DIF). The second line is the signal line, which is the exponential moving average of DIF (usually 9 days), generally called DEA. The last component is the MACD histogram, whose value is the difference between DIF and DEA. However, the time value of the MACD indicator can also be adjusted according to the trader's preference and trading category.
The underlying logic of DIF is that the short-term exponential moving average reflects current price movements, while the long-term EMA reflects earlier price movements. Therefore, if there is a large gap between these two EMAs, then the market is trending up or down. While the MACD histogram is oscillating around the zero line, indicating the strength of the trend.

EMA: Exponential Moving Average; similar to a simple moving average but exponentially weights the input data.


Sincerely,
salute

---

Acknowledgments:
@LonesomeTheBlue


renew
March 14
Strategies for increasing Python version
Release Notes:
Hello everyone,

Recently I saw a very good indicator on TV called Ichimoku Oscillator. This is a K-line convergence and divergence indicator similar to MACD. After backtesting research, this indicator performs well on long-term trends.
Since it is an indicator, it is made into a strategy category. Several optimizations have also been made.


This strategy takes into account the following market factors:
EMA -> Trend
Fast line - slow line -> moving average
EMA Squeeze -> Momentum Conversion, Trend
ATR -> Noise Reduction


How does it compare to the original indicator?
Optimized background display so the canvas doesn't feel cluttered with excessive colors.
Optimized part of the position reduction logic so that too many trading signals will not affect the performance of the strategy.
NOTE: As you can see, there are potential improvements that can be made by merging volumes.


Signal
Input level -> Kinetic energy enhancement, +4 long, -4 short
Partial exit level -> moving average (EMA | fast and slow line) crossing, trend unchanged
All exit levels -> trend conversion


Risk Management
"Trend Stop Loss" and "Momentum Take Profit" are used here.

Trend stop loss: Use the conversion of the strategy trend parameter wave range to close the order.
Momentum take profit: take advantage of the weakening or reverse trend momentum of the strategy to take profit.
As described, the strategy has obvious advantages in trend trading, but in volatile markets, stop loss may be triggered due to frequent signals.

Now, a set of knowledge is provided for the inexperienced reader.

MACD usually consists of three components. The MACD line is the fast exponential moving average (usually taken on the 12th day) minus the slow exponential moving average (usually taken on the 26th day), generally called the difference (DIF). The second line is the signal line, which is the exponential moving average of DIF (usually 9 days), generally called DEA. The last component is the MACD histogram, whose value is the difference between DIF and DEA. However, the time value of the MACD indicator can also be adjusted according to the trader's preference and trading category.
The underlying logic of DIF is that the short-term exponential moving average reflects current price movements, while the long-term EMA reflects earlier price movements. Therefore, if there is a large gap between these two EMAs, then the market is trending up or down. While the MACD histogram is oscillating around the zero line, indicating the strength of the trend.

EMA: Exponential Moving Average; similar to a simple moving average but exponentially weights the input data.


Sincerely,
salute

---

Acknowledgments:
@LonesomeTheBlue


renew
March 14
Strategies for increasing Python version
March 15
Update INIT_USDT_UNIT default from
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?