指定
Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators:
- CCI
- Chaikin
- RSI
- Stochastic Oscillator
Algorithm and Terms
The first stage is the construction of the Zigzag:
- The overbought zone is determined as candlesticks, at which the indicator value Value > Lmax(Lmax=-20).
- The oversold zone is determined as candlesticks, at which the indicator value Value < Lmin (Lmin=-80).
- The values of Lmax and Lmin should be included in indicator parameters.
- A yellow point should be added at the High point of candlesticks in the overbought zone—it is the H point.
- A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point.
- If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price.
- If there is at least one H point between two L points, search for a HH point in the interval between two L points. The candlestick with the highest High price will be the HH point. Generally, the HH point is not necessarily a H point. Search for candlesticks with the highest High price.
- Connect LL and HH points to draw a ZigZag. The default color is yellow. The first step is finished.
応答済み
1
評価
プロジェクト
3552
88%
仲裁
73
40%
/
15%
期限切れ
268
8%
暇
2
評価
プロジェクト
212
58%
仲裁
9
11%
/
89%
期限切れ
8
4%
暇
3
評価
プロジェクト
789
71%
仲裁
9
33%
/
33%
期限切れ
22
3%
暇
パブリッシュした人: 8 codes
4
評価
プロジェクト
945
47%
仲裁
309
58%
/
27%
期限切れ
125
13%
暇
5
評価
プロジェクト
396
28%
仲裁
70
19%
/
49%
期限切れ
121
31%
仕事中
6
評価
プロジェクト
845
73%
仲裁
15
53%
/
13%
期限切れ
193
23%
暇
7
評価
プロジェクト
18
6%
仲裁
31
3%
/
65%
期限切れ
5
28%
暇
8
評価
プロジェクト
83
45%
仲裁
27
11%
/
70%
期限切れ
8
10%
暇
9
評価
プロジェクト
132
52%
仲裁
9
44%
/
33%
期限切れ
63
48%
暇
10
評価
プロジェクト
148
59%
仲裁
16
38%
/
13%
期限切れ
25
17%
暇
パブリッシュした人: 1 code
11
評価
プロジェクト
143
76%
仲裁
0
期限切れ
2
1%
暇
12
評価
プロジェクト
8
50%
仲裁
3
33%
/
67%
期限切れ
3
38%
仕事中
13
評価
プロジェクト
127
41%
仲裁
3
33%
/
67%
期限切れ
0
暇
14
評価
プロジェクト
33
45%
仲裁
1
0%
/
100%
期限切れ
8
24%
暇
15
評価
プロジェクト
146
34%
仲裁
13
8%
/
62%
期限切れ
26
18%
暇
パブリッシュした人: 6 codes
類似した注文
V3 PRO Auto-Scalper EA
40+ USD
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
プロジェクト情報
予算
50 - 1000 USD
締め切り
最低 1 最高 50 日