  
- UID
- 2
- 积分
- 2929454
- 威望
- 1414763 布
- 龙e币
- 1514691 刀
- 在线时间
- 13682 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2025-4-4

|
- { AcmeTail
- P295
- Function
- AcmeTail: Search for a Tail Pattern}
- Inputs:
- Percent(Numeric),
- RangeLength(Numeric);
- Variables:
- RP(0.0),
- RP25(0.25),
- RP50(0.50);
- AcmeTail = 0;
- RP = (AcmeRangePercent(Open, 1) + AcmeRangePercent(Close, 1)) / 2;
- Condition1 = RP >= (1 - Percent);
- Condition2 = AcmeRangePercent(Close, 1) >= (1 - RP25);
- If (Condition1 or Condition2) and
- AcmeRangePercent(Low, RangeLength) <= Percent and
- AcmeRangePercent(Open, 1) > RP50 and
- AcmeRangePercent(Close, 1) > RP50 Then
- AcmeTail = 1;
- Condition1 = RP <= Percent;
- Condition2 = AcmeRangePercent(Close, 1) <= RP25;
- If (Condition1 or Condition2) and
- AcmeRangePercent(High, RangeLength) >= (1 - Percent) and
- AcmeRangePercent(Open, 1) < RP50 and
- AcmeRangePercent(Close, 1) < RP50 Then
- AcmeTail = 2;
复制代码 |
|