Requests & Ideas - page 267

blueeagle
948
blueeagle  
mladen:
Paul Here is a version that will take signals from HiLow jurik smooth histo. Signals are, by default, taken on a closed bar. To change that (to take signals on an opened bar) if you wish it set the GannBarToCheck to 1

Hi mladen,

Thanks much for your efforts. But it's not exactly what I mean.

The EA "Adaptive Gann High Low Ea" uses indicator "Adaptive Gann Hi-Lo activator jma HA arrows-for ea". I don't want to change that. However, I want to add as a filter "HiLow channel-Jurik smooth-mtf histo advanced" so that the EA will only execute buys when histo indicator is green and vice versa. Attached are two screenshots.

Sorry if my explanation is not very clear.

Thanks much.

Mladen Rakic
163388
Mladen Rakic  
tamaraofx:
Hi mladen,

Thanks much for your efforts. But it's not exactly what I mean.

The EA "Adaptive Gann High Low Ea" uses indicator "Adaptive Gann Hi-Lo activator jma HA arrows-for ea". I don't want to change that. However, I want to add as a filter "HiLow channel-Jurik smooth-mtf histo advanced" so that the EA will only execute buys when histo indicator is green and vice versa. Attached are two screenshots.

Sorry if my explanation is not very clear.

Thanks much.

Paul

Here you go. HiLow - Jurik smooth histo added as an additional filter the way you described it

blueeagle
948
blueeagle  
mladen:
Paul Here you go. HiLow - Jurik smooth histo added as an additional filter the way you described it

Hi mladen,

Thank you very much.

Can I make additional minor improvement? Kindly add "exit position" script to close open trade on histo color change. Sample screen attached.

I greatly appreciate your efforts.

Thanks a lot....

Paul

blueeagle
948
blueeagle  

Hi mladen,

Can you please add the below to XO ea? These are similar to Adaptive Gann HiLow ea.

CloseOnTrendChange

AllowTradeOnEverySignal

AllowMultipleTradeOnBar

AllowOnlyOneActiveTrade

Thank you very much -in advance.

Paul

Files:
xo_ea.mq4 15 kb
poohguo
231
poohguo  

Hi Mladen,

Can you please create a MTF moving average histogram indicator that works this way (let me illustrate using M15 and H4):

1) Plot H4 moving average histogram below chart of M15

2) The histogram bars have equal heights. I don’t need the indicator to show moving average values.

3) When H4 close is above the moving average, the histogram bar turns green

4) When H4 close is below the moving average, the histogram bar turns red

The existing MTF moving average indicators I can find only display line charts/histogram of moving averages values. They don’t show how the MTF price compare to the moving average, like in this case show how H4 close compares to the H4 moving average and display that information below a M15 chart.

Thank you in advance,

pooh

Mladen Rakic
163388
Mladen Rakic  
pooh123:
Hi Mladen,

Can you please create a MTF moving average histogram indicator that works this way (let me illustrate using M15 and H4):

1) Plot H4 moving average histogram below chart of M15

2) The histogram bars have equal heights. I don’t need the indicator to show moving average values.

3) When H4 close is above the moving average, the histogram bar turns green

4) When H4 close is below the moving average, the histogram bar turns red

The existing MTF moving average indicators I can find only display line charts/histogram of moving averages values. They don’t show how the MTF price compare to the moving average, like in this case show how H4 close compares to the H4 moving average and display that information below a M15 chart.

Thank you in advance,

pooh

pooh

Try this one out. You can chose parameters for average, price and time frame you wish to see (it is a multi time frame indicator)

poohguo
231
poohguo  
mladen:
pooh Try this one out. You can chose parameters for average, price and time frame you wish to see (it is a multi time frame indicator)

Hi Mladen,

This is exactly what I want. Thank you so much !

pooh

Mladen Rakic
163388
Mladen Rakic  

pooh

Here is this version too : it can compare price to one of the 20 types of averages (just in case )

Mladen Rakic
163388
Mladen Rakic  
mladen:
Well

These are what Odysseus and me were cooking

According to Dennis Meyers description (Posted by Odysseus at this post : https://www.mql5.com/en/forum/179807/page34 ) of Repeated median calculation made 2 new indicators : Repeated median slope (which would correspond to Meyers' velocity indicator, but I preferred the slope n the name since it tells more exactly what it actually is), and a Repeated median line

Will describe them in reverse order (the slope is the basis for both, but I think better to describe the line first

__________________________

The Repeated median line can be treated as an alternative to Linear regression line (and Meyers is showing a comparison of the 2 in the document that can be downloaded from Odysseus' post) The repeated median line should be less sensitive to "bad data" and hence should reflect the price better. Here is a comparison of linear regression line (dotted lines) and Repeated median line (violet line)

There is a rather good description of why the difference happen and what is "omitted" (the so called "bad data") when applying repeated median calculation. What is added is one option that Dennis Meyers did not talk about : when drawing the line he uses current price as the starting point. I felt that it is misleading in some cases and decided to add an option which allows you to "anchor" the beginning of the line somewhere else. That way you can get something like this and that way the line is not moving with the current price as it changes but is anchored to a price that was valid on the "anchor" bar (so it is fixed until a new bar is opened)

__________________________

Repeated median slope can be treated as an equivalent for linear regression slope but you will find out that it is a "beast of it's own". Here is an example of a 20 bar repeated median slope on a 1 hour chart

Dennis Meyers describes a system where he uses the slope values from 0.02 to 0.4 and -0.2 to -0.4 as entries : that system can work only on some symbols (JPY crosses mostly) since the slope values for other symbols are much smaller so I think that the entries should be cheeked for around 0 value, but the system description is showing us something else to : we should treat each and every symbol as a "separate story" and no general rule should be applied to any system

__________________________

What is still pending (will be finished very soon) : right now I am making a dll for the slope version. If you use large Length in slope calculation you will find out that it is a rather slow calculation for large values and that will be corrected by dll, but did not want to make some "secrets" so the mql code shows exactly what is done and how the calculation is done

Found that someone is "sharing" this and claiming that the results are not the same as shown on the picture at the original post. Now, one thing is "sharing". Another thing is lying. Here is that same example and how it looks today. As it is obvious the results are exactly the same. So much about the truth and "truth"

Happy new year, yaroslavik

Files:
rml.gif 30 kb
poohguo
231
poohguo  

Hi Mladen,

Happy New Year !

Here's a new request (I didn't give you much break recently). Can you please create an indicator that works this way

For a bar-

1) If a tick price is higher than the previous tick price, we call it an Up Tick. If a tick price is lower than the previous tick price, we call it a Down Tick. We call the price difference between any two adjacent Up Ticks “ Up Tick Difference”; We call the price difference between any two adjacent Down Ticks “Down Tick Difference”.

Sum up the absolute value of all Up Tick Differences for the bar and we call it Up Tick Difference Total; sum up the absolute value of all Down Tick Differences for the bar and we call it Down Tick Difference Total.

2) Divide the Up Tick Difference Total by number of Up Ticks of the bar ; divide the Down Tick Difference Total by number of Down Ticks of the bar. The two values we get from the divisions become the outputs of the indicator.

Thank you in advance,

pooh