| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Power Language Problem I've addedd Xtension Line 2 an indicatort with tl_new_self The pblem is that Multicharts doesn't erase the INTRABAR drawned line after the 1rst bar Each Bar it moves 2 the left like in my snapshots ( please use a 1 mn resolution = it's quicker 2 C it) Very annoying ![]() Is there a kind Power Language Xpert 2 help me 2 resolve that pblem? ![]() rgds aaa PS Hope that it's not a bug Last edited by aaa; 05-13-2010 at 12:08 PM. | ||
| |
|
| | #2 | ||
![]() | Re: Power Language Problem Moving Average with extension http://www.traderslaboratory.com/for...sion-5642.html ![]() 128.84
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #3 | ||
![]() | Re: Power Language Problem I've learned all from them ! Sorry but B4 posting I've tried also your Obliq Line Xtension code with the same problem If U have time 2 load on your graph the MACD Xample U'll C that's there is a bug (?) Code:
inputs: FastLength( 2 ), SlowLength( 4 );
variables: var0( 0 ) ;
var0 = MACD( Close, FastLength, SlowLength ) ;
Plot1( var0, "MACD" ) ;
// TAMS Indicator Oblique
variables:
id.tl.Obl( -1 );
if currentbar = 1 then
id.tl.Obl = tl_new_self(date, time[1], var0[1], date, time, var0 );
tl_setbegin( id.tl.Obl, date, time[1], var0[1]);
tl_setend( id.tl.Obl, date, time, var0);
tl_setextright( id.tl.Obl, true);
tl_setcolor( id.tl.Obl, white );
tl_setsize( id.tl.Obl, 1 );
{
// Indicator Horizontal
variables:
Old.id.tl.Hor( 0 ),
id.tl.Hor( 0 ),
id.tl.Hor.ext( 0 );
If TL_Exist( Old.id.tl.Hor) then
TL_Delete( Old.id.tl.Hor);
if lastbaronchart then
begin
id.tl.Hor.ext = tl_new_self(d, t, var0, d, t, var0);
id.tl.Hor = TL_SetExtRight( id.tl.Hor.ext , True );
Old.id.tl.Hor = id.tl.Hor.ext ;
end;
tl_setsize( id.tl.Hor.ext, 1 );
tl_setcolor( id.tl.Hor.ext, white )
} | ||
| |
|
| | #4 | ||
![]() | Re: Power Language Problem you can only delete something if you know which is the one you want to delete.
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #5 | ||
![]() | Re: Power Language Problem OK understood now | ||
| |
|
| | #6 | ||
![]() | Re: Power Language Problem Code: If TL_Exist( Old.id.tl.Hor) then TL_Delete( Old.id.tl.Hor); What is Old.id.tl.Hor Where did it come from ?!?!?
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #7 | ||
![]() | Re: Power Language Problem I suggest that U try with your code // TAMS Indicator Oblique And U'll C the same prblem I'm afraid that tl_new_self is bugged I guarantie that these codes works perfectly on a main chart like with an average Last edited by aaa; 05-13-2010 at 01:39 PM. | ||
| |
|
| | #8 | ||
![]() | Re: Power Language Problem Quote:
__________________ Only an idiot would reply to a stupid post | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with Ninja? | bailey123 | Trading and the Markets | 7 | 05-09-2010 04:34 PM |