Various - page 34

 
mladen:
From that same post updated this indicator too (for same reasons) : volty_channel_stop_on_jurik-for_ea.mq4

the ea can not be loaded.

 
dasssi:
the ea can not be loaded.

dasssi

Try it out now (its should use the updated indicators - that is why I did not change the names of those indicators to "nmc") : adaptive_gann_high_low_ea-1_nmc.mq4

 

Hi Derfel,

Posting your Ea's here made 2, the first just trades on trend change the other is more like you wanted i think, both Ea's use volty stop on jurik for trailing if wanted and really couldn't test them properly because not enough juice in my laptop. Oh yeah made a Gann indicator for the Ea, its the same principle but without all the bells and whistles that are not used or needed in an Ea.

ps) those who downloaded the first Ea please redownload it again had posted the wrong version that calls an non existant buffer.

Updated version posted here : https://www.mql5.com/en/forum/180002

 

This version (from this post : https://www.mql5.com/en/forum/180002/page11 ) updated too : adaptive_gann_high_low_ea-2_nmc.mq4

Error handlig is set to work correctly also (according to the new rules of GetLastError() function)

 
derfel:
Dear mrtools,

wow, you are fast. Thank you very much for your work.

Had a quick look at it and - sorry, think, I didn't express myself clearly enough. Please pardon my simple explanation:

The EA should be: 2 Gann Hig-Low on 1 chart. For example: Gann1 = 15min + Gann2 = 240min.

But each of the Gann should have the possibility to work with it`s own settings.

Buy/sell order: as soon as both, Gann2 and Gann1, are the same color. If one Gann (no matter wich one) changes color than close.

I hope this makes sense. (No need for MM, TS, TP... at this stage)

Thank you for your support

derfel

Derfel,

Please try this version about the MM, TS, TP its part of the Ea and you can turn it off are on as you wish.

PS. sorry, I'm not able to manage upload pic's.

Please try this version about the MM, TS, TP its part of the Ea and you can turn it off are on as you wish.Best way for me to explain is use the code!

double gann1 = iCustom(NULL,longerganntf,"adaptive Gann Hi-Lo activator jma HA arrows-for ea",Phase,mode,price,smooth,SmootherDouble,0,shift);

double gann2 = iCustom(NULL,longerganntf,"adaptive Gann Hi-Lo activator jma HA arrows-for ea",Phase,mode,price,smooth,SmootherDouble,0,shift+1);

double gann3 = iCustom(NULL,shorterganntf1,"adaptive Gann Hi-Lo activator jma HA arrows-for ea",Phase1,mode1,price1,smooth1,SmootherDouble1,0,shift);

if (gann1 > Close[shift] && gann2 Close[shift]) return(__trendUp);

if (gann1 = Close[shift+1] && gann3 < Close[shift]) return(__trendDown);

return(__trendNeutral);

So for example for a buy would make shorterganntf in your external parameters, 15 and when the change of color for longerganntf (your second Gann)say you make it 240, the Ea should open a trade and vise versa for sell except of course the time frames remain the same. All your controls for the Ea are separated between the 2 Ganns. My thinking is that price will cross the shorter time frame first then should still be in the same state as it crosses the longer time frame, then it will open a trade. Please test this if this is what you want then will work on the close on color change, so for now if you have Close on trend change = true then Ea should close when the above conditions are reversed.

Updated version posted here : https://www.mql5.com/en/forum/180002

 

Slightly updated Fast Fourier transform : fft_of_price_1_nmc.mq4

Original (with detailed description) was posted here : https://www.mql5.com/en/forum/180002/page11

Files:
 

Updated version of fast Fourier transform that uses arbitrary order regression for detrending : fft_amp_regression_nmc.mq4

It was posted (with the detailed description) first time here : https://www.mql5.com/en/forum/180002/page11

 

A continuation of the previous post ...


PPS: made some changes in the code in order to avoid cases like this (that are happening due to frequencies filtering method) Now it looks like on the lower example

Updated version posted here : https://www.mql5.com/en/forum/180002

 
mladen:
dasssi Try it out now (its should use the updated indicators - that is why I did not change the names of those indicators to "nmc") : adaptive_gann_high_low_ea-1_nmc.mq4

Hi Mladen, this one is not opening any trades at all, is that possible?

 
Gfuchs:
Hi Mladen, this one is not opening any trades at all, is that possible?

As far as I see from the code it needs ""adaptive Gann Hi-Lo activator jma HA arrows-for ea" to work