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

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


Here's something else you need to fix:

Code:
   if ((RVI_m1 < 50) && (Mom_M1 > 100) && (cci_MM1 > 0)) { STR_m1 = "-";  color_M1 = Lime;}  // original
   if ((RVI_m1 < 50) && (Mom_M1 > 100) && (cci_MM1 < 0)) { STR_m1 = "-";  color_M1 = Silver;} // original
   if ((RVI_m1 < 50) && (Mom_M1 < 100) && (cci_MM1 > 0)) { STR_m1 = "-";  color_M1 = GreenYellow;}  
   if ((RVI_m1 < 50) && (Mom_M1 < 100) && (cci_MM1 < 0)) { STR_m1 = "-";  color_M1 = OrangeRed;}   
   
   
   if ((RVI_m1 > 50) && (Mom_M1 > 100) && (cci_MM1 < 0)) { STR_m1 = "-";  color_M1 = Orange;}  
   if ((RVI_m1 > 50) && (Mom_M1 > 100) && (cci_MM1 > 0)) { STR_m1 = "-";  color_M1 = Silver;}   
   if ((RVI_m1 > 50) && (Mom_M1 < 100) && (cci_MM1 < 0)) { STR_m1 = "-";  color_M1 = Orange;}  // original
   if ((RVI_m1 > 50) && (Mom_M1 < 100) && (cci_MM1 > 0)) { STR_m1 = "-";  color_M1 = Silver;}  // original


You only had 4 conditions, when you need 8... 2 * 2 * 2 = 8!!

You'll need to figure out the color combinations.

I separated the code into different pieces... easier to debug that way.




Attached Files
File Type: mq4 _Signal_Bars_Meter.mq4 (24.0 KB, 236 views)
File Type: mq4 _Signal_Bars_Spread.mq4 (16.4 KB, 224 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!
Reply With Quote
  #1392 (permalink)  
Old 12-30-2007, 01:21 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
Quote:
Originally Posted by TheRumpledOne View Post
[left]
Here's something else you need to fix:
could it be CJA finally released his source code? (Signal_Bars_MFI)

you think "xMeter" approach more convenient 4 modifications than "SignalBars" approach?

Last edited by fxbs; 12-30-2007 at 01:36 AM.
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!
Reply With Quote
  #1393 (permalink)  
Old 12-30-2007, 01:51 AM
Senior Member
 
Join Date: Dec 2006
Posts: 162
homestudy is on a distinguished road
Thanks fxbs

Just wanted to take the time to say thanks for all the great work you share here fxbs. Anytime I see your name on a post I take the time to read it, it's always good. I hope you are enjoying some of the fruits of your hard work!
Hope you have a great New Year!!!!!

HS
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!
Reply With Quote
  #1394 (permalink)  
Old 12-30-2007, 02:02 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
[quote=highway3000;174052]
in such case (SigBarsMFI) if we do modifications - ethic wise we need to put note "based on..." or "mod. ..." or other which shows - initial version has been changed not by author and author not bare responsibility 4 changes if modified version go wrong (so other guys can feather develop original indi and make their own mistakes)

Last edited by fxbs; 12-30-2007 at 02:31 AM.
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!
Reply With Quote
  #1395 (permalink)  
Old 12-30-2007, 02:10 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
Quote:
Originally Posted by homestudy View Post
Just wanted to take the time to say thanks for all the great work you share here fxbs. Anytime I see your name on a post I take the time to read it, it's always good. I hope you are enjoying some of the fruits of your hard work!
Hope you have a great New Year!!!!!
HS
Thanks, HS!
i'm trying to.... we're developers - not competitors here; lets help each other and lets enjoy fruits of our work and HAVE A HAPPY NEW YEAR all of as

Last edited by fxbs; 12-30-2007 at 02:12 AM.
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!
Reply With Quote
  #1396 (permalink)  
Old 12-30-2007, 02:28 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
CJA, Thank You 4 your NEW YEAR Gift to this Forum!
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!
Reply With Quote
  #1397 (permalink)  
Old 12-30-2007, 03:34 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
could it be CJA finally released his source code? (Signal_Bars_MFI)

you think "xMeter" approach more convenient 4 modifications than "SignalBars" approach?
I don't know if CJA released the source code or not.

I just posted the TRO MULTI METERS



The code can be found in the signal bar thread.

The TRO MULTI METERS are built as "building blocks"... you can load multiple copies and stack them any way you like. You are NOT restricted by me as a programmer.

I think this is much more convenient than having to ask someone to change their code for you.
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!
Reply With Quote
  #1398 (permalink)  
Old 12-30-2007, 05:15 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
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...

Last edited by fxbs; 12-30-2007 at 05:29 AM.
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!
Reply With Quote
  #1399 (permalink)  
Old 12-30-2007, 05:44 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
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.
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!
Reply With Quote
  #1400 (permalink)  
Old 12-30-2007, 05:10 PM
Member
 
Join Date: Mar 2007
Posts: 33
Nordic12 is on a distinguished road
MTF ZigZag Pointer

hi

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

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!
Reply With Quote
Reply

Bookmarks

Tags
#MTF_WPR.mq4, ABSOLUTE STRENGTH, absolute strength indicator, AbsoluteStrength, AbsoluteStrength_v1.1_mtf, ADX MTF, AlaskanPipAssassin, atr channel, BBMACD, bbsqueeze, bh-ergodic, center of gravity, Coeffoline, custom candle, customcandle, Damiani_volatmeter v3.2, Envelopes, FanSimple4en, fncd indicator, forex, forextrend_v2, fxst3cci, FxTrend v2, fxtsd, histogram, indicators, megatrend, MegaTrend.mq4, mladen, mtf absolute strength, mtf adx, mtf adx indicator, mtf bband, MTF candle, mtf ema, MTF indicator, mtf LaGuerre, mtf ma, mtf macd, mtf megatrend, mtf parabolic, MTF PSAR, mtf qqe, MTF RSI, mtf rsx, mtf stochastic, MTF trendenvelopes, mtf_4tf_has_bar2m, mtf_megatrend_barm_4tfnext, multi, multi time frame, MULTI TIME FRAME indicator, multi time frame stochastic, multi timeframe, multi timeframe indicator, nonlagma v7, NonLagMA_v7.1, NRTR_Rosh_v2eAlert_mtf.ex4, open interest, pipnailer, PowerTrend, powertrend.mq4, qqe mtf, search, TheBuyZoneForex.pdf, timeframe, TrendEnvelopes_v5, trendline, TRO MultiPair, tro sak multipair, voltychoppy, XO_A_H


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
govind123456
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
get current timeframe () or the like.. arm73c05 Metatrader 4 3 02-21-2007 08:51 PM
Timeframe / Shift divergence_trader Metatrader 4 2 02-12-2007 02:04 PM
Multi EAs, multi brokers, same computer hhsmoney General Discussion 6 11-16-2006 09:32 PM
Get current timeframe The_N Metatrader 4 2 09-08-2006 12:40 PM
Multi timeframe through a shift calculation? wananohoshi Indicators - Metatrader 4 2 08-06-2006 11:02 AM


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



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