Multi Timeframe Indicators - page 139

 
fxbs:
sure i know your is different - that's cool; and i see 4 working on MFI Bars you came back to TRO(xMeter) approach (blocks) - is one more convenient 4 modifications, debugging,etc. ) or it's just matter of habit? not much playing with the objects, that's why i'm asking...

First, I am new to MT4 so I don't know all the tricks, tips and traps.

But since iMT4 is compiled code, I don't think you can pass functions as input parameters. In TradeStation, I can pass functions as parameters so I can write input driven code which give the user ultimate control.

So the building blocks approach is the next best thing. Rather than have all the code in one indicator, you have small, flexible indicators that can be loaded repeatedly. Then after you figure out exactly what you want, you can combine the code.

I wrote an ma indicator in the meter format that had a fast, medium and slow ma. But now, I wrote a single ma indicator that can be loaded multiple time. One person may want just 1 ma, another 3 and another 8. No need for me or anyone else to rewrite code.

You mentioned objects... I still have to learn objects.

 

MTF ZigZag Pointer

hi

Anyone know of a MTF ZIgZag Pointer - ideally with the one that leaves the original arrow behind

Thanks

 

Stochastic_Color_v1.02classicB.mq4 Mladen's Stoch. Mod

extern int KPeriod = 14;

extern int Slowing = 3;

extern int DPeriod = 3;

extern int MAMethod = 2;

extern int PriceField = 0;

extern int overBought = 80;

extern int overSold = 20;

extern string timeFrame = "Current TF";

extern string note_timeFrames = "M1;5,15,30,60\H1;H4;D1;W1;MN||0-CurrentTF";

extern bool showBars = false; // Bars as Sidebar(overlay) - drop in any sep.window

extern int BarsLevel = 5; //BarsLevel 0-100

extern int BarsSize = 2; //0-5

extern bool showArrows = true;

extern color ArrowUpClr = LimeGreen;

extern color ArrowDnClr = Red;

extern int ArrowSize = 1;

extern bool alertsOn = false;

extern bool alertsMessage = true;

extern bool alertsSound = false;

extern bool alertsEmail = false;

------------------------

+ Unic#generator (thanks Mladen)

string MakeUniqueName(string first, string rest)

{

string result = first+(MathRand()%1001)+rest;

while (WindowFind(result)>= 0)

result = first+(MathRand()%1001)+rest;

return(result);

}

Happy New Year!

 

Latest updates to the TRO MULTI METERS.

Thanks to a couple of fellow codes, I got the object delete problem solved.

Files:
 

Thx TheRumpledOne!!

Can you make SAR version too...

I got objectDelete problem

if use my SAR, my other MTF block will disappear suddenly ..

Files:
 

Here you go!

Now, make sure you use the latest TRO_MULTI_METER_BLOCK because the earlier ones had object bugs... I didn't know how to clear the objects.

Also, make sure you change XYZ to something unique so your meters don't step on each other. And remember to change the UP_DN input so they don't step on each other.

When you have flexibility, you have to keep things straight.
 
One other thing, PLEASE CHANGE THE NAME OF THE DISK FILE!!

Don't call you indicators _TRO_xxxxxxxx when you send them to me.

You can call them $_TRO_ or #_TRO_, just not _TRO_!

I don't want to step on my files.

Thanks.
 

Been racking my brain trying to get _TRO_MULTI_METER_SR working.

Would be nice to have support/resistance.

I have attached the code but it's not working.

Perhaps one of you pros can fix it.

I bet it is something simple that I just can't see.

Thanks.

 

Please remove text info from indicator

Could someone remove the text information from showing on this indicator , or option to turn it off . Or if some one good quide me on how to do it

Thank you

Files:
 

ShowComment = true/false;

MTF_AvgRangeX ind. works with AvgRangeX - exact file name

Files:
Reason: