Page 3 of 4

Re: Stochastic Min Max

PostPosted: Thu May 23, 2019 3:13 am
by Apprentice
Sure. I'm not sure, this will be beneficial, the signal is quite lagging.
The indicator is analytical, not trading help.

Re: Stochastic Min Max

PostPosted: Thu Jan 30, 2020 3:29 pm
by lavolpe
Hi! Can you transform this in an oscillator? i would like to use it in a strategy.

I tryed to trasform it in oscillator but result seems to be not congruent!

i need two continuous line with price scale to know in any period the last maximum and minimum value (support and resistence).
Then i need two stream (Up and Down) for any periods.

I attach my indicator.

thanks in advance.

Re: Stochastic Min Max

PostPosted: Thu Jan 30, 2020 4:39 pm
by Apprentice
GBPUSD D1 (01-30-2020 2047).png

Stochastic Min Max Oscillator.lua
(5.59 KiB) Downloaded 362 times

Try this version.

Re: Stochastic Min Max

PostPosted: Mon Sep 26, 2022 2:30 pm
by Gilles
Hi Apprentice,
Would it be possible to replace the K and D of the standard STOCHASTIC with the K and D of the SMI indicator ?
Thank you very much :) !

Re: Stochastic Min Max

PostPosted: Wed Sep 28, 2022 11:08 am
by Apprentice
We have added your request to the development list.
Development reference 596.

Re: Stochastic Min Max

PostPosted: Mon Oct 03, 2022 3:05 am
by Apprentice
Try this version.
https://fxcodebase.com/code/viewtopic.php?f=17&t=72795

I hope I used the correct SMI

Re: Stochastic Min Max

PostPosted: Thu Jan 19, 2023 3:25 am
by Gilles
Hi Apprentice,

For the Stochastic_Min_Max.LUA indicator, could you provide a flux for the green arrows and another flux for the red arrows?

Thanck you very much.

Re: Stochastic Min Max

PostPosted: Fri Jan 20, 2023 11:33 am
by Apprentice
What is flux?

Re: Stochastic Min Max

PostPosted: Fri Jan 20, 2023 2:36 pm
by Gilles
Hi Apprentice,
Hi Apprentice, I apologize. I wanted to talk about Stream. The ideal for me would be to get the position of the arrows in a dedicated stream as you usually do with:

indicator.parameters:addColor("upaclr", "Up arrow Color", "Up arrow Color", core.colors().Chartreuse);
indicator.parameters:addColor("dnaclr", "Dn arrow Color", "Dn arrow Color", core.colors().Tomato);
indicator.parameters:addInteger("DotSize", "Dot size", "Dot size", 5, 1, 5);

local dnArrow, upArrow;

dnArrow = instance:addStream("dnArrow", core.Dot, name .. ".dnArrow", "dnArrow", instance.parameters.dnaclr, first);
upArrow = instance:addStream("upArrow", core.Dot, name .. ".upArrow", "upArrow", instance.parameters.upaclr, first);
dnArrow:setWidth(instance.parameters.DotSize);
upArrow:setWidth(instance.parameters.DotSize);

Thank you very much !

Re: Stochastic Min Max

PostPosted: Tue Jan 24, 2023 7:23 am
by Apprentice
Stochastic Min Max Signal Oscillator.lua added.