cci 수정
This commit is contained in:
@@ -599,10 +599,10 @@ public class StrategyDslToTa4jAdapter {
|
||||
// CCI — 기간 접미사(CCI_VALUE_13) 또는 기본 CCI_VALUE
|
||||
if (field.startsWith("CCI_VALUE_")) {
|
||||
int period = parseTrailingInt(field, "CCI_VALUE_", intP(p, "length", 13));
|
||||
return new CciOnSourceIndicator(resolvePriceSource(s, p), period);
|
||||
return new CciOnSourceIndicator(resolvePriceSource(s, CciOnSourceIndicator.normalizeParams(p)), period);
|
||||
}
|
||||
if (field.equals("CCI_VALUE") || indType.equals("CCI"))
|
||||
return new CciOnSourceIndicator(resolvePriceSource(s, p),
|
||||
return new CciOnSourceIndicator(resolvePriceSource(s, CciOnSourceIndicator.normalizeParams(p)),
|
||||
periodOverride > 0 ? periodOverride : intP(p, "length", 13));
|
||||
// RSI — 기간 접미사(RSI_VALUE_9) 또는 기본 RSI_VALUE
|
||||
if (field.startsWith("RSI_VALUE_")) {
|
||||
|
||||
Reference in New Issue
Block a user