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.
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:
These users thanked the author heispark for the post:
ChuChu Rocket
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
Official Forex-station GIF animator at your service 👨‍⚖️
See a GIF with Forex-station.com on it? I probably made it
The best divergence indicator in the world.
Real news exists: 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.
These users thanked the author ChuChu Rocket for the post (total 4):
moey_dw, heispark, KAESER444, BeatlemaniaSA
Important: The worst forex brokers of all time 👎


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..... :)
These users thanked the author heispark for the post:
ChuChu Rocket
Simplicity is the ultimate sophistication - Leonardo da Vinci


Who is online

Users browsing this forum: Ahrefs [Bot], ChatGPT [Bot], DotNetDotCom [Bot], Jimmy, Majestic-12 [Bot] and 74 guests