TASC magazine indicators

1
Ultimate Channel

TASC = Technical Analysis of Stocks & Commodities
TASC magazine May 2024 issue

The ultimate channel and ultimate bands indicators, which are described in the article “Ultimate Channels And Ultimate Bands” in this issue by John Ehlers, are available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the file.

Sample charts demonstrating the two indicators are shown below:
These users thanked the author Banzai for the post (total 7):
TransparentTrader, RodrigoRT7, Krunal Gajjar, vvFish, Jimmy, boytoy, moey_dw


Re: TASC magazine indicators

2
Banzai wrote: Sun Apr 14, 2024 10:37 am Ultimate Channel

TASC = Technical Analysis of Stocks & Commodities
TASC magazine May 2024 issue

The ultimate channel and ultimate bands indicators, which are described in the article “Ultimate Channels And Ultimate Bands” in this issue by John Ehlers, are available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the file.

Sample charts demonstrating the two indicators are shown below:
kvak, mrtools, or any of the master coders here, would it be possible to port this indicator to MT4/MT5?

The UltimateChannel2 pdf comes with Pinescript code for TradingView and I can't imagine it would be too difficult to convert it into MQL4/MQL5 code.

I'm sure PineCodersTASC on TradingView will eventually publish the code since they do so for every monthly magazine's featured indicator, but I've included the code to Ehler's Ultimate Smoother that was published in the April 2024 issue.

Hopefully that makes things easier for you!

Code: Select all

// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © PineCodersTASC

//  TASC Issue: April 2024 - Vol. 42, Issue 4
//     Article: The Ultimate Smoother.
//              Smoothing data with less lag.
//  Article By: John F. Ehlers
//    Language: TradingView's Pine Script™ v5
// Provided By: PineCoders, for tradingview.com


//@version=5
string title  = 'TASC 2024.04 The Ultimate Smoother'
string stitle = 'US'
indicator(title, stitle, true)


// --- Inputs ---
int   periodInput = input.int(20, "Critical Period:")
float sourceInput = input.source(close, "Source Series:")


// --- Functions ---
// @function      The UltimateSmoother is a filter created
//                by subtracting the response of a high-pass 
//                filter from that of an all-pass filter.
// @param src     Source series.
// @param period  Critical period.
// @returns       Smoothed series.
UltimateSmoother (float src, int period) =>
    float a1 = math.exp(-1.414 * math.pi / period)
    float c2 = 2.0 * a1 * math.cos(1.414 * math.pi / period)
    float c3 = -a1 * a1
    float c1 = (1.0 + c2 - c3) / 4.0
    float us = src
    if bar_index >= 4
        us := (1.0 - c1) * src + 
              (2.0 * c1 - c2) * src[1] - 
              (c1 + c3) * src[2] + 
              c2 * nz(us[1]) + c3 * nz(us[2])
    us


// --- Plotting ---
plot(UltimateSmoother(sourceInput, periodInput), 'US', color.blue, 2)
These users thanked the author TransparentTrader for the post (total 3):
Banzai, RodrigoRT7, boytoy

Re: TASC magazine indicators

3
Gap Momentum

The gap momentum indicator, which is introduced in the article “Gap Momentum” in this issue by Perry Kaufman, is available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator’s source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the file.

A sample chart displaying the indicator is shown in Figure 7. Please refer to the article in this issue for details about the author’s strategy and any settings for the indicator. The backtest shown here may represent a different time period than the one used by the author, which may lead to a difference in signals displayed.
These users thanked the author Banzai for the post (total 3):
TransparentTrader, Jimmy, boytoy

Re: TASC magazine indicators

4
Trend Identification By Price And Time Filtering

The weekly and monthly time-price filters, which are introduced in the article “Trend Identification By Price And Time Filtering” by Alfred François Tagher in this issue, are available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the “AFTStrongTrend” file.

A sample chart displaying the indicator is shown below:
These users thanked the author Banzai for the post (total 3):
RodrigoRT7, boytoy, moey_dw

Re: TASC magazine indicators

5
Smoothed Rate of Directional Change

The smoothed rate of directional change indicator discussed in the article “Taming The Effects Of Whipsaw” by Richard Poster in this issue is available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the file.

