Creating two pole oscillator in cTrader to use on my charts
Summary A failed attempt to port a TradingView Pine Script oscillator to cTrader’s C# API resulted in jagged outputs instead of smooth curves. The root cause was incorrect recursion logic in the two-pole filter implementation. Root Cause The flawed recursion occurred in the exponential smoothing logic due to two critical errors: Misuse of current index … Read more