Multi Timeframe Indicators - page 175

Isaac
192
Isaac  

anyone can code MTF for T3MA below?

Files:
t3ma.mq4 5 kb
hiachiever
61
hiachiever  

T3MA MTF Version

amenlo9:
anyone can code MTF for T3MA below?

Hi amenlo9,

Attached is a MTF version of the T3MA Indicator.

For simplicity I have kept all the code in one indicator. That is you can display the current TF or any Higher TF using the 1 indicator. If you want to show multiple indicators please ensure you use the unqiue number.

All the best,

Hiachiever

Files:
t3ma-mtf.gif 27 kb
t3ma-mtf.mq4 8 kb
Isaac
192
Isaac  

thanks for your efforts.very useful

fxbs
3203
fxbs  
hiachiever:
Hi amenlo9,

Attached is a MTF version of the T3MA Indicator.

For simplicity I have kept all the code in one indicator. That is you can display the current TF or any Higher TF using the 1 indicator. If you want to show multiple indicators please ensure you use the unqiue number.

All the best,

Hiachiever

nice, Hiachiever, a bit different approach

you might also consider:

limit=Bars-counted_bars;

limit=MathMax(limit,TimeFrame/Period());

limit=MathMin(limit,MaxBars);

fxbs
3203
fxbs  

20s_Indicator_ts_mtf.mq4 TraderSeven

don't know system it was used - probably not alone and signals must have been filtered, but

anyway, that what indi does & shows:

1. Main Mode (InsideBarMode=false)

If previous bar opens in the lower 20% of its range and closes in the upper 20% of its range then sell on previous high+10pips.

If previous bar opens in the upper 20% of its range and closes in the lower 20% of its range then buy on previous low-10pips.

2. InsideBarMode

// The previous bar is an inside bar that has a smaller range than the 3 bars before it.

// If todays bar opens in the lower 20% of yesterdays range then buy.

// If todays bar opens in the upper 20% of yesterdays range then sell.

fxbs
3203
fxbs  

KLines updated... KLinesM.mq4 - post1728.

https://www.mql5.com/en/forum/173574/page116

hiachiever
61
hiachiever  
fxbs:
nice, Hiachiever, a bit different approach

you might also consider:

limit=Bars-counted_bars;

limit=MathMax(limit,TimeFrame/Period());

limit=MathMin(limit,MaxBars);

Thanks FXBS, I appreciate the pointer.

I have only started coding in MQ4 since Jan this year.

It was one of my news years resolution to learn to code MQ4 this year. So far so good.

As I am still on a big learning curve, any pointers are greatly aprpeciated.

Cheers,

Hiachiever.

Isaac
192
Isaac  
hiachiever:
Thanks FXBS, I appreciate the pointer.

I have only started coding in MQ4 since Jan this year.

It was one of my news years resolution to learn to code MQ4 this year. So far so good.

As I am still on a big learning curve, any pointers are greatly aprpeciated.

Cheers,

Hiachiever.

so is there any improvement or effect if code above being added?

hiachiever
61
hiachiever  
amenlo9:
so is there any improvement or effect if code above being added?

With out testing I would say it is a case of 6 of one, half dozone of the other. That is both are the same, but just a different way of creating the solution.

Hiachiever

fxbs
3203
fxbs  

helps to prevent possible problems on TF(period) switch