A sample chart displaying the indicator is shown below:
These users thanked the author Banzai for the post (total 2):
RodrigoRT7, boytoy


Re: TASC magazine indicators

6
Ultimate Smoother

The UltimateSmoother, which is introduced in the article “The Ultimate Smoother” in this issue by John Ehlers, is available for download at the following link for NinjaTrader 8:

Once the file is downloaded, you can import the indicator into NinjaTrader 8 from within the control center by selecting Tools → Import → NinjaScript Add-On and then selecting the downloaded file for NinjaTrader 8.

You can review the indicator source code in NinjaTrader 8 by selecting the menu New → NinjaScript Editor → Indicators folder from within the control center window and selecting the file.

A chart displaying the indicator is shown below:
These users thanked the author Banzai for the post (total 3):
RodrigoRT7, boytoy, moey_dw

Re: TASC magazine indicators

7
TransparentTrader wrote: Sun Apr 14, 2024 11:17 am kvak, mrtools, or any of the master coders here, would it be possible to port this indicator to MT4/MT5?

The UltimateChannel2 pdf comes with Pinescript code for TradingView and I can't imagine it would be too difficult to convert it into MQL4/MQL5 code.

I'm sure PineCodersTASC on TradingView will eventually publish the code since they do so for every monthly magazine's featured indicator, but I've included the code to Ehler's Ultimate Smoother that was published in the April 2024 issue.

Hopefully that makes things easier for you!

Code: Select all

// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © PineCodersTASC

//  TASC Issue: April 2024 - Vol. 42, Issue 4
//     Article: The Ultimate Smoother.
//              Smoothing data with less lag.
//  Article By: John F. Ehlers
//    Language: TradingView's Pine Script™ v5
// Provided By: PineCoders, for tradingview.com


//@version=5
string title  = 'TASC 2024.04 The Ultimate Smoother'
string stitle = 'US'
indicator(title, stitle, true)


// --- Inputs ---
int   periodInput = input.int(20, "Critical Period:")
float sourceInput = input.source(close, "Source Series:")


// --- Functions ---
// @function      The UltimateSmoother is a filter created
//                by subtracting the response of a high-pass 
//                filter from that of an all-pass filter.
// @param src     Source series.
// @param period  Critical period.
// @returns       Smoothed series.
UltimateSmoother (float src, int period) =>
    float a1 = math.exp(-1.414 * math.pi / period)
    float c2 = 2.0 * a1 * math.cos(1.414 * math.pi / period)
    float c3 = -a1 * a1
    float c1 = (1.0 + c2 - c3) / 4.0
    float us = src
    if bar_index >= 4
        us := (1.0 - c1) * src + 
              (2.0 * c1 - c2) * src[1] - 
              (c1 + c3) * src[2] + 
              c2 * nz(us[1]) + c3 * nz(us[2])
    us


// --- Plotting ---
plot(UltimateSmoother(sourceInput, periodInput), 'US', color.blue, 2)
From the code looks to me the same as his super smoother, if you use this Atr bands indicator and change the atr ma and regular ma to super smoother imagine it will be the same as keltner channels or that version of "Ultimate Channels".
These users thanked the author mrtools for the post (total 3):
TransparentTrader, Banzai, RodrigoRT7

Re: TASC magazine indicators

8
mrtools wrote: Mon Apr 15, 2024 6:00 am From the code looks to me the same as his super smoother, if you use this Atr bands indicator and change the atr ma and regular ma to super smoother imagine it will be the same as keltner channels or that version of "Ultimate Channels".
I know for sure that PineCodersTASC will eventually port their version of the Ultimate Channels/Bands with the source code onto TradingView soon as the May 2024 issue was just recently released.

Once they do so, I can load up identical charts on TradingView and MT4 with OANDA, followed by a comparison between your indicator and what they've posted. If there are any differences I'll let you know and I can request a separate indicator to be made just for Ultimate Channels/Bands.
These users thanked the author TransparentTrader for the post (total 5):
mrtools, RodrigoRT7, Banzai, boytoy, moey_dw


Who is online

Users browsing this forum: ChatGPT [Bot] and 0 guests