Type/to search

KD Dual-direction Tracking Strategy

Cryptocurrency
Created: 2023-09-11 15:06:36
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy uses the KD indicator to determine market strength and weakness, and trades both directions based on the momentum. Specifically, the market is considered strong when K crosses above 80, and weak when K crosses below 20. In a strong market, long positions are added when K first crosses below 50. In a weak market, short positions are added when K first crosses above 50. Exits occur when strong turns weak or vice versa.

The advantage of this strategy is seizing various turning points in a timely manner. However, KD itself has strong lagging, and cannot preempt turns. Also, the pyramiding carries high risk. Strict stop loss is crucial, otherwise losses could expand rapidly.

In summary, the KD dual-direction tracking strategy can capitalize on strong momentum but with substantial risk. Exhaustive backtesting, parameter optimization, and good stop loss mechanisms are required for stable live application.

Source
Pine
/*backtest
start: 2023-08-11 00:00:00
end: 2023-09-10 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Tonyder

//@version=4
Strategy parameters
Strategy parameters
庫存上限(share)
庫存下限(share)
KD 週期(KD period)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)