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 » Tue Jan 24, 2023 7:26 am

To be honest, I still don't understand you.

Something like Stochastic Min Max with Alert.lua or Stochastic Min Max Signal Oscillator.lua
https://fxcodebase.com/code/viewtopic.php?f=17&t=64558
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Stochastic Min Max

Postby Gilles » Tue Jan 24, 2023 7:54 am

Hi Apprentice,
Currently in Stochastic Min Max.LUA you are searching for and indicating the min max of the price between two stochastic crosses. You indicate the min and max by arrows that you draw on the graph. However, we cannot retrieve this information through dedicated streams. I would like the position of the min and max to be indicated in a dedicated stream for the MAX arrows (upArrow) and another dedicated stream for the MIN arrows (dnArrow). This way, we can query these two streams to retrieve the information we want.
Is this possible?

Thanck you :) !
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France


Re: Stochastic Min Max

Postby Gilles » Tue Jan 24, 2023 9:29 am

Apprentice,
The STOCHASTIC MIN MAX SIGNAL OSCILLATOR.LUA indicator does not match what I am trying to achieve.
There are indeed two separate streams:
stream 1 for minmax,
stream 2 for cross.

However, I would like to simply have 2 streams as follows:
stream 1 for max,
stream 2 for min.
This would allow me to locate where the arrows are and at what price.

Thanck you :) !
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France


Re: Stochastic Min Max

Postby Gilles » Thu Jan 26, 2023 6:05 am

Hi Apprentice,
I've reached my goal and I can now retrieve the coordinates of the arrows and their position in their dedicated stream. I've made 2 versions, one Indicator version and one Oscillator version (Display possible in Bar or Dot). Each of these versions includes 2 separate streams:

1. upArrow stream
2. dnArrow stream

In this image you can see in the upper frame GER30_m15:
STOCHASTIC MIN MAX.LUA that you propose.

And just below, in the lower frame GER30_m15:
An indicator that I called SMMSI (Stochastic Min Max Stream Indicator)
Which allows to retrieve the data that corresponds to the dots (Dot).
See IMG_table

And another indicator that I called SMMSO (Stochastic Min Max Stream Oscillator)
Which displays the following indications:

1. a GREEN bar with the value -1 to place a BUY
2. a RED bar with the value +1 to place a SELL
And below I placed the same oscillator by selecting the Dot to show you. Everything coincides.

To check and extract this information, simply click on the "Table" graphic mode instead of "Candlestick", right-click to copy everything and paste it into a simple Excel sheet or other.
Have a good day everyone :)!
Attachments
GER30_m15.png
GER30_m15_table.png
SMMSI.bin
(1.78 KiB) Downloaded 67 times
SMMSO.bin
(1.94 KiB) Downloaded 60 times
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Re: Stochastic Min Max

Postby Gilles » Thu Jan 26, 2023 8:34 am

Apprentice,
I sent you my two files with images and explanations this morning (in France).
The version you propose does not take into account the TrendFilter, which generates false signals.
However, we can recover and use the flow even if it is still incorrect.
The next version will be correct, I am sure, knowing the quality of the work done here every day.
Courage... :)
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 66 guests