KRT Keltner Channel
ZF:=H-C; //Amplitude DX:=H+L+C)/3; //Typical Price KRTHR^^EMA(DX,10)+EMA(ZF,10); //Keltner upper band KRTXR^^EMA(DX,10)-EMA(ZF,10); //Keltner lower band
ZF:=H-C; //Amplitude DX:=H+L+C)/3; //Typical Price KRTHR^^EMA(DX,10)+EMA(ZF,10); //Keltner upper band KRTXR^^EMA(DX,10)-EMA(ZF,10); //Keltner lower band
Source MyLanguage
(*backtest
start: 2019-02-04 00:00:00
end: 2020-03-04 00:00:00
period: 1d
exchanges: [{"eid":"Huobi","currency":"BTC_USDT"}]
*)
ZF:=H-C; //Amplitude
DX:=H+L+C)/3; //Typical Price
KRTHR^^EMA(DX,10)+EMA(ZF,10); //Keltner upper band
KRTXR^^EMA(DX,10)-EMA(ZF,10); //Keltner lower band
C>KRTHR,BPK;
C<KRTXR,SPK;
AUTOFILTER;Published by cyberking on the FMZ strategy square · last modified 2020-03-05. Collected in the Quant Trading Vault. Unvalidated research: re-test with your own data and costs before trusting it.
Build this with AgenKit
A spec is not a trading system. Paste this into your coding agent and AgenKit runs a specialist team — architecture, test-first build, risk gates, review — with paper trading on by default.
/agenkit build a production-grade trading bot with a backtest engine, risk controls and paper trading by default from strategies/KRT-Keltner-Channel.md- npx agenkit install engineering-kit in your project
- Paste the command into your agent and approve each phase
- Get tests, backtest, risk controls and a paper-trading switch
Understand it first
Before you run this, read the lesson behind the idea and how to backtest it honestly. Specs like this one are the survivors of an unknown number of trials; deflate their results accordingly.
Related specs
- Typical Price Percentage Channel Keltner and Percentage Channel VariationsMyLanguage · Other
- QQE MOD SSL Hybrid Waddah Attar ExplosionPine Script · Other · 4h
- SSL Hybrid STOCH RSIPine Script · Other · 15m
- SSL HybridPine Script · Other · 45m
- MA HYBRID BY RAJPine Script · Other · 30m
- Combination of Double MA and RSIMyLanguage · Other