当前位置:网站首页>Lm11 reconstruction of K-line and construction of timing trading strategy
Lm11 reconstruction of K-line and construction of timing trading strategy
2022-07-07 07:11:00 【Squirrel kuanke】

Quantitative strategy development , High quality community , Trading ideas sharing and other related contents
『 Text 』
ˇ
Hello everyone , What we brought today LM The first 10 Periodic strategy iteration . This article is different from the previous strategy algorithm and data perspective , What we are doing today is going to K Line data for reconstruction , By reconstructing the noise reduction market data to make timing judgment . As shown in the figure below :

Above, IC personal witness 500 Of stock index futures 10 Minute market chart .
One 、 Strategy logic and iteration content
The strategy is refactored K Line from Heikin Ashi Candlestick Charts ,Heikin Ashi It's the Japanese based on the original candle map , A price graph obtained by averaging prices .
Candle chart is also called K Line graph , It is an important part of technical analysis , It was first used by Japanese businessmen in the Tokugawa Shogunate era to record the rice market and price fluctuations , Later, it was introduced into the chart analysis of stock market and futures . Ordinary K The line diagram should be familiar to everyone , and Heikin Ashi Candlestick Charts ( abbreviation HA Candlestick Charts ) It should be relatively rare .Heikin In Japanese, it means average , and Ashi It's rhythm , Together, it means the average rhythm of stock price movement .HA The candle chart is calculated according to historical prices , It is equivalent to noise reduction of the original price , Make it better reflect the movement trend of price .
Ordinary K There is often a lot of noise in the line graph , These noises destroy the real trend , such as , Short term market correction or sentiment adjustment , And over interpretation of news and market , May cause meaningless short-term price and trading volume fluctuations , Such noise will disturb and mislead traders in analyzing the market . In order to reduce common K Noise generated by line diagram ,HA Candle chart came into being ,HA Of the four prices in ,HA Opening price and HA The closing price is calculated by averaging , The averaging process is equivalent to the noise elimination process , To a certain extent, the noise of the market is eliminated , It can more clearly reflect the trend of market prices . The calculation method is shown in the figure below ∶

In the original , We iterate again through online public examples and algorithms , Minor correction , As shown in the figure below :

The purpose is to further reduce the occurrence of burrs , Although through visual comparison , There is no significant sensory difference between the two , But the details are for different varieties and different cycles , It still has a certain denoising effect .
In refactoring K After the line is finished , We can see through observation that ,K The structure of the line has changed a lot , But the overall trend has not changed . Here we are. , Some people will ask , Is this kind of play reasonable in itself ? This question is left to readers to taste . It's like everyone has a hamlet in their heart .
Through the first step above , We use SF21 Count Yin and Yang K And the way up and down ( because K The line is getting rid of the noise ) To build “ new SF21” Strategy . As shown in the figure below :

In terms of appearance , We use super trendline “ Jack of all trades ” Exit template .
Two 、 visualization

J long

IC long

Eb long

J short

LH short

IC short
3、 ... and 、 The performance of
The first generation version of this strategy does not test multiple varieties , Only from 5 Large plate extraction 1-2 Basic test of varieties , As shown in the figure below :

2017—2022.5.27

2022.03.01—2022.5.27


Kaiping is adopted for the goods 2 Jump slip point , Stock index futures adopt Kaiping 4 jump , The handling charge is stipulated by the exchange + Back test according to the standard of .
The performance of other varieties should be tested and observed by yourself in the work area , I won't go into details here .
summary :
1、 The heterogeneity of strategy in this period is not related to the algorithm and logic of entry and exit , It's refactoring K Entry point of line .
2、 I only tested black 、 chemical 、 Agricultural products 、 Stock index futures 4 Different plates 1-2 varieties , The initial test was Coke , Because Coke is the bottom line , If this is not good , The others don't need to be tested , It must be bad .( I mean normal CTA Strategy ).
3、 The strategy bears have two appearances , The purpose is to differentiate with the market structure of bulls . In fact, bulls can also be made 2 A logic of appearance , Found in other strategy tests , Not good , So there is no addition , But that doesn't mean you can't add .
4、 The strategy is refactored K There is still room for improvement in the process of wiring , The second is refactoring K Line , We can also continue to sort out other entry and exit logic . It's not limited SF21 The idea of .
Due to the differences of various platforms , Back test performance to TBQ The version shall prevail !!!
This strategy is only used for learning and communication , The investor is personally responsible for the profit and loss of the firm offer .
边栏推荐
- 带你刷(牛客网)C语言百题(第一天)
- Sword finger offer high quality code
- Matlab tips (30) nonlinear fitting lsqcurefit
- Common function detect_ image/predict
- How can flinksql calculate the difference between a field before and after update when docking with CDC?
- freeswitch拨打分机号源代码跟踪
- How can brand e-commerce grow against the trend? See the future here!
- Esxi attaching mobile (Mechanical) hard disk detailed tutorial
- Distributed ID solution
- 非父子组件的通信
猜你喜欢

transform-origin属性详解

LVS+Keepalived(DR模式)学习笔记

RuntimeError: CUDA error: CUBLAS_ STATUS_ ALLOC_ Failed when calling `cublascreate (handle) `problem solving

How can gyms improve their competitiveness?

7天零基础能考证HCIA吗?华为认证系统学习路线分享

Master-slave replication principle of MySQL

Unity3d learning notes

How to do sports training in venues?

Bus消息总线

jdbc数据库连接池使用问题
随机推荐
$refs:组件中获取元素对象或者子组件实例:
RuntimeError: CUDA error: CUBLAS_ STATUS_ ALLOC_ Failed when calling `cublascreate (handle) `problem solving
Jetpack compose is much more than a UI framework~
Sqlserver multithreaded query problem
Exception of DB2 getting table information: caused by: com ibm. db2.jcc. am. SqlException: [jcc][t4][1065][12306][4.25.13]
oracle如何备份索引
【NOI模拟赛】区域划分(结论,构造)
子组件传递给父组件
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
$parent(获取父组件) 和 $root(获取根组件)
工具类:对象转map 驼峰转下划线 下划线转驼峰
js小练习
Answer to the first stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
From zero to one, I will teach you to build the "clip search by text" search service (2): 5 minutes to realize the prototype
freeswitch拨打分机号源代码跟踪
How can gyms improve their competitiveness?
Learning records on July 4, 2022
MySQL SQL的完整处理流程
$parent (get parent component) and $root (get root component)
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书