How do i do this ?

Questions about MultiCharts and user contributed studies.
aljafp
Posts: 184
Joined: 28 Oct 2005
Been thanked: 1 time

How do i do this ?

Postby aljafp » 10 Dec 2007

Say i have the following chart window:

symbol 1 plotted on subchart 1
symbol 2 plotted on subchart 2
indicator 1 base on symbol 1 on plotted subchart 3
indicator 2 base on symbol 2 on plotted subchart 4

I also want indicator 2 to draw a trendline on subchart 2 since it is based on symbol 2.

Can i do this ? i tried both tl_new and tl_new_self and both doesn't work.

thanks

Jack Zolty
Posts: 15
Joined: 25 Aug 2007

yes sure you can....

Postby Jack Zolty » 10 Dec 2007

how can I help. want to see an image?

Jack Zolty
Posts: 15
Joined: 25 Aug 2007

chart image

Postby Jack Zolty » 10 Dec 2007

here is chart example diferent sybols diferent intervals diferent indicators[/img]
Attachments
chart example.png
chart example.png (52.05 KiB) Viewed 389 times

aljafp
Posts: 184
Joined: 28 Oct 2005
Been thanked: 1 time

Re: chart image

Postby aljafp » 10 Dec 2007

here is chart example diferent sybols diferent intervals diferent indicators[/img]


thanks for you image....

But think you did not answer my query.
Using your example... say from the hull moving average which is based on TRIN on subchart 2, beside plotting the hull moving average on subchart 4, i also want to draw a trendline on SUBCHART 2 on the trin itself ?

I've tried TL_NEW and TL_NEW_SELF and they both don't work.

Jack Zolty
Posts: 15
Joined: 25 Aug 2007

sorry I can't help you ... I'm sure others can...

Postby Jack Zolty » 10 Dec 2007

sorry I can't help you ... I'm sure others can though...

User avatar
ABC
Posts: 527
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 296 times
Contact:

Postby ABC » 11 Dec 2007

Just base your study on the second data stream and it works with TL_New.
The example shows Trendlines from the High to the Low drawn on the second data stream.

Best regards,
ABC
Attachments
TLs.png
TLs.png (63.64 KiB) Viewed 377 times

aljafp
Posts: 184
Joined: 28 Oct 2005
Been thanked: 1 time

Postby aljafp » 11 Dec 2007

Just base your study on the second data stream and it works with TL_New.
The example shows Trendlines from the High to the Low drawn on the second data stream.

Best regards,
ABC


thanks ABC, but think you need to reread what i am trying to do....

OR Let me explain again
Subchart 1 symbol 1
Subchart 2 symbol 2
Subchart 3 say some MACD histogram based on symbol 2 and from this indicator i also want to draw trendlines on symbol 2 on subchart 2.. how do i do that ?

TL_new will draw on subchart 1
TL_new_self will draw on subchart 3....
But i want to draw the trendline on subchart 2 ....

Tssupport can this be done with MC ?

thanks

User avatar
ABC
Posts: 527
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 296 times
Contact:

Postby ABC » 11 Dec 2007

Exactly like I mentioned above. In the screenshot is the same indicator drawing Trendlines, only with an added MACD based on Data2.

Best regards,
ABC
Attachments
TLs1.png
TLs1.png (69.22 KiB) Viewed 385 times

itai007
Posts: 69
Joined: 14 Jun 2007

to ABC - is that lower indicator MACD ?

Postby itai007 » 11 Dec 2007

what is that lower indicator in your chart ?
the last chart you posted here prior to my/this messege ?

can you share it or if it is MACD share the exact inputs ?

thanks

User avatar
ABC
Posts: 527
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 296 times
Contact:

Re: to ABC - is that lower indicator MACD ?

Postby ABC » 11 Dec 2007

what is that lower indicator in your chart ?
the last chart you posted here prior to my/this messege ?

can you share it or if it is MACD share the exact inputs ?

thanks


It's a simple standard MACD based on the second datastream, the only change is a piece of code drawing the trendlines, but this doesn't affect the MACD in any way.

inputs: FastLength( 12 ), SlowLength( 26 ), MACDLength( 9 ) ;

Best regards,
ABC

aljafp
Posts: 184
Joined: 28 Oct 2005
Been thanked: 1 time

Postby aljafp » 11 Dec 2007

Exactly like I mentioned above. In the screenshot is the same indicator drawing Trendlines, only with an added MACD based on Data2.

Best regards,
ABC


ok, now i see your macd , so you mean the trend lines drawn on ER2Z7 on subchart 2 is drawn by the macd indicator on subchart 3 ?
And you are simply using TL_NEW ?

thanks

User avatar
ABC
Posts: 527
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 296 times
Contact:

Postby ABC » 12 Dec 2007

You are correct. The MACD on subchart 3 is based on subchart 2 and drawing the trendlines on this subchart, because of TL_New.

Best regards,
ABC

aljafp
Posts: 184
Joined: 28 Oct 2005
Been thanked: 1 time

Postby aljafp » 13 Dec 2007

You are correct. The MACD on subchart 3 is based on subchart 2 and drawing the trendlines on this subchart, because of TL_New.

Best regards,
ABC


thanks ABC, tried and it works.. must have made a mistake the last time i tried.


Return to “MultiCharts”