PKJChannelsStrategy, PKJChannels, PKJIntercept, and PKJSlope as published in the May 2025 Stocks and Commodities article titled “Trading The Channel” by Perry J. Kaufman
User Submitted App Features: NinjaTrader 8 Compatible
Trust Me Bro – ATR, EMA, Trend Line and Levels
EMA based ATR with High and Low EMAs, Trend Line and Levels all into one.
Full Source: https://github.com/WaleeTheRobot/trust-me-bro
Plots trendline with levels and uses color changing bars based on statistical methods to identify trend.
Secret Sauce
The TrendClassifier evaluates market trends using statistical methods. It combines three trend detection techniques—Ordinary Least Squares (OLS) regression slope, Mann-Kendall tau, and Sen’s slope—to produce a normalized trend score between -1 and 1.
How It Works
Extracts the most recent prices within the period and computes:
– OLS slope (linear trend strength and direction)
– Mann-Kendall tau (non-parametric trend consistency)
– Sen’s slope (robust rate of change)
It then normalizes and weights each metric by its statistical significance and outputs a composite score, where:
+1 = strong uptrend
-1 = strong downtrend
0 = neutral/insignificant trend