Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (228) Thread Tools Display Modes
  #1851 (permalink)  
Old 03-04-2008, 06:59 AM
Senior Member
 
Join Date: Nov 2006
Posts: 340
ahmedazizelias is on a distinguished road
Quote:
Originally Posted by newmont View Post
I have had a look through my indicators and come across something similar. The file that you needed is the CustomInd1 file that references the code line of- string CustomInd1 = "_linreg" ; , i have included this indicator which is basicly a simple linear reg indicator that i think TRO has modified somewhat to fit his indicator settings,and also the _TRO_Multi_Meter_LR indicator that i modified to accept the iCustom _linreg indicator. I think that there was an error in the Typing of this indicator as the one I found had "Lower Case" letters and no "Upper case" as the original one had, all the best and let me know if you have any more problems with it...
thank you very very very much..that was real fast and real helpfull.
i just attach it (both indicators)and try it,BUT {_TRO_Multi_Meter_LR indicator }does not change colors!!and ..{_linreg}does work and following the actions.......what is the wrong i do ?

Last edited by ahmedazizelias; 03-04-2008 at 07:00 AM. Reason: correcting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1852 (permalink)  
Old 03-04-2008, 07:04 AM
Member
 
Join Date: Apr 2007
Posts: 86
newmont is on a distinguished road
Re Lin reg

I suggest that you first delete your original _TRO_Multi_Meter_LR indicator and replace it with the one that i have posted and make sure that the _linreg indicator is in the indicators folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1853 (permalink)  
Old 03-04-2008, 07:54 AM
Senior Member
 
Join Date: Nov 2006
Posts: 340
ahmedazizelias is on a distinguished road
Quote:
Originally Posted by newmont View Post
I suggest that you first delete your original _TRO_Multi_Meter_LR indicator and replace it with the one that i have posted and make sure that the _linreg indicator is in the indicators folder.
yes yes..it works now..it just worked after i did what you said..thank you very much..
may i ask you this one too?
How can i change the period in your (TRO_Multi_Meter_LR )?do i have to attach ( _linreg )and change the period in it to automatically change TRO_Multi_Meter_LR ?..in fact i am thinking to attach two of (_linreg ) with two different period and use the cross between them and i wish to have such option in (TRO_Multi_Meter_LR ) to show up this cross..for example eriod 3 and period 9 (it is doing well in GBPJPY 15m as time frame)...
AND i got another problems :
1.when i attach this indicator (_linreg ) and repair the thikness of the line from (0) to be (2),and then when i change the time frame i see it go back to (1) width !!..actully that also happening in many indicators with lines based!!..is there any idea how to make it fixed and i do not have to re-change the properities each time i open my terminal??
2.is it possible to have the option i mentioned above (CROSSES MATTERS) to be either having the crosses points colors in the different TF's ,OR\AND have the original color for each period as it is !!

thank you for your previous help ..it was very helpfull after i got lost..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1854 (permalink)  
Old 03-04-2008, 08:25 AM
Member
 
Join Date: Apr 2007
Posts: 86
newmont is on a distinguished road
Re Lin reg

I am glad you got it working, i have had a look at the TRO_Multi_Meter_LinReg indicator and have added the period so you can specify what period you want to use, as to changing the value in the _linreg indicator it seems that the value is only referenced from the main TRO indicator so this is all you need to change. As to your other question regarding the lines and sizes changing, the only way to fix the values you desire is to go into the .mq4 source file and find the values and modify them yourself to what you want them to be, you then "compile" the indicator by clicking the left mouse button and clicking "compile" and save the file. This should save the values you want to use.... Give it a try and see how you go.
Attached Files
File Type: mq4 TRO_Multi_Meter_LinReg#Pr.mq4 (14.5 KB, 90 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1855 (permalink)  
Old 03-04-2008, 08:40 AM
Senior Member
 
Join Date: Nov 2006
Posts: 340
ahmedazizelias is on a distinguished road
Quote:
Originally Posted by newmont View Post
I am glad you got it working, i have had a look at the TRO_Multi_Meter_LinReg indicator and have added the period so you can specify what period you want to use, as to changing the value in the _linreg indicator it seems that the value is only referenced from the main TRO indicator so this is all you need to change. As to your other question regarding the lines and sizes changing, the only way to fix the values you desire is to go into the .mq4 source file and find the values and modify them yourself to what you want them to be, you then "compile" the indicator by clicking the left mouse button and clicking "compile" and save the file. This should save the values you want to use.... Give it a try and see how you go.
Tell me how can i thank you?..NO WORDS LESS THAN "THANK YOU VERY MUCH NEWMONT "..that was very great piece of work and very great help..
i will download it and start to use it.
Thank you again and again

Last edited by ahmedazizelias; 03-04-2008 at 08:44 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1856 (permalink)  
Old 03-04-2008, 08:54 AM
Senior Member
 
