Moving Average - page 29

 

I think I have most of those, I was just looking to see if the ma itself could be replaced and instead represented by a horizontal line at its current value...sort of a moving horizontal support and resistance line. It doesnt need to paint the history like the normal ma just display it current value in the form of a line.

 

Nobody wanna mess with Bob? (let me guess: he's gonna ask put Fibos all over it...)

simple MA HrzLine 4 tests - if everything ok, we can put it on Igorad's new AllMAs v2

something like this?:

TimeFrame=0;

MAPeriod=21;

ma_shift=0;

ma_method=1;

applied_price=0;

DrawMALine=true;

DrawHrzLine=true;

HrzLineColor=DodgerBlue;

HrzLineStyle=2;

HrzLineWidth=1;

HrzLineOnBar=0; // bar#(from the right); 0-current(open) bar

HrzLineOnBackground=true;

note_Price = "0C 1O 2H 3L 4Md 5Tp 6WghC: Md(HL/2)4,Tp(HLC/3)5,Wgh(HLCC/4)6";

_MA_Method = "SMA0 EMA1 SMMA2 LWMA3";

TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN";

 

Igorad, thank you 4 vAllAverages_v2.1. and all stockings v2 (https://www.mql5.com/en/forum/177239/page7) - great job - appreciate a lot

 
fxbs:
Nobody wanna mess with Bob? (let me guess: he's gonna ask put Fibos all over it...)

simple MA HrzLine 4 tests - if everything ok, we can put it on Igorad's new AllMAs v2

something like this?:

TimeFrame=0;

MAPeriod=21;

ma_shift=0;

ma_method=1;

applied_price=0;

DrawMALine=true;

DrawHrzLine=true;

HrzLineColor=DodgerBlue;

HrzLineStyle=2;

HrzLineWidth=1;

HrzLineOnBar=0; // bar#(from the right); 0-current(open) bar

HrzLineOnBackground=true;

note_Price = "0C 1O 2H 3L 4Md 5Tp 6WghC: Md(HL/2)4,Tp(HLC/3)5,Wgh(HLCC/4)6";

_MA_Method = "SMA0 EMA1 SMMA2 LWMA3";

TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN";

Sweet...Just what I was looking for, alot of adjustability and can blank tha actual MA color out so all thats there is the horizontal representation of its current location. Nice Job FXBS. Thank you Sir !!

 
Bobokus:
Sweet...Just what I was looking for, alot of adjustability and can blank tha actual MA color out so all thats there is the horizontal representation of its current location. Nice Job FXBS. Thank you Sir !!

Simple idea but it great!!!

Thanks to FXBS..love u muahhhh lol

 

Fxbs..can u do to Envelope indicator also just like what have u done to moving average?

 
Bobokus:
Sweet...Just what I was looking for, alot of adjustability and can blank tha actual MA color out so all thats there is the horizontal representation of its current location. Nice Job FXBS. Thank you Sir !!

My pleasure, Bobokus - good luck with your research

dunno, why everybody afraid of you so much

and please, more videos ...

 
darkkiller:
Fxbs..can u do to Envelope indicator also just like what have u done to moving average?

what for? - what you gonna do with it?

 
fxbs:
what for? - what you gonna do with it?

see picture below,i also using envelope to know good support and resistance

Coz horizontal line for moving average is simple idea,but great!

Files:
gbpjpyh1.pdf  35 kb
rangeset.gif  25 kb
 
igorad:
Hi,

I've finished new version of AllAverages_v2.1.

In this version I've used new MTF technique without calls of iCustom function.

So it's maybe interesting for other coders.

New list of MAs:

MA_Method= 0: SMA - Simple Moving Average

MA_Method= 1: EMA - Exponential Moving Average

MA_Method= 2: Wilder - Wilder Exponential Moving Average

MA_Method= 3: LWMA - Linear Weighted Moving Average

MA_Method= 4: SineWMA - Sine Weighted Moving Average

MA_Method= 5: TriMA - Triangular Moving Average

MA_Method= 6: LSMA - Least Square Moving Average (or EndPoint MA, Linear Regression Line, Modified MA)

MA_Method= 7: SMMA - Smoothed Moving Average

MA_Method= 8: HMA - Hull Moving Average by Alan Hull

MA_Method= 9: ZeroLagEMA - Zero-Lag Exponential Moving Average

MA_Method=10: DEMA - Double Exponential Moving Average by Patrick Mulloy

MA_Method=11: T3 - T3 by T.Tillson

MA_Method=12: ITrend - Instantaneous Trendline by J.Ehlers

MA_Method=13: Median - Median

MA_Method=14: GeoMean - Geometric Mean

MA_Method=15: REMA - Regularized EMA by Chris Satchwell

MA_Method=16: ILRS - Integral of Linear Regression Slope

MA_Method=17: IE/2 - Combination of LSMA and ILRS

As you can see I've excluded MMA from the list because it's similar to LSMA or Linear Regression Line.

Regards,

Igor

Need I say more?