OPEN-SOURCE SCRIPT

KAMA Flip strategy

52
I built this strategy because I wanted something that doesn’t overcomplicate trading.
No 20 indicators, no guessing, no “maybe I should close here.”
Just a clear momentum flip, a defined stop, and a defined take profit. (for me on 1D BTC chart it works best with 6% stoploss and 3% takeprofit, lookback should be 40, everything else standard)

The idea is simple: when momentum shifts, I want to be on the right side of it.
KAMA is good for this because it speeds up when the market moves and slows down when it doesn’t.
I normalize it so it becomes a clean zero-line oscillator.
Above zero means momentum is turning up. Below zero means it’s turning down.

That’s the entire entry logic. A flip is a flip.

The exit logic is just as simple: one stop loss, one take profit, both fixed percentages from the entry.
The position closes 100% at the target or the stop. No scaling in, no scaling out, no trailing.
It’s straightforward and easy to analyze because every trade has the exact same structure.

I originally made this for BTC on the daily chart, but nothing stops you from trying it on other charts.
If you want it only to go long, only to go short, or take both sides, you can set that.
All the KAMA parameters are open so you can play with how reactive the signal is.
The visuals and SL/TP lines can be turned on or off depending on how clean you want your chart.

This isn’t financial advice. It’s just a system I like because it’s simple, objective, and does exactly what it’s supposed to do.
Test it, adjust it, break it, rebuild it — do whatever fits your own approach.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。