Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent 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
  #1 (permalink)  
Old 07-28-2006, 04:39 PM
Senior Member
 
Join Date: Apr 2006
Posts: 201
scott TTM is on a distinguished road
Convert this into MT3 for me PLEASE

Hi all,

I'm beginning to not trust my broker's MT4 feed. I'd like to compare this indicator in MT3's charting vs. the MT4. It's very, very simple - can anyone convert it for me? It's VERY good for determining when breakouts are about to occur.

Thank you!

SB



Code:
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Aqua
#property indicator_color2 Aqua
//#property indicator_width1 5
//#property indicator_width2 5

extern int period = 8;

double vftop[];
double vfbot[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   IndicatorBuffers(2);
   SetIndexBuffer(0, vfbot);
   SetIndexStyle(0, DRAW_ARROW);
   SetIndexArrow(0, 117);
   SetIndexEmptyValue(0, 0);
   SetIndexBuffer(1, vftop);
   SetIndexStyle(1, DRAW_ARROW);
   SetIndexArrow(1, 117);
   SetIndexEmptyValue(1, 0);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
   int i = Bars - counted_bars;
   if(counted_bars == 0) i = Bars - period*2;
   int j = 0;
   double t1, t2;
   
   while(i >= 0)
   {
      t1 = Low[i];
      t2 = High[i];
      for(j = i+1; j < i + period; j++)
      {
         t1 = MathMax(t1, Low[j]);
         t2 = MathMin(t2, High[j]);
      }
      if(t1 <= t2)
      {
         vftop[i] = t2;
         vfbot[i] = t1;
      }
      i--;
   }
//----
   return(0);
}
//+------------------------------------------------------------------+
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
  #2 (permalink)  
Old 07-28-2006, 07:48 PM
Senior Member
 
Join Date: Mar 2006
Posts: 132
automatedtrader is on a distinguished road
i have tons of MT3 indicators...what indicator is that?
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
  #3 (permalink)  
Old 07-28-2006, 09:06 PM
Senior Member
 
Join Date: Mar 2006
Location: USA/Mexico
Posts: 224
kiwigold is on a distinguished road
Quote:
Originally Posted by automatedtrader
i have tons of MT3 indicators...what indicator is that?

Do you have 3 color MA ?

or LSMA for MT3

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
  #4 (permalink)  
Old 07-30-2006, 02:57 AM
Senior Member
 
Join Date: Apr 2006
Posts: 201
scott TTM is on a distinguished road
Quote:
Originally Posted by automatedtrader
i have tons of MT3 indicators...what indicator is that?
i can't reveal that - but it finds levels of high volume activity.

SB
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
  #5 (permalink)  
Old 07-30-2006, 03:06 AM
Member
 
Join Date: Apr 2006
Posts: 52
hidethereal is on a distinguished road
I opened it up in MT4 and it does look like it places dots right before major breakouts. It's seems similar to the Bollinger Squeeze, but a little 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!
Reply With Quote
  #6 (permalink)  
Old 07-30-2006, 03:18 AM
Senior Member
 
Join Date: Apr 2006
Posts: 201
scott TTM is on a distinguished road
Quote:
Originally Posted by hidethereal
I opened it up in MT4 and it does look like it places dots right before major breakouts. It's seems similar to the Bollinger Squeeze, but a little better.
you have to be careful with it.

often times it will fire off a nice line of plots and then the market will run up, pause, and reverse right back through that level to make the new real trend. so beware of this when using it. you have to view that level as an area where many positions have been taken, but it isn't always indicative of direction.
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
  #7 (permalink)  
Old 08-10-2006, 09:02 PM
Junior Member
 
Join Date: Jan 2006
Posts: 24
feb2006 is on a distinguished road
Hi scott, programming in old MT3 language isn't so easy if you haven't done it for long time.

But perhaps there is another possibility to check if your broker is worth your mistrust.

When Im right your indicator simply draws arrows to any bar where the highest Low of the previous 8(=periodNumber) bars is equal or lower than the lowest High of this period.

So if you have got a bar of mistrust look at the previous 8 bars. If they are different in MT3 from MT4 you might have reason for mistrust.

Regards Martin

----
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


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
Help for convert from VT to MQL4 M-E-C Expert Advisors - Metatrader 4 11 07-27-2007 07:53 PM
EA convert Help Alex.Piech.FinGeR Expert Advisors - Metatrader 4 2 12-21-2005 01:32 PM


All times are GMT. The time now is 09:21 PM.



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