Sword candle
A sword-like candle is detected using the body/shadow proportions in the local formula.
This entry has an incomplete verified explanation or executable case and is excluded from search indexing. Known definitions and missing inputs are distinguished below.
Purpose and construction
A sword-like candle is detected using the body/shadow proportions in the local formula.
Sword candle is applied to the chart series using the local definition below. Each period counts one bar on the active chart. The same period therefore covers a different amount of time on daily and intraday charts.
How to read it
Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.
A highlight or true output records a match to the local pattern conditions. Platforms can use different body ratios, gap rules and trend filters, so compare definitions before comparing markers.
Parameters
This definition exposes no configurable parameters.
Parameter names match the variables in the calculation. After changing a lookback or smoothing period, recalculate on the same data to compare response speed. Defaults from another platform may not match this definition.
Actual application chart
The current market data and inputs did not produce a verifiable indicator output. No figure is shown; simulated prices are not substituted for indicator output.
Local calculation
The local definition is shown below. Display labels can be translated; the case calculation uses original source identifiers. A shared indicator name does not guarantee identical calculations across platforms.
AA:=VOL>REF(VOL,1)||VOL>(CAPITAL*0.1);
BB:=OPEN>=(REF(HIGH,1))&&REF(HIGH,1)>(REF(HIGH,2)*1.06);
CC:=CLOSE>(REF(CLOSE,1))-(REF(CLOSE,1)*0.01);
DD:=CLOSE<(HIGH*0.965) && HIGH>(OPEN*1.05);
EE:=LOW<OPEN && LOW<CLOSE&&HIGH>(REF(CLOSE,1)*1.06);
FF:=(HIGH-(MAX(OPEN,CLOSE)))/2>(MIN(OPEN,CLOSE))-LOW;
GG:=(ABS(OPEN-CLOSE))/2<(MIN(OPEN,CLOSE)-LOW);
SWORDO:AA&&BB&&CC&&DD&&EE&&FF&&GG;Limitations
- Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.
- Timeframe, adjustments, warm-up length and data units affect results. Align these before comparing charts.
- This definition requires inputs beyond OHLCV, such as benchmark, share-count or cost data. Do not infer a result when these inputs are incomplete.
Questions
Why can Sword candle differ across platforms?
Compare inputs, default periods, smoothing, offsets and data units before comparing the final value. This guide uses the local source definition rather than assuming that an external example has the same settings.
Does the example show a real trade?
No. Figures show the indicator running on historical market data in the application. They contain no executed orders and make no return or win-rate claim.
References
The calculation comes from the project’s indicator registry. Primary references below provide related conceptual reading. Figures are captured from the running application.