Join Date: Nov 2006
Posts: 340
ahmedazizelias is on a distinguished road
Quote:
Originally Posted by ahmedazizelias View Post
Tell me how can i thank you?..NO WORDS LESS THAN "THANK YOU VERY MUCH NEWMONT "..that was very great piece of work and very great help..
i will download it and start to use it.
Thank you again and again
opppsss..now i just attached the new version..and tried to attach TWO times..first with period 9 and the second with period 3..i found that it show the same colors exactly..and then i tries to rais 9 to 17 ,i found one of them disapeared and to make it back to be shown i open my indicator list (where is my attached indicators to my chart) and re-click on the one which disapeared and close it again so,it comes back to my screen !!
and the mean problem as i old you is :when i attach two copies,it shows the same colors!!...what is my wrong action here?
Thank you for your patience and ur help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1857 (permalink)  
Old 03-04-2008, 10:21 AM
Member
 
Join Date: Apr 2007
Posts: 86
newmont is on a distinguished road
Re ind

You may have a point about this indicator, I don't like the way that the code is written for this particular version all of the other meters are fine its just this one , I will re- write the indicator and post it in the next day or so, the way it calculates the TimeFrames is different to what it could be using "best Practice". No need to post again.. I have found the Problem with this indicator, I will Post:


int myShiftA = 0 , myShiftB = 1 ;
LR_M1 = iCustom(NULL,1,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,1,CustomInd1, LRPeriod ,0, myShiftB );
LR_M5 = iCustom(NULL,5,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,5,CustomInd1, LRPeriod ,0, myShiftB );
LR_M15 = iCustom(NULL,15,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,15,CustomInd1, LRPeriod ,0, myShiftB );
LR_M30 = iCustom(NULL,30,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,30,CustomInd1, LRPeriod ,0, myShiftB );
LR_H1 = iCustom(NULL,60,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,60,CustomInd1, LRPeriod ,0, myShiftB );
LR_H4 = iCustom(NULL,240,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,240,CustomInd1, LRPeriod ,0, myShiftB );
LR_D1 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,1440,CustomInd1, LRPeriod ,0, myShiftB );

double x0 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0, myShiftB );
double x59 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0,myShiftA );

The problem being that the int myShiftA = 0 , myShiftB = 59 ; this means that period a is the current bar and period b is bar #59 which is quite a spread, no wonder you couldn't see the difference i your Ma , i have changed it to 0,1 which is comparing it to its previous period or bar. I have tested this indicator against another one i have and it is now correct.
Attached Files
File Type: mq4 TRO_Multi_Meter_LinReg#Pr1.mq4 (12.9 KB, 105 views)

Last edited by newmont; 03-04-2008 at 11:16 AM. Reason: update
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1858 (permalink)  
Old 03-04-2008, 11:36 AM
Senior Member
 
Join Date: Nov 2006
Posts: 340
ahmedazizelias is on a distinguished road
Quote:
Originally Posted by newmont View Post
You may have a point about this indicator, I don't like the way that the code is written for this particular version all of the other meters are fine its just this one , I will re- write the indicator and post it in the next day or so, the way it calculates the TimeFrames is different to what it could be using "best Practice". No need to post again.. I have found the Problem with this indicator, I will Post:


int myShiftA = 0 , myShiftB = 1 ;
LR_M1 = iCustom(NULL,1,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,1,CustomInd1, LRPeriod ,0, myShiftB );
LR_M5 = iCustom(NULL,5,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,5,CustomInd1, LRPeriod ,0, myShiftB );
LR_M15 = iCustom(NULL,15,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,15,CustomInd1, LRPeriod ,0, myShiftB );
LR_M30 = iCustom(NULL,30,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,30,CustomInd1, LRPeriod ,0, myShiftB );
LR_H1 = iCustom(NULL,60,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,60,CustomInd1, LRPeriod ,0, myShiftB );
LR_H4 = iCustom(NULL,240,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,240,CustomInd1, LRPeriod ,0, myShiftB );
LR_D1 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0,myShiftA ) - iCustom(NULL,1440,CustomInd1, LRPeriod ,0, myShiftB );

double x0 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0, myShiftB );
double x59 = iCustom(NULL,1440,CustomInd1, LRPeriod ,0,myShiftA );

