![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
thanks for your efforts.very useful
![](https://c.mql5.com/forextsd/smiles/teeth_smile.png)
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,
Hiachievernice, Hiachiever, a bit different approach
you might also consider:
limit=Bars-counted_bars;
limit=MathMax(limit,TimeFrame/Period());
limit=MathMin(limit,MaxBars);
Kalenzo's k-lines: Highest Close Lowest Close, mtf MQL site
what system uses Highest/LClose?
p.s. Don't know why they been clearing-up all the other Objects from the chart
but well ... KLinesM.mq4 - mod. 4 "normal" (regular) use
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.
KLines updated... KLinesM.mq4 - post1728.
https://www.mql5.com/en/forum/173574/page116
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.
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?
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
Force Index_v1M2LA_mtf.mq4
can be used with
Panca Eagle Break Out System
https://www.mql5.com/en/forum
helps to prevent possible problems on TF(period) switch