Forex Factory (
-   Platform Tech (
-   -   Converting LRC indicator to a Multi Time Frame Indicator (

stroker70 Jun 5, 2012 12:07pm | Post# 1

Converting LRC indicator to a Multi Time Frame Indicator
Wondering if someone could make this into a MTF indicator?
ie: Daily channel on 4 hr chart.

stroker70 Jun 6, 2012 7:23am | Post# 2


Shabs19 Jun 6, 2012 7:41am | Post# 3

Just an idea, you want this to show you the past 100 days on a 4 hour chart.

Change the inputs settings to:

Start Bars from : 600
Use Time starter : false
Auto Starter : false

6 x 4 hour bars in a day, so 600 start bars.

or set the start date to about 5 months back (100 trading days) and Use timer to true

stroker70 Jun 6, 2012 8:36am | Post# 4

Thanks for the idea, will give it a try

stevegee58 Jun 6, 2012 11:17am | Post# 5

Posting decompiled code is considered tacky.

stroker70 Jun 6, 2012 12:17pm | Post# 6

Didnt know I had a decompiled version, I am one of the few that do not know anything about coding, so dont assume everyone does.
And to be really tacky I removed the indy

Shabs19 Jun 6, 2012 1:34pm | Post# 7

You can post the ex4 file, this is a compiled file but you cannot see the code.
However if you want a programmer to adjust anything with the indicator, then he can't do it without the mq4 file (decompiled file).
Issue here is of piracy, copying & renaming indicator to sell it on.

FiatFap Sep 8, 2012 2:10pm | Post# 8

1 Attachment(s)
I changed the original LRC code at the mql codebase, to do exactly as you request.

EURUSD monthly chart below, automatically draws the LRC's for each timeframe (purple = monthly, blue = weekly and yellow = daily). You can change the number of candles it uses by changing the relevant array element:

Daily Weekly Monthly
int TFArray[] = {1440, 10080, 43200};
int TFbarCount[] = {30, 52, 48};

MTF LRC's - EURUSD monthly


© Forex Factory