I've tried that. Unfortunately, it doesn't work. BTW, glad you like the indicators.
Great. Thank you.
I tried to make one for Stochastic, but I couldn't make it work
If some charitable soul can make it, I would be grateful
Download MTF Set 2 from the first post in this thread. I put stochastic in there.
Thanks Keris. Really appreciate it.
Any know how ?
Any know where to change in the code so it can be posible use this function on a movingaverage ------ extern string Currency = "NULL";-------- ..
I have tryed to figure where to write rest of code but couldnt.. Newdigital di it somewhile ago with macd.. https://c.mql5.com/forextsd/forum/2/macd_gbp_on_jpy_h1.gif ...
It is my idea to use keris MTF movingaverage for correlation analysis im just wondering how it will look like
Can anyone please help with the different codes for sma, ema, lwma?
Thanks in advance.
input data in option box
You must use the numeric value of the timeframe that you want to use
when you set the TimeFrame' value with the indicator inputs.
PRICE_CLOSE 0 Close price.
PRICE_OPEN 1 Open price.
PRICE_HIGH 2 High price.
PRICE_LOW 3 Low price.
PRICE_MEDIAN 4 Median price, (high+low)/2.
PRICE_TYPICAL 5 Typical price, (high+low+close)/3.
PRICE_WEIGHTED 6 Weighted close price, (high+low+close+close)/4.
You must use the numeric value of the Applied Price that you want to use
when you set the 'applied_price' value with the indicator inputs.
MODE_SMA 0 Simple moving average,
MODE_EMA 1 Exponential moving average,
MODE_SMMA 2 Smoothed moving average,
MODE_LWMA 3 Linear weighted moving average.
You must use the numeric value of the MA Method that you want to use
when you set the 'ma_method' value with the indicator inputs.
Thanks a million Sailor - you are a star!!!
Try this: #MTF_MovingAverage Correlation
It will plot 2 moving averages, 1 for the current symbol and 1 for whatever symbol you enter. You can still set TimeFrame for whatever you want.
There are 2 new Inputs:
The MA value for the correlated currency is, by necessity, not correct. (The price for the correlated currency is usually too different than the base currency. You wouldn't be able to see it on the chart, so it is "normalized" to fit.) But, the "look" of the MA is correct, so you should be able to make a good correlation comparison.
I hope this is what you want. Let me know if you find anything wrong with it or you'd like something else.
I've attached 2 pics to show what it looks like. The pics show the following:
EURUSD H4 Chart
SMA(13) - D1 TimeFrame
SMA(13) - D1 TimeFrame for USDCHF
SMA(5) - D1 TimeFrame
SMA(5) - D1 TimeFrame for GBPUSD