Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Sign in to follow this  
aaa

TL_SetStyle Bug

Recommended Posts

attachment.php?attachmentid=13737&stc=1&d=1253955962

 

Hello everybody !

 

It tooks long time and investigations before I've found a bug which slowed down mysteriously but dramatically MC

 

In my pivot script I've added these lines

 

inputs:

...

PivotStyle( 2 ), // or 3

PivotSize ( 4 ),

 

...

 

TL_SetStyle(TL_PP, PivotStyle);

TL_SetSize(TL_PP, PivotPPSize );

 

Execpt 1 ( Tool_Solid ________________ )

 

all the others styles values must never be more than 1 !

 

Hope that it helps

aa.thumb.jpg.eeeabb5ba9e0b5dc1b082237eae75035.jpg

Share this post


Link to post
Share on other sites
that's because there is an error in coding:

the code is adding a NEW trendline at every bar.

the dotted line you see is not a dotted line...

each dot is actually a trendline; if you click on the dot, you can drag the dot out and see the trendline.

 

 

You were right Tams and I don't know why I haven't read this post before = I should wear glasses, or stop drinking !!! :crap:

 

 

 

In a script, If we add

 

TL_SetSize(Value99, 4 ); // 4 is an example, in fact a thickness more than 0

 

to a trendLine (value99) Dashed or Dotted

 

It transforms each Dash or Dot in an object

 

Pivots starts to be heavy to manage for the GPU/CPU

 

This is why it is not possible to increase the weight in the format study (?)

 

attachment.php?attachmentid=13744&stc=1&d=1253999069

 

I hope that my post is clearest now and I'll be please to clearer it more if needed.

 

Sincerely Yours

 

aaa

aa.jpg.d7d632821c81f4a68be7ffacf362a8b6.jpg

Edited by aaa

Share this post


Link to post
Share on other sites
that's because there is an error in coding:

the code is adding a NEW trendline at every bar. <-- I mean it should not be doing it. It should draw ONE line and that's it.

the dotted line you see is not a dotted line...

each dot is actually a trendline; if you click on the dot, you can drag the dot out and see the trendline.

 

 

go to your chart...

 

click on your trendline... hold down the mouse... and DRAG the line away.

 

what do you see?

 

do you see another line there?

 

 

 

.

Edited by Tams

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.