Need Draw Trendline help- renko and points charts

Questions about MultiCharts and user contributed studies.
sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

I can't get " tl_new " to work on Renko or Points charts.. Is there a "trick" to getting them to work ??
Just trying to identify the high and low for the day, or is the problem with Highd and Lowd on renko & points charts ?..

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Need Draw Trendline help- renko and points charts

Postby TJ » 29 Dec 2011

I can't get " tl_new " to work on Renko or Points charts.. Is there a "trick" to getting them to work ??
Just trying to identify the high and low for the day, or is the problem with Highd and Lowd on renko & points charts ?..
try

TL_NEW_s



you will also need to use TIME_s to go with it.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

Great, I'll try that .. Thanks TJ !!!

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

I can't get " tl_new " to work on Renko or Points charts.. Is there a "trick" to getting them to work ??
Just trying to identify the high and low for the day, or is the problem with Highd and Lowd on renko & points charts ?..
try

TL_NEW_s

you will also need to use TIME_s to go with it.
***********************************************************************
That wasn't it- Highd(0) does NOT work on renko or point charts, I get a return of -1..not sure why. (so it wasn't a trendline problem)..

1111229,1236,highD= -1.00,Cls= 99.65
1111229,1240,highD= -1.00,Cls= 99.69
1111229,1247,highD= -1.00,Cls= 99.73
1111229,1252,highD= -1.00,Cls= 99.69
1111229,1258,highD= -1.00,Cls= 99.64

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Need Draw Trendline help- renko and points charts

Postby TJ » 29 Dec 2011

I can't get " tl_new " to work on Renko or Points charts.. Is there a "trick" to getting them to work ??
Just trying to identify the high and low for the day, or is the problem with Highd and Lowd on renko & points charts ?..
try

TL_NEW_s

you will also need to use TIME_s to go with it.
***********************************************************************
That wasn't it- Highd(0) does NOT work on renko or point charts, I get a return of -1..not sure why. (so it wasn't a trendline problem)..

1111229,1236,highD= -1.00,Cls= 99.65
1111229,1240,highD= -1.00,Cls= 99.69
1111229,1247,highD= -1.00,Cls= 99.73
1111229,1252,highD= -1.00,Cls= 99.69
1111229,1258,highD= -1.00,Cls= 99.64
can't help you without more detail...

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

TJ: The Highd(0) function returns a -1 when used on a Renko chart..instead of returning the high of the day.. I'm not sure how to fix it.. (works fine on a minute chart)

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Need Draw Trendline help- renko and points charts

Postby TJ » 29 Dec 2011

TJ: The Highd(0) function returns a -1 when used on a Renko chart..instead of returning the high of the day.. I'm not sure how to fix it.. (works fine on a minute chart)
Go to Format Instrument,
Under the Settings tab,
Choose "Break on Session".

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

TJ: The Highd(0) function returns a -1 when used on a Renko chart..instead of returning the high of the day.. I'm not sure how to fix it.. (works fine on a minute chart)
Go to Format Instrument,
Under the Settings tab,
Choose "Break on Session".
************************************
That didn't help, still returns -1..

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Need Draw Trendline help- renko and points charts

Postby sptrader » 29 Dec 2011

OK, I tried opening the function that HighD calls, " OHLCperiodsAgo" and deleted a section called "condition1" and made condition1 always true (1=1), (not sure if that will cause other problems)..but it's OK so far..
then created the modified function (HighD2) to call when I use Renko charts.
Here is the result..
Attachments
Renko hi-lo.png
(49.94 KiB) Downloaded 409 times


Return to “MultiCharts”