Stochastic Min Max

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Stochastic Min Max

Postby Apprentice » Thu May 23, 2019 3:13 am

Sure. I'm not sure, this will be beneficial, the signal is quite lagging.
The indicator is analytical, not trading help.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Stochastic Min Max

Postby lavolpe » Thu Jan 30, 2020 3:29 pm

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.
lavolpe
 
Posts: 11
Joined: Tue Nov 13, 2018 1:36 pm

Re: Stochastic Min Max

Postby Apprentice » Thu Jan 30, 2020 4:39 pm

GBPUSD D1 (01-30-2020 2047).png

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

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Stochastic Min Max

Postby Gilles » Mon Sep 26, 2022 2:30 pm

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 :) !
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Re: Stochastic Min Max

Postby Apprentice » Wed Sep 28, 2022 11:08 am

We have added your request to the development list.
Development reference 596.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Stochastic Min Max

Postby Gilles » Thu Jan 19, 2023 3:25 am

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.
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France


Re: Stochastic Min Max

Postby Gilles » Fri Jan 20, 2023 2:36 pm

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 !
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Re: Stochastic Min Max

Postby Apprentice » Tue Jan 24, 2023 7:23 am

Stochastic Min Max Signal Oscillator.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 43 guests