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
  #1 (permalink)  
Old 10-31-2006, 12:45 AM
Junior Member
 
Join Date: Mar 2006
Posts: 11
bunder is on a distinguished road
Heikin Ashi (better formula)

Can someone do this program?

From an article made by BNP-Paribas it seems that we can have better representation with Heikin Ashi if we made the following modified Heikin-Ashi candlesticks as follows:
a. haOpen, haHigh and haLow according to Dan Valcu formulas.
b. haClose is calculated first according to the formula (Open+Close)/2+(((Close-Open)/(High-Low))*ABS((Close-Open)/2)), then smoothed with a 2 days (bars) trader adaptive moving average (could be a 3-period T3 moving average or a 2-period Kaufman moving average).


Traditional Dan Valcu's formula:
haClose = (O+H+L+C)/4
haOpen = (haOpen (previous bar) + haClose (previous bar))/2
haHigh = Maximum(H, haOpen, haClose)
haLow = Minimum(L, haOpen, haClose)

Last edited by bunder; 10-31-2006 at 01:09 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
  #2 (permalink)  
Old 10-31-2006, 12:54 AM
Junior Member
 
Join Date: Mar 2006
Posts: 11
bunder is on a distinguished road
T3 moving average (Tradestation code)

{_T3Average
By Bob Fulks, modified by Alex Matulich 4/2003

The T3 Average is essentially a low-pass filter, as are the
traditional moving average and exponential moving average. The T3
Average, however, exhibits a steeper rolloff, resulting in better
filtering of high-frequency noise while better preserving the
low-frequency components of a time series.

This function is an EasyLanguage version of the algorithm described
in the January 1998 issue of TASC, p57, "Smoothing Techniques for
More Accurate Signals" by Tim Tillson. It is translated from
the MetaStock code presented in the article. The function allows
a variable length as input.

The variable b (also called "Hot") is a damping coefficient. The
suggested value of b is 0.7, but this value slightly amplifies
low-frequency components. b=0.5 seems better for having a flat
response at low frequencies. A smaller value of b will result in
too much attenuation of low frequencies.

The Length parameter is divided by two to make the T3 Average's lag
equivalent to the lag of the traditional moving averages. This way
you can use the T3 Average as a drop-in replacement for Average or
xAverage, and get the same lag but better noise filtering.

The variable "b" is substituted for the variable "a" used in the
article since "a" is a reserved word.
}

Inputs: Price(NumericSeries), Length(NumericSimple);

Variables: b(0.5), b2(b*b), b3(b2*b),
e1(Price), e2(Price), e3(Price), e4(Price), e5(Price), e6(Price),
c1(-b3), c2(3*(b2+b3)), c3(-3*(2*b2+b+b3)), c4(1+3*b+b3+3*b2),
N(0), w1(0), w2(0);

N = Length;
if N < 1 then N = 1;
N = 1 + 0.5*(N-1); {makes lag equivalent to Moving Average}
w1 = 2 / (N + 1); w2 = 1 - w1;

e1 = w1*Price + w2*e1;
e2 = w1*e1 + w2*e2;
e3 = w1*e2 + w2*e3;
e4 = w1*e3 + w2*e4;
e5 = w1*e4 + w2*e5;
e6 = w1*e5 + w2*e6;

_T3Average = c1*e6 + c2*e5 + c3*e4 + c4*e3;
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 10-31-2006, 08:24 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
T3

Try this one...

Raff

Quote:
Originally Posted by bunder
{_T3Average
By Bob Fulks, modified by Alex Matulich 4/2003

The T3 Average is essentially a low-pass filter, as are the
traditional moving average and exponential moving average. The T3
Average, however, exhibits a steeper rolloff, resulting in better
filtering of high-frequency noise while better preserving the
low-frequency components of a time series.

This function is an EasyLanguage version of the algorithm described
in the January 1998 issue of TASC, p57, "Smoothing Techniques for
More Accurate Signals" by Tim Tillson. It is translated from
the MetaStock code presented in the article. The function allows
a variable length as input.

The variable b (also called "Hot") is a damping coefficient. The
suggested value of b is 0.7, but this value slightly amplifies
low-frequency components. b=0.5 seems better for having a flat
response at low frequencies. A smaller value of b will result in
too much attenuation of low frequencies.

The Length parameter is divided by two to make the T3 Average's lag
equivalent to the lag of the traditional moving averages. This way
you can use the T3 Average as a drop-in replacement for Average or
xAverage, and get the same lag but better noise filtering.

The variable "b" is substituted for the variable "a" used in the
article since "a" is a reserved word.
}

