Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (229) Thread Tools Display Modes
  #2111 (permalink)  
Old 05-01-2008, 11:12 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,242
fxbs is on a distinguished road
Quote:
Originally Posted by Pussy Galore View Post
Hi,

This is my first post although I have read the thread with interest.

I wonder if some kind soul would be able to convert the BAT ATR into MTF format for me please.
BAT ATR v1:

seems like instead of comparing current value with previous somebody set it up to compare current values with the future values

CurrUp=Close[i] - (iATR(NULL,0,ATRPeriod,i) * Factor);
PrevUp=Close[i-1] - (iATR(NULL,0,ATRPeriod,i-1) * Factor);

just use existing atr & atr based stops
-----
edit: doesn't seems like it repaints though...

Last edited by fxbs; 05-05-2008 at 01:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2112 (permalink)  
Old 05-02-2008, 09:03 AM
Member
 
Join Date: Jan 2008
Posts: 47
Pussy Galore is on a distinguished road
Hi fxbs,

Thank you for taking the time to reply. Although I've read the thread, I've got to admit that there are certain things to do with how MT4 works that are way over my head. I'm really sorry, but this is one of them.

Would I be right in thinking that the BAT ATR indicator contains basic errors or bugs? Or is it simply that it can't be converted to MTF format?

I also noticed that on Page 23 of this thread, somebody asked if it was possible to convert ATR Stops (which I guess is the same thing as BAT ATR) into MTF, but they didn't seem to get a reply.

To explain a little further, I'm a fan of the Schaff Trend Cycle and I have been looking for sometime for an accompanying indicator called the FXS-Trailing Stop.

Forex Trading : FX Strategy : Doug Schaff

Unfortunately I haven't been able to find this indicator coded for MT4 (if anybody knows where or how I can find it, that would be great). The ATR Stops thingie seemed to be the next best thing after a bit of playing about with the settings.

Thanks again for your time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2113 (permalink)  
Old 05-02-2008, 09:31 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,810
Blog Entries: 145
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
Look at this thread ATR Trailing Stop - Help as I think it is exactly what you want.
Besides I used ATR Stop here ASCTrend system

And this indicator for example http://www.forex-tsd.com/35862-post11.html and some more on the thread link ATR Trailing Stop - Help
And this one Trailing Stop EA and many other threads.

Last edited by newdigital; 05-02-2008 at 09:35 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2114 (permalink)  
Old 05-02-2008, 10:16 AM
Member
 
Join Date: Jan 2008
Posts: 47
Pussy Galore is on a distinguished road
Thank you for your reply newdigital.

I have downloaded v1.1 of the ATR Stops indicator and can see that there are differences between that and the BAT ATR indicator.

I guess that I'm not worried about how it works, but instead I am interested in whether or not it can be implimented into a workable system.

Can this be coded for MTF, or does the dirty/repaints scenario that fxbs referred to still apply?

I can see a likely advantage to trading a faster timeframe with a stop derived from a slower timeframe and would like to try backtesting that.

edit: I forgot to attach the ATR Stops indicator
Attached Files
File Type: mq4 ATRStops_v1.1.mq4 (3.0 KB, 53 views)

Last edited by Pussy Galore; 05-02-2008 at 10:21 AM. Reason: Forgot to attach the ATR Stops indicator
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2115 (permalink)  
Old 05-02-2008, 10:37 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,810
Blog Entries: 145
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
I replied because you posted your formula and this thread ATR Trailing Stop - Help was started with this formula:
For Long: HHV(H - 2.5*ATR(5),10)
For Short: LLV(L + 2.5*ATR(5),10)

So, read this thread from the beginning ATR Trailing Stop - Help

As I understand it may be related to this indicator (as new version) http://www.forex-tsd.com/4357-post6.html or chandelier exit indicator (very old one).

As to MTF so I saw some indicator coded in MTF ... difficult to find as this MTF thread is big one ... MTF chandelier exit may be ... do not remember now sorry.

You can try to continue this thread ATR Trailing Stop - Help and may be some people will reply.

Last edited by newdigital; 05-02-2008 at 10:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2116 (permalink)  
Old 05-02-2008, 12:17 PM
Member
 
Join Date: Jan 2008
Posts: 47
Pussy Galore is on a distinguished road
Thanks newdigital, although I'm not too sure what you meant about posting my formula. This is only my 4th post on the forum and I don't recall posting a formula. Could you have meant someone else?

Anyway, I've read the threads so thanks for the links.

I've searched the site and found a MTF Chandelier. At least that gives me something to start playing around with.

Unfortunately I can't find anything about MTF ATR Stops other than than Post 222 of this very thread.

Multi Timeframe Indicators

It doesn't appear from the follow up posts that oneprint had any luck in solving the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2117 (permalink)  
Old 05-02-2008, 12:35 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,810
Blog Entries: 145
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
Quote:
Originally Posted by fxbs View Post
BAT ATR v1:

seems like instead of comparing current value with previous somebody set it up to compare current values with the future values
so, like with solar wind (dirty) case - indi lies (repaints)

CurrUp=Close[i] - (iATR(NULL,0,ATRPeriod,i) * Factor);
PrevUp=Close[i-1] - (iATR(NULL,0,ATRPeriod,i-1) * Factor);

just use existing atr & atr based stops
It was fxbs posted.
Sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2118 (permalink)  
Old 05-02-2008, 01:41 PM
Member
 
Join Date: Jan 2008
Posts: 47
Pussy Galore is on a distinguished road
That's no problem, newdigital.

I've looked at the code for Chandelier Stops and it looks to be derived directly from ATR Stops with some minor modifications to the settings.

