NO LINKS OR MQL SOURCE CODE REQUESTS. Please follow the rules.

ChartTiki Stochastic Indicator

#1
This is called 'Tiki Stochastic' which is an indicator made for Tradovate platform. Can anyone port this to MT4? user named Medici uses it and it looks impressive. He uses (10,13,3) weighted.
2022-01-04_02-34-14.png
Screenshot 2022-01-03 at 15.40.09.png
EDIT:
I found its Java code:

Code: Select all

const predef = require("./tools/predef");
const meta = require("./tools/meta");
const MovingHigh = require("./tools/MovingHigh");
const MovingLow = require("./tools/MovingLow");
const SMA = require("./tools/SMA");
const EMA = require('./tools/EMA');
const WMA = require('./tools/WMA');
const MMA = require('./tools/MMA');
const HMA = require('./HMA');

const ma = {
    sma: SMA,
    ema: EMA,
    wma: WMA,
    mma: MMA,
    hma: HMA
};

class tikiStochastic {
    init() {
        this.highest = MovingHigh(this.props.kPeriod);
        this.lowest = MovingLow(this.props.kPeriod);
        this.kMA = ma[this.props.type](this.props.smoothPeriod);
        this.dMA = ma[this.props.type](this.props.dPeriod);
    }

    map(d) {
        const high = d.high();
        const low = d.low();
        const close = d.close();
        const hh = this.highest(high);
        const ll = this.lowest(low);
        const c1 = close - ll;
        const c2 = hh - ll;
        const fastK = c2 !== 0 ? c1 / c2 * 100 : 0;
        const K = this.kMA(fastK);
        const D = this.dMA(K);
        return { 
            K, 
            D, 
            overBought: this.props.overBought,
            overSold: this.props.overSold
        };
    }

    filter(d) {
        return predef.filters.isNumber(d.D);
    }
}

module.exports = {
    name: "tikiStochastic",
    title: "Tiki Stochastic",
    description: "Tiki Stochastic",
    calculator: tikiStochastic,
    params: {
        kPeriod: predef.paramSpecs.period(10),
        dPeriod: predef.paramSpecs.period(10),
        smoothPeriod: predef.paramSpecs.period(3),
        overBought: predef.paramSpecs.period(80),
        overSold: predef.paramSpecs.period(20),
        type: predef.paramSpecs.enum({
            sma: 'Simple',
            ema: 'Exponential',
            wma: 'Weighted',
            mma: 'Modified',
            hma: 'Hull'
        }, 'sma')
    },
    validate(obj) {
        if (obj.period < 1) {
            return meta.error("kPeriod", "K Period should be a positive number");
        }
        if (obj.period < 1) {
            return meta.error("dPeriod", "D Period should be a positive number");
        }
        if (obj.smoothPeriod < 2) {
            return meta.error("smoothPeriod", "Smooth period should be greater than 1");
        }
        return undefined;
    },
    inputType: meta.InputType.BARS,
    areaChoice: meta.AreaChoice.NEW,
    plots: {
        K: { title: "%K" },
        D: { title: "%D" },
        overBought: { title: "Over Bought" },
        overSold: { title: "Over Sold" }
    },
    tags: ['Tiki Tools'],
    schemeStyles: {
        dark: {
            K: predef.styles.plot("cyan"),
            D: predef.styles.plot({
                color: "red",
                lineWidth: 2
            }),
            overBought: predef.styles.plot("yellow"),
            overSold: predef.styles.plot("yellow"),
        },
        light: {
            K: predef.styles.plot("blue"),
            D: predef.styles.plot({
                color: "red",
                lineWidth: 2
            }),
            overBought: predef.styles.plot("orange"),
            overSold: predef.styles.plot("orange"),
        }
    }
};
The following is /NG 5M chart:
2022-01-04_19-50-56.png
Simplicity is the ultimate sophistication - Leonardo da Vinci


Re: Tiki Stochastic Indicator

#2
heispark wrote:
Tue Jan 04, 2022 6:10 pm
This is called 'Tiki Stochastic' which is an indicator made for Tradovate platform. Can anyone port this to MT4? uses it and it looks impressive. He uses (10,13,3) weighted.
hi more info pls where to find the code?? can u at least post everything so can be look at properly not just tiki stochastic photo & some settings lol
Contribution Inspector & GIF Animator at your service 👨‍⚖️
For real news, go to: Infowars.com 👈

Re: Tiki Stochastic Indicator

#3
moey_dw wrote:
Tue Jan 04, 2022 7:41 pm
hi more info pls where to find the code?? can u at least post everything so can be look at properly not just tiki stochastic photo & some settings lol
That's Tradovate custom indicator. You can download 14 day demo version of Tradovate. I am not really familiar with this platform and how to use custom indicators. It looks Tradovate is somewhat developer oriented complex platform. However, I think that's just slightly tweaked version of Stochastics. I guess coding experts would understand by watching the screenshot image I attached. Or, anyone who are familiar with Tradovate can help share this free custom code for conversion.
Simplicity is the ultimate sophistication - Leonardo da Vinci

Re: Tiki Stochastic Indicator

#4
heispark wrote:
Tue Jan 04, 2022 8:58 pm
That's Tradovate custom indicator. You can download 14 day demo version of Tradovate. I am not really familiar with this platform and how to use custom indicators. It looks Tradovate is somewhat developer oriented complex platform. However, I think that's just slightly tweaked version of Stochastics. I guess coding experts would understand by watching the screenshot image I attached. Or, anyone who are familiar with Tradovate can help share this free custom code for conversion.
This is just a Stochastics using HMA as an Averages filter and setting of 10,13,3.

You can easily replicate it using any Stochastics Averages from this site and selecting filter as Hull Moving Average, then input the settings of 10,13,3.
📖 Download over 600+ Free Forex & Trading books from the Trader's Library.

Important: The worst forex brokers of 2021👎


Re: Tiki Stochastic Indicator

#6
heispark wrote:
Tue Jan 04, 2022 6:10 pm
This is called 'Tiki Stochastic' which is an indicator made for Tradovate platform. Can anyone port this to MT4? user named Medici uses it and it looks impressive. He uses (10,13,3) weighted.
I managed to make the same setup on my MotiveWave platform..... :)
2022-01-05_01-26-42.png
2022-01-05_01-28-33.png
2022-01-05_01-28-55.png
Simplicity is the ultimate sophistication - Leonardo da Vinci


Attachments 8
  1. Similar Topics

    1. MT5 Stochastic indicators

      0 Replies 209 Views

      by mrtools, Sun Sep 04, 2022 5:30 am in MT5 Indicators

      0 Replies
      209 Views
    2. .mq4 version of this indicator or comparable indicator

      3 Replies 1356 Views

      by ajk49, Sun Feb 06, 2022 2:18 am in Coding Help

      3 Replies
      1356 Views
    3. Indicator questions

      7 Replies 993 Views

      by Loye, Tue Sep 28, 2021 5:50 pm in New Members & Common Forex Q&A's

      7 Replies
      993 Views

Return to “MT4 Indicators”

Users viewing this forum: CommonCrawl [Bot], Daddyhan, Dostoyevsky, kvak, LittleCaro, mh152, othentick, Yandex [Bot], 太虚一毫 and 78 guests