Page 4 of 4

Re: Stochastic Min Max

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

Re: Stochastic Min Max

PostPosted: Tue Jan 24, 2023 7:54 am
by Gilles
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 :) !

Re: Stochastic Min Max

PostPosted: Tue Jan 24, 2023 8:19 am
by Apprentice
Sure.
Stochastic Min Max Signal Oscillator has separate min and max streams.
https://fxcodebase.com/code/viewtopic.php?f=17&t=64558

Re: Stochastic Min Max

PostPosted: Tue Jan 24, 2023 9:29 am
by Gilles
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 :) !

Re: Stochastic Min Max

PostPosted: Thu Jan 26, 2023 6:02 am
by Apprentice
Try it now.

Re: Stochastic Min Max

PostPosted: Thu Jan 26, 2023 6:05 am
by Gilles
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 :)!

Re: Stochastic Min Max

PostPosted: Thu Jan 26, 2023 8:34 am
by Gilles
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... :)