Inputs: Price(NumericSeries), Length(NumericSimple);

Variables: b(0.5), b2(b*b), b3(b2*b),
e1(Price), e2(Price), e3(Price), e4(Price), e5(Price), e6(Price),
c1(-b3), c2(3*(b2+b3)), c3(-3*(2*b2+b+b3)), c4(1+3*b+b3+3*b2),
N(0), w1(0), w2(0);

N = Length;
if N < 1 then N = 1;
N = 1 + 0.5*(N-1); {makes lag equivalent to Moving Average}
w1 = 2 / (N + 1); w2 = 1 - w1;

e1 = w1*Price + w2*e1;
e2 = w1*e1 + w2*e2;
e3 = w1*e2 + w2*e3;
e4 = w1*e3 + w2*e4;
e5 = w1*e4 + w2*e5;
e6 = w1*e5 + w2*e6;

_T3Average = c1*e6 + c2*e5 + c3*e4 + c4*e3;
Attached Files
File Type: mq4 Heiken_Ashi_Ma_T3.mq4 (6.5 KB, 2097 views)
__________________

Last edited by raff1410; 10-31-2006 at 03:09 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!
Reply With Quote
  #4 (permalink)  
Old 10-31-2006, 12:04 PM
Member
 
Join Date: Nov 2005
Posts: 63
crazybunny is on a distinguished road
Thumbs up best indicator i have ever seen

great indicator very nice work
it wotrks even on trhe 1 minute
can we make a signal when the color turn from red to blue and vice vers
pls see the attached chart of gbp of today
great work guys
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 10-31-2006, 12:06 PM
Member
 
Join Date: Nov 2005
Posts: 63
crazybunny is on a distinguished road
gbp chart 1 min signa needed

gbp chart 1 min signa needed
Attached Images
File Type: jpg gbp 1min.JPG (41.0 KB, 4452 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
  #6 (permalink)  
Old 10-31-2006, 03:10 PM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
See post #3...

Raff

Quote:
Originally Posted by crazybunny
great indicator very nice work
it wotrks even on trhe 1 minute
can we make a signal when the color turn from red to blue and vice vers
pls see the attached chart of gbp of today
great work guys
__________________
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 10-31-2006, 03:54 PM
Junior Member
 
Join Date: Mar 2006
Posts: 11
bunder is on a distinguished road
Thanks Raff!

Wonderful work again!
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
  #8 (permalink)  
Old 10-31-2006, 07:00 PM
leeb's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 368
leeb is on a distinguished road
Hi Raff and everyone - is it possible to make a simple expert based on the arrows ? Thanks a lot !
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
  #9 (permalink)  
Old 10-31-2006, 07:48 PM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
I think there is an EA based on HAMa somewhere at forum...

Raff

Quote:
Originally Posted by leeb
Hi Raff and everyone - is it possible to make a simple expert based on the arrows ? Thanks a lot !
__________________
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
  #10 (permalink)  
Old 10-31-2006, 08:18 PM
wahomeron1's Avatar
Junior Member
 
Join Date: Jun 2006
Posts: 5
wahomeron1 is on a distinguished road
sorry guys i hate to sound stupid but could anyone please explain in simple terms what the indicator is doing. Also Bunder, do you mind giving us a link to the BNP Paribas article. Thanks.
Wahomeron
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
Heiken Ashi, heiken ashi calculation, heiken ashi formula, Heiken Ashi metatrader, heiken ashi moving average, heiken ashi oscillator, Heiken Ashi Smoothed, heikin, Heikin Ashi, heikin ashi calculation, heikin ashi formula, Heikin Ashi indicator, heikin ashi metatrader, Heikin Ashi mt4, HEIKIN ASHI smoothed, heikin-ashi, heikin-ashi formula, heikin-ashi metatrader, Kaufman, metatrader heikin ashi, smoothed heikin ashi


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
nahomichi
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
Generator (oscillator with user defined variable formula) Aleksandr Nevskiy Indicators - Metatrader 4 0 05-03-2007 10:04 PM
Editing formula colors shaker22a Metatrader 4 5 10-09-2006 11:46 AM


All times are GMT. The time now is 01:32 AM.



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