Thanks again for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2119 (permalink)  
Old 05-02-2008, 11:59 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,242
fxbs is on a distinguished road
strange thing with this Bat atr v1:
when you change:
PrevUp=Close[i-1] - (iATR(NULL,0,ATRPeriod,i-1) * Factor);
to
PrevUp=Close[i+1] - (iATR(NULL,0,ATRPeriod,i+1) * Factor);

- nothing happens - indi works absolutely the same (same values, forward) - weird

limit=Bars-counted_bars;
... for(int i=BackPeriod; i>=0; i--) - counted bars disappeared too...

somebody been messing with this indi - who knows what else missing - where could be original version?
________

Pussy Galore, that's not a problem 2 put mtf, thing is - you can't trust this indi and i don't want anything to do with it also - better find another one... - sorry, Pussy

btw. some Shafts also here http://www.forex-tsd.com/194273-post15.html

Last edited by fxbs; 05-03-2008 at 02:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2120 (permalink)  
Old 05-03-2008, 03:07 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,242
fxbs is on a distinguished road
Quote:
Originally Posted by oneprint View Post
hi
i tried to make and MTF indicator of the ATR stops but for some reason it only displays the sell channel!
could some one please correct it. i think its a really great indicator thanks!
oh, man - they put it on MQL codebase as is [i thought it's Scriptor's mess-up - but that's ours too woopsy dasy (07-24-2006)jeezzsss ]
they migh think that's Igorad's...

Last edited by fxbs; 05-03-2008 at 04:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
ABSOLUTE STRENGTH, AbsoluteStrength_v1.1_mtf, bbsqueeze, center of gravity, Damiani_volatmeter v3.2, forex, fxst3cci, histogram, megatrend, mtf absolute strength, mtf adx, mtf adx indicator, mtf bband, mtf LaGuerre, mtf macd, multi, multi time frame, pipnailer, TheBuyZoneForex.pdf, TRO MultiPair, tro sak multipair, absolute strength, TRO SAK MULTIPAIR, MTF ADX, FxTrend v2, Coeffoline, BBMACD, MegaTrend.mq4, bh-ergodic, multi time frame stochastic, fncd indicator, mtf rsx, MTF Stochastic, fxtsd, CUSTOM CANDLE, absolute strength indicator, mtf indicator, indicators, ATR CHANNEL, mtf_4tf_has_bar2m, mtf parabolic, mladen

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/1077-multi-timeframe-indicators.html
Posted By For Type Date
求助:一个可以把大时间周期的均线放在小时间周期上的指标 - mt4编程与智能交易系统 - 领域外汇论坛 —外汇论坛|外汇开户|外汇保证金|FXSOL开户 This thread Refback 08-31-2008 08:31 AM
亂MT4亃MetaTrader Part8亂儊僞僩儗乕僟乕亃 Post #0 Refback 08-17-2008 01:55 PM
老涡: fractals.mq4 This thread Refback 08-07-2008 07:37 PM
Multi Timeframe Indicators - Page 91 - Forex Trading This thread Refback 08-02-2008 10:22 PM
MTF Stochastic 4TF Post #2168 Refback 08-02-2008 08:13 PM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-23-2008 07:20 PM
Multi Timeframe Indicators - Page 117 - Forex Trading This thread Refback 07-20-2008 04:49 AM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-13-2008 05:55 PM
耔咫耔轺 4 徕 ?? - Trading4Living 翦  滗屣 This thread Refback 07-13-2008 05:12 PM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 07-12-2008 09:08 AM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 07-12-2008 06:41 AM
Weekly_HILO. - MQL4 浠g爜鍩哄湴 Post #2066 Refback 07-10-2008 09:39 PM
Multi Timeframe Indicators - Page 62 - Forex Trading This thread Refback 07-05-2008 11:25 PM
仭僥僋僯僇儖偵偮偄偰岅傠偆仭part2 This thread Refback 07-05-2008 12:05 PM
BZ_TL_SkylineM - MQL4 Code Base Post #1684 Refback 07-05-2008 08:12 AM
MTF BB-Squeeze - MQL4 Code Base Post #1870 Refback 07-03-2008 04:32 AM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-25-2008 06:45 AM
≮持违スレ≯MetaTrader介看荚漓脱3≮ゆとり漓脱≯ - MetaTraderまとめWiki Post #1124 Refback 06-22-2008 02:31 PM
My MT4 modified indicators and collection - Page 7 Post #1177 Refback 06-22-2008 12:30 PM
Weekly_HILO. - MQL4 Code Base Post #2066 Refback 06-20-2008 05:56 AM
EESFX This thread Refback 06-19-2008 03:17 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-18-2008 11:24 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-17-2008 07:18 PM
Signal_Bars_MFI - MQL4 Code Base Post #2210 Refback 06-16-2008 11:29 PM
RSS-赅磬: 埋 桧滂赅蝾瘥 灶疱犟 Post #1652 Refback 06-15-2008 04:06 PM
软滂赅蝾瘥 桃 4 - 义蹴梓羼觇 囗嚯桤 Forex This thread Refback 06-13-2008 07:00 PM
袘谢芯谐 Post #1652 Refback 06-12-2008 03:17 PM
仭僥僋僯僇儖偵偮偄偰岅傠偆仭Part4 Post #977 Refback 06-11-2008 01:15 PM
袙褋械 懈薪写懈泻邪褌芯褉褘 肖芯褉械泻褋: 袦邪泄 2008 Post #1684 Refback 06-09-2008 11:47 AM
LinearRegSlope_v1 - MQL4 浠g爜鍩哄湴 Post #1901 Refback 06-09-2008 09:52 AM