The problem being that the int myShiftA = 0 , myShiftB = 59 ; this means that period a is the current bar and period b is bar #59 which is quite a spread, no wonder you couldn't see the difference i your Ma , i have changed it to 0,1 which is comparing it to its previous period or bar. I have tested this indicator against another one i have and it is now correct.
Thank you very much and i realy feel too shy because i have been giving you too much noise for this indicator..yes you are very right because when i attached it in GBPJPY (now )it was going down in all time frames but the indicators shows green(up trend) in 30m TF..which is totaly wrong..even when i attached another 3 of them with vary periods it still shows green in 30m ..i thought that i did something wrong or I HAVE TO CHANGE MY EYE GLASSES..But,now NO NEED TO VISIT CLINIC after ur last post..
thank you very much for ur time that you spent to help me out..and thank you for ur help to SAFE MY MONEY FROM DOCTORS
I WILL ATTACH UR NEW VERSION AND USE IT.
THANK YOU AGAIN
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1859 (permalink)  
Old 03-04-2008, 01:34 PM
CP6 CP6 is offline
Member
 
Join Date: Jun 2006
Posts: 87
CP6 is on a distinguished road
hi all,

sorry for repeating.

anybody help me make MTF version of stochhistogram.

thnx
Attached Files
File Type: mq4 StochHistogram.mq4 (2.6 KB, 35 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1860 (permalink)  
Old 03-04-2008, 07:58 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,735
fxbs is on a distinguished road
Quote:
Originally Posted by CP6 View Post
hi all,
sorry for repeating.
anybody help me make MTF version of stochhistogram.
thnx
sto hist mtf should be in this thread
also bb squise adwanced (mtf) has sto histo [mode=2]
http://www.forex-tsd.com/178298-post1668.html
Attached Images
File Type: gif bb sqz adv v2m3.gif (41.1 KB, 557 views)

Last edited by fxbs; 03-06-2008 at 03:56 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/1077-multi-timeframe-indicators.html
Posted By For Type Date
【MT4】MetaTrader Part8【メタトレーダー】 Post #0 Refback 08-17-2008 12:55 PM
タマホミメ: fractals.mq4 This thread Refback 08-07-2008 06:37 PM
Multi Timeframe Indicators - Page 91 - Forex Trading This thread Refback 08-02-2008 09:22 PM
MTF Stochastic 4TF Post #2168 Refback 08-02-2008 07:13 PM
韃韜 4 矮 ?? - Trading4Living 褸褊 褶 蒿襃 This thread Refback 07-23-2008 06:20 PM
Multi Timeframe Indicators - Page 117 - Forex Trading This thread Refback 07-20-2008 03:49 AM
韃韜 4 矮 ?? - Trading4Living 褸褊 褶 蒿襃 This thread Refback 07-13-2008 04:55 PM
韃韜 4 矮 ?? - Trading4Living 褸褊 褶 蒿襃 This thread Refback 07-13-2008 04:12 PM
ネ蒻瑣 フメ 4 - メ襄顆褥韜 瑙琿韈 Forex This thread Refback 07-12-2008 08:08 AM
ネ蒻瑣 フメ 4 - メ襄顆褥韜 瑙琿韈 Forex This thread Refback 07-12-2008 05:41 AM
Weekly_HILO. - MQL4 莉」遐∝渕蝨ー Post #2066 Refback 07-10-2008 08:39 PM
Multi Timeframe Indicators - Page 62 - Forex Trading This thread Refback 07-05-2008 10:25 PM
■テクニカルについて語ろう■part2 This thread Refback 07-05-2008 11:05 AM
BZ_TL_SkylineM - MQL4 Code Base Post #1684 Refback 07-05-2008 07:12 AM
MTF BB-Squeeze - MQL4 Code Base Post #1870 Refback 07-03-2008 03:32 AM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-25-2008 05:45 AM
。レウヨホ・・ケ・。ロMetaTraderス鯀エシヤタヘム」ウ。レ、讀ネ、タヘム。ロ - MetaTrader、゙、ネ、畍iki Post #1124 Refback 06-22-2008 01:31 PM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-22-2008 11:30 AM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-20-2008 04:56 AM
EESFX This thread Refback 06-19-2008 02:17 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-18-2008 10:24 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-17-2008 06:18 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-16-2008 10:29 PM
RSS-瑙琿: ツ 竟蒻瑣 ヤ裲 Post #1652 Refback 06-15-2008 03:06 PM
ネ蒻瑣 フメ 4 - メ襄顆褥韜 瑙琿韈 Forex This thread Refback 06-13-2008 06:00 PM
ミ岱サミセミウ Post #1652 Refback 06-12-2008 02:17 PM
■テクニカルについて語ろう■Part4 Post #977 Refback 06-11-2008 12:15 PM
ミ柘ミオ ミクミスミエミクミコミームひセムム ミ、ミセムミオミコム: ミ慴ーミケ 2008 Post #1684 Refback 06-09-2008 10:47 AM
LinearRegSlope_v1 - MQL4 莉」遐∝渕蝨ー Post #1901 Refback 06-09-2008 08:52 AM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-08-2008 08:54 PM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-08-2008 04:15 PM
Tro_Range - MQL4 Code Base Post #1652 Refback 06-08-2008 07:06 AM