Typical Price Percentage Channel Keltner and Percentage Channel Variations
Typical price percentage channel - Keltner and percentage channel variations. DX^^EMA((H+L+C)/3,N); //21Typical price moving average over days KRTHR^^EMA(DX,N) 1.05; //21Daily percentage channel upper…
Typical price percentage channel - Keltner and percentage channel variations. DX^^EMA((H+L+C)/3,N); //21Typical price moving average over days KRTHR^^EMA(DX,N)*1.05; //21Daily percentage channel upper KRTXR^^EMA(DX,N)/1.05; //21Daily percentage channel lower
Source MyLanguage
(*backtest
start: 2019-02-09 00:00:00
end: 2020-03-04 00:00:00
period: 1d
exchanges: [{"eid":"Huobi","currency":"BTC_USDT"}]
*)
//ZF:=H-C; //Amplitude
N:=21;
DX^^EMA((H+L+C)/3,N); //21Typical price moving average over days
KRTHR^^EMA(DX,N)*1.05; //21Daily percentage channel upper
KRTXR^^EMA(DX,N)/1.05; //21Daily percentage channel lower
C>DX AND (DX<KRTHR),BPK; //Typical upper breakout midline, midline less than upper line
//C>DX AND REF(DX,1)>REF(DX,2),BPK;
C<DX AND (DX>KRTXR),SPK; //Typical lower breakout midline, midline greater than lower line
//C<DX AND REF(DX,1)<REF(DX,2),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/Typical-Price-Percentage-Channel-Keltner-and-Percentage-Channel-Variations.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.