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 05-19-2006, 03:29 PM
Junior Member
 
Join Date: Mar 2006
Posts: 12
Boiseboy is on a distinguished road
Question ATR Trailing Stop - Help

Hi everyone:

I have absolutely no coding experience in mq4 indicators, and am asking for help in creating an indicator. The volatility trailing stop that uses a multiple of ATR has been of great use to me in Metastock when I used to trade equities, and I've been looking for an equivalent in metatrader.

I've been using Igorad's EXCELLENT indicator VoltyChannel_Stop lately - found in this post:
http://www.forex-tsd.com/4357-post6.html
and it is truly great. However, sometimes I need to enter against the trend when I get a signal and must calculate the stop manually, because the indicator hasn't yet changed over.

So, what I'm looking for are TWO consistent lines indicating the long and short stops that sit x times ATR(y), above and below the closing price. The metastock code is this:

For Long: HHV(H - 2.5*ATR(5),10)
For Short: LLV(L + 2.5*ATR(5),10)

HHV means highest high value, LLV means lowest low value

I'd like to be able to modify the ATR setting (I'm using ATR(10) now) as well as the multiplier (I'm using 2*ATR now).

Please forgive me if this indicator has already been coded somewhere and I haven't found it - or, if I am asking too much.

Much appreciation, in advance, for everything,

Ed

PS: It looks something like this, but with an upper and lower stop line (PLEASE NOTE, THIS IS NOT MY PICTURE AND THE TEXT IS NOT ASSOCIATED WITH THIS REQUEST - Whew....) :


Last edited by Boiseboy; 05-19-2006 at 10:37 PM. Reason: add picture
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 05-19-2006, 04:47 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
It's all that I have inside my computer with the name ATR.
And check ASCTrend system thread - you will find many stop loss indicators based on ART there.
Attached Files
File Type: zip atr_indicators.zip (18.5 KB, 1066 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
  #3 (permalink)  
Old 05-19-2006, 05:34 PM
Junior Member
 
Join Date: Mar 2006
Posts: 12
Boiseboy is on a distinguished road
Holy Cow, that's a lot of stuff. I'll go through them and see if there's something there that'll work.

Many thanks!

Ed
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 05-19-2006, 07:06 PM
Junior Member
 
Join Date: Mar 2006
Posts: 12
Boiseboy is on a distinguished road
New Digital:

Again, thanks for uploading your ATR files. Unfortunately, none of the indicators can get me where I need to go. But, the ATR_SL_Chanel was close - but, I cannot figure out what the ATR setting is and what the input value represents.

In any event, if anyone reading this can code the description in the first post, I would be eternally grateful.

You'd get, maybe not my first born child, but probably one of the ones later on...



Ed
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 05-20-2006, 08:44 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
Hi,
Try to use this indicator.

Igor
Attached Files
File Type: mq4 ATRStops_v1.mq4 (3.0 KB, 1068 views)
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
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 05-20-2006, 06:34 PM
Junior Member
 
Join Date: Mar 2006
Posts: 12
Boiseboy is on a distinguished road
Igor:

I don't know how to keep thanking you for your help. I can see your generosity has no limit - and I'm sure I speak for many, many people on these forums.

This stop indicator is great; it is similar, I think, to the volatility stop (your volty_channelstop v1) I was using. I can't seem to figure out the difference, though I know one exists. They don't exactly match up even when I've make the settings equivalent.

Again, I really appreciate all your help, now, in the past, and certainly in the future (when you'll finally tire of me...).

Ed
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 05-20-2006, 06:56 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
May be this one?
I am not sure ...
Attached Images
File Type: gif 12345.gif (27.6 KB, 2953 views)
Attached Files
File Type: zip indicators.zip (2.8 KB, 435 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
  #8 (permalink)  
Old 05-20-2006, 07:20 PM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
Hi BoiseBoy,
Thanks for good words.
I've tried use your Stops formulas with small improvements.

Igor
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
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 05-20-2006, 07:39 PM
Junior Member
 
Join Date: Mar 2006
Posts: 12
Boiseboy is on a distinguished road
A Very Public Thanks

NewDigital and Igorad:

I think I've now got everything I need to do my backtesting.

You two are great examples of people who will go out of their way to help somebody they don't even know, when they get nothing in return short of appreciation (if they are lucky).

If I ever get this trading figured out so I'm consistently profitable, I'll have people like you to thank. They say one can only get to the top by standing on the shoulders of others, and the two of you are prime examples of very broad shoulders.

Thanks again,

Ed
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 05-20-2006, 09:30 PM
DanielTyrkiel's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 176
DanielTyrkiel is on a distinguished road
I appreciate you've started this thread, and of course the invaluable help of Igor and Newdigital. I've started looking at one of the ATR SL indicators for my own style of trading. Very helpful my friends, thank you all.
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
atr channel, atr indicator, atr stop, ATR STOPS, ATR trailing, ATR trailing stop, atr trailing stop ea, Chandelier Trailing Stop, forex, trailing stop, trailing stop atr, trailing*5.mq4, trend envelopes, volatility stop, VoltyChannel_Stop, VoltyChannel_Stop_v2.1


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
Trailing Stop EA newdigital Expert Advisors - Metatrader 4 68 11-01-2009 09:32 AM
How to set a trailing stop??? theolive9 Metatrader 4 1 12-06-2006 12:12 AM
EA trailing stop JoZo Metatrader 4 6 11-10-2006 02:34 PM


All times are GMT. The time now is 07:39 AM.



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