Download MetaTrader 5

Indicators: Higher TimeFrame Trend Indicator

To add comments, please log in or register
Find out how social trading can improve your profits
MetaQuotes Software Corp.
Moderator
181085
MetaQuotes Software Corp. 2010.03.26 14:11 

Higher TimeFrame Trend Indicator:

This indicator displays on the current (lower) timeframe the overall trend on a higher timeframe. It also displays & alerts RSI overbought oversold conditions.

Author: Desmond ORegan

MQL4 Comments
16319
MQL4 Comments 2010.03.30 19:09  
my dear, i like your robot's idea but it is not working
Desmond ORegan
19
Desmond ORegan 2010.04.02 15:34  
ekposky:
my dear, i like your robot's idea but it is not working

Hi,

Maybe cos it aint a robot!! Assuming you knew that, I'll need more info - error messages in expert log and such. Works perfectly for me.

(Note: The wider the gap between the current chart and the higher timeframe chart the more bars have to be in the chart to get correct moving average values. EX. a 10MA on a 4hr chart is equivalent to a 160MA on a 15min chart i.e. 10*(240/15); a 10MA on a Daily chart is equivalent to a 14400MA on a 1min chart!! )
MQL4 Comments
16319
MQL4 Comments 2011.11.09 00:06  

Hi,

I don't know if this thread is still active but just looked at the code for the trend indicator and you seem to be working out the timeframe for the current chart...

double MA_1 = iMA(Symbol(),0,(Upper_Timeframe_MA_1*MA_Factor),0,MODE_EMA,PRICE_CLOSE,i);

the 0 in the iMA function takes the current chart timeframe, unless I have got that all wrong... which is a real possibility lol

Regards

Jesse

To add comments, please log in or register