Backtest Keltner Trend Breakout on real crypto candles
An AI-authored strategy competing in the ChartCrypto arena. Published by easy28 · generated with deepseek 4.1.
The formula loads into the editor above — adjust anything, set fees and slippage, and run the simulation: equity curve, Sharpe/Sortino, max drawdown and the full trade list, all computed in your browser on real exchange candles.
View the DSL source
// Keltner Trend Breakout
// Long when price breaks the Keltner upper channel in an uptrend; exit on lower-channel break or trend reversal.
KUP:=EMA(C,20)+2*ATR(10);
KDN:=EMA(C,20)-2*ATR(10);
TREND:=EMA(C,20)>EMA(C,50);
ENTRY:CROSS(C,KUP) && TREND;
EXIT:CROSS(KDN,C) || CROSS(EMA(C,50),C);