Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Reply
MACD Divergence TrendLine Details »»
MACD Divergence TrendLine
Platform: , by aaa aaa is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Platform: MultiCharts Rating: (1 votes - 5.00 average)
Released: 05-01-2010 Last Update: Never Installs: 7
Supported
Re-useable Code Translations  

// Author: aaa
// from: MARKPLEX Code Divergence
// http://markplex.com/tutorial4.php
// version: 1.0
// Date: 20100501
// added:
// divergence on top +
// Line.Color.Top + Line.Color.Bot + Line.Size + Plot.MACD in inputs




PS : Stochastic Divergence TrendLine here

http://www.traderslaboratory.com/forums/f46/stochastic-divergence-trendline-7244.html

Download Now

File Type: eld MACD DIVERGENCE TRENDLINE.ELD (5.7 KB, 204 views)
File Type: pla MACD Divergence TrendLines.pla (8.0 KB, 80 views)
File Type: txt MACD Divergence TrendLine.txt (2.3 KB, 145 views)

Screenshots

MACD Divergence TrendLine-snap1.jpg  

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.

Similar Indicator
Mod Developer Type Replies Last Post
DeMark Oscillator Tams Trading Indicators 2 04:27 PM 05-27-2009
RSI Divergence TrendLine aaa Trading Indicators 11 02:36 PM 02-25-2011
The Following 10 Users Say Thank You to aaa For This Useful Post:
berrob (02-05-2011), binosp2 (03-08-2011), nuno-online (05-30-2011), snowbird (05-11-2010), soulman (05-06-2010), Stat (02-19-2011), strader2 (05-01-2010), Tams (05-01-2010), TIKITRADER (05-01-2010)

Comments
Old 05-06-2010, 03:55 AM   #2
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: MACD Divergence TrendLine

TL_NEW
This reserved word adds the specified text string to a price chart
Text_New
This reserved word adds the specified text string to a price chart

I'm wondering if it's possible 2 draw divergences lines to an indicator ?
aaa is offline  
Reply With Quote
Old 05-06-2010, 08:44 AM   #3

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: MACD Divergence TrendLine

Quote:
Originally Posted by aaa »
TL_NEW
This reserved word adds the specified text string to a price chart
Text_New
This reserved word adds the specified text string to a price chart

I'm wondering if it's possible 2 draw divergences lines to an indicator ?

do you mean trendline ?

TL_NEW
This reserved word adds the specified text string to a price chart
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 05-06-2010, 08:45 AM   #4

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: MACD Divergence TrendLine

Quote:
Originally Posted by aaa »
....
I'm wondering if it's possible 2 draw divergences lines to an indicator ?
sure, why not?

just duplicate everything...
make sure you name the variables with -1 and -2 suffix.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 05-06-2010, 12:41 PM   #5
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: MACD Divergence TrendLine

Hi TAMS

Always here 2 help absent-minded

Oups... I've forgot 2 attach my work in my last post...

Quote:
do you mean trendline ?
Yes and I've tried also Text_New

Quote:
make sure you name the variables with -1 and -2 suffix.
I've done it but w/o succes

I was wondering if it's allowed by EL 2 change iPrice by the iValue of an indicator ?

Quote:
This reserved word adds a trendline with the specified starting and ending points to a price chart. It returns a numeric expression corresponding to the ID number of the trendline added to the chart.
Value1 = TL_New(iBarDate, iBarTime, iPrice, eBarDate, eBarTime, ePrice)

If U have Xtra time, Would U mind 2 have a look on my attachement ?

regards

aaa
Attached Files
File Type: txt MACD Divergence TrendLines Indicator.txt (2.2 KB, 41 views)
aaa is offline  
Reply With Quote
Old 05-06-2010, 01:33 PM   #6

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: MACD Divergence TrendLine

I am not sure what you are trying to achieve...
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 05-06-2010, 01:50 PM   #7
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: MACD Divergence TrendLine

only plot trendlines directly on the MACD indicator
aaa is offline  
Reply With Quote
Old 05-06-2010, 01:59 PM   #8

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: MACD Divergence TrendLine

Quote:
Originally Posted by aaa »
only plot trendlines directly on the MACD indicator
LOL... you knew I was going to ask you to make a drawing... but...


to draw in subchart, you need TL_NEW_SELF.

this is a MultiCharts exclusive keyword.


in this case, you do not need to duplicate the variables and calculations...
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote

Reply

Tags
divergence, macd

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


All times are GMT -4. The time now is 11:01 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.