Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Closed Thread
 
Thread Tools Display Modes
  #11 (permalink)  
Old 12-30-2007, 12:58 AM
TheRumpledOne's Avatar
Banned
 
Join Date: Nov 2006
Posts: 802
TheRumpledOne is an unknown quantity at this point


STR needs some work but all the pieces of the source code ( and then some ) are now available.

Perhaps someone will assemble a more powerful version.
Attached Files
File Type: mq4 _Signal_Bars_Meter.mq4 (24.0 KB, 282 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #12 (permalink)  
Old 12-30-2007, 03:01 AM
TheRumpledOne's Avatar
Banned
 
Join Date: Nov 2006
Posts: 802
TheRumpledOne is an unknown quantity at this point
TRO MULTI METERS



The TRO MULTI METERS allow the user to build their own meters.

_TRO_MULTI_METER_BLOCK is the building block.

I built MACD, RSI, and EMA CROSSOVER meters for you.

Let's see what you can build!!

We can have a complete library of meters for all to use.

But I need a little help... I am new to MT4 and don't know how to get the object to delete when you delete the indicator. Can anyone fix this?

Thanks
Attached Files
File Type: zip TRO_MultiMeters.zip (35.7 KB, 513 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #13 (permalink)  
Old 12-30-2007, 06:02 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
reasons 4 not releasing source code always different and complicated
when other can put efforts into development, all the additional work (mods, derivatives, ets) - CJA always cool with it - and now so much requests to change one little detail after another out of his neck
plus the more different ways - the better
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #14 (permalink)  
Old 12-30-2007, 06:04 AM
Ethan Hunt's Avatar
Senior Member
 
Join Date: Jul 2007
Location: Israel
Posts: 222
Ethan Hunt is on a distinguished road
Cool

Thank you for sharing this superb stuff TheRumpledOne.

Cheers

Ethan Hunt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #15 (permalink)  
Old 12-30-2007, 06:25 AM
TheRumpledOne's Avatar
Banned
 
Join Date: Nov 2006
Posts: 802
TheRumpledOne is an unknown quantity at this point
Quote:
Originally Posted by fxbs View Post
reasons 4 not releasing source code always different and complicated
when other can put efforts into development, all the additional work (mods, derivatives, ets) - CJA always cool with it - and now so much requests to change one little detail after another out of his neck
plus the more different ways - the better
If you are giving something away for free, no reason not to release the code. If you are selling the code, of course you want to keep it secret. IMO, the only other reason to keep code secret is so you are the WIZARD and everyone has to come grovelling to you.

My degree was in computer science (1977 BS Univ of Maryland) and over the decades fellow coders have helped me and I have helped fellow coders. Sometimes, someone can save you hours of frustration by showing you a simple technique.

I looked at code from Waddah, FerruFX and whoever wrote the !xMeter and learned a bunch. That's how I was able to write the TRO MULTI METERS so quickly. I took the code and made it more user and programmer friendly. Anyone can use my code as a template and can whip out their own meter in minutes. For example, to make a ROC or Momentum version, just take the RSI version, rename it, delete the RSI code and install the ROC or Momentum code.

The code for producing the meter doesn't have to be altered. The labels are inputs, as are the colors and levels. And the object names contain timestamps so the user doesn't have to worry about one indicator stepping on the others. I am using tricks I learned years ago. Yes, I punched cards in my day...LOL!!

I hope others benefit from this and I can't wait to see someone make improvements to the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #16 (permalink)  
Old 12-30-2007, 07:47 AM
Junior Member
 
Join Date: Nov 2006
Posts: 3
dahud1 is on a distinguished road
HI rumpled One,
Thanks for the posts, but do you think you post those indicators seperately (not in a zip file) I'm having trouble getting them to open otherwise. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #17 (permalink)  
Old 12-30-2007, 12:45 PM
BigBaloo's Avatar
Member
 
Join Date: Nov 2007
Location: White Water BC
Posts: 66
BigBaloo is on a distinguished road
Unzipped

There you go-
Attached Files
File Type: mq4 _TRO_MA_MULTI.mq4 (33.3 KB, 276 views)
File Type: mq4 _TRO_MACD_MULTI.mq4 (24.1 KB, 276 views)
File Type: mq4 _TRO_RSI_MULTI.mq4 (18.8 KB, 268 views)
__________________
It ain't the length of the trend, it's what you do with it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #18 (permalink)  
Old 12-30-2007, 04:28 PM
TheRumpledOne's Avatar
Banned
 
Join Date: Nov 2006
Posts: 802
TheRumpledOne is an unknown quantity at this point
Here's the TRO_MULTI_METER_BLOCK.

It's the one you can use to build your own indicator.

The RSI version has a MeterColor function. First part are the inputs that allow the user to set the levels and colors:


Code:
extern double Level5 =  95 ;
extern double Level4 =  80 ;
extern double Level3 =  50 ;
extern double Level2 =  20 ;
extern double Level1 =  5 ;
extern double Level0 =  0 ;

extern color colorLevel5 =  Red ;
extern color colorLevel4 =  Orange ;
extern color colorLevel3 =  Yellow  ;
extern color colorLevel2 =  YellowGreen ;
extern color colorLevel1 =  Blue ;
extern color colorLevel0 =  DarkBlue;
Then the function:

Code:
//+---------------

color MeterColor( double rsimeter )
{
if( rsimeter > Level5 ) { return( colorLevel5 ); } 
if( rsimeter > Level4 ) { return( colorLevel4 ); } 
if( rsimeter > Level3 ) { return( colorLevel3 ); } 
if( rsimeter > Level2 ) { return( colorLevel2 ); } 
if( rsimeter > Level1 ) { return( colorLevel1 ); } 
return( colorLevel0 );  
}
And the function calls:


Code:
M1_RSI= "-";  color_RSIm1    = MeterColor( rsi_1 ) ;
M5_RSI= "-";  color_RSIm5    = MeterColor( rsi_5 ) ;
M15_RSI= "-"; color_RSIm15   = MeterColor( rsi_15 ) ;
M30_RSI= "-"; color_RSIm30   = MeterColor( rsi_30) ;
H1_RSI= "-";  color_RSIm60   = MeterColor( rsi_60) ;
H4_RSI= "-";  color_RSIm240  = MeterColor( rsi_240) ;
D1_RSI= "-";  color_RSIm1440 = MeterColor( rsi_1440) ;
This saves a bunch of redundant coding.


Another trick I used is in the Object Names. I initialize a string variable:


Code:
string LabelTime="";


if (LabelTime=="") {LabelTime=TimeToStr(TimeLocal(),TIME_SECONDS); }
And use that as part of the Object Names:


Code:
   string Obj0002 = "SignalRSIM1t" + LabelTime ; 
           
   ObjectCreate(Obj0002, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(Obj0002,IndName, 7, "Tahoma Narrow",  BarLabel_color);  
   ObjectSet(Obj0002, OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
   ObjectSet(Obj0002, OBJPROP_XDISTANCE, 155+Adjust_Side_to_side);
   ObjectSet(Obj0002, OBJPROP_YDISTANCE, 50+Shift_UP_DN);
So much easier to handle the code when literals are stored in string variables and code is in fucntions and/or subroutines. That way you only have to make ONE change.

It looks like I need to do the same with the font and font size in the next version.

As you can see, the TRO MULTI METERs are really very simple programs that give the user all the flexibility they need to build their own displays.

Can anyone help me get the objects to delete properly? Thanks!
Attached Files
File Type: mq4 _TRO_Multi_Meter_Block.mq4 (9.2 KB, 264 views)

Last edited by TheRumpledOne; 12-30-2007 at 04:32 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #19 (permalink)  
Old 12-30-2007, 04:40 PM
Junior Member
 
Join Date: Nov 2006
Posts: 3
dahud1 is on a distinguished road
Thanks Big Baloo and Rumpled One. Works awsome!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #20 (permalink)  
Old 12-30-2007, 04:46 PM
TheRumpledOne's Avatar
Banned
 
Join Date: Nov 2006
Posts: 802
TheRumpledOne is an unknown quantity at this point
Quote:
Originally Posted by dahud1 View Post
Thanks Big Baloo and Rumpled One. Works awsome!
Please post a chart or two showing us how you are using the TRO MULTI METERS.

And if you created your own meter, please share the code.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Closed Thread

Bookmarks

Tags
"TRO indicators MT4", Candle, tro buy zone, tro buy zone indicator, TRO BUYZONE, Tro candle, tro forex, tro indicator, tro indicator forex, tro indicators, TRO indicators for mt4, TRO Indicators MT4, TRO MACD, tro meter, tro mt4, tro multi meter, TRO range, TRO RANGE EZ, tro trend, tro_ma_multi, TRO_SR_RR, TRO_SR_RR indicator, _TRO_MA_MULTI, _tro_sak_multipair.mq4


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max number of indicators in indicators folder? moneyline Metatrader 4 23 05-29-2009 12:37 PM
applying indicators on indicators? tradesauce Indicators - Metatrader 4 15 12-17-2006 02:31 PM


All times are GMT. The time now is 08:02 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.