[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [RT] selling services (and a gift)



PureBytes Links

Trading Reference Links

Hello crescntbch,
Thank you for the modified code. I am looking for an indicator that
would plot lines and labels at fib points between 2 points [ a high
and a low point] I would like to be able to put a letter A on high
point and then letter B on low point then when I recyle with status
button the fibs between these 2 points would plot.  I have something
similiar with the Andrews median line but do not know how to use just
2 points nor make the fibs between the 2 points.

If you have already programmed something like this I would appreciate
seeing some of the code to be able to do the above.  Thanks in
advance.

Tuesday, December 24, 2002, 12:49:51 PM, you wrote:

cdcn> Thanks to Clyde again for the quality and consistency of his posts -- I like the ellipse. I put it on one-minute bars, and was reminded that TS redraws trendlines with each new bar. This
cdcn> annoyed me (again). So I adapted Clyde's code to use plot's instead of tl's. This makes the refresh faster. 

cdcn> The change is simple. (1) Comment out all the lines that draw the trendlines, i.e. the lines that begin with "tl_". Note there are 3 places a new trendline (tl_new) is drawn. And (2), add the
cdcn> plot statements to the code block begins with "if Condition1 then begin". Set their style to "line". The result should look like this:

cdcn>         If Condition1  then begin
cdcn>            plot2[currentbar-ii](yys1,"",Value95,LinStyl,LinWide);
cdcn>            plot3[currentbar-ii](-yy1+yys1,"",Value95,LinStyl,LinWide);
cdcn>            plot4[currentbar-ii](yy1+yys1,"",Value95,LinStyl,LinWide);
cdcn> { comment-out the trendline stuff
cdcn>           {Plot + side of ellipse}
cdcn>           han = tl_new(datexp1,timexp1,yy1+yys1,datexp, timexp,yy+SumY);
cdcn>           tl_setcolor(han, Value95);
cdcn>           tl_setsize(han, LinWide);
cdcn>           tl_setstyle(han, LinStyl);
cdcn>           tl_setextright(han,false);
cdcn>           tl_setextleft(han,false);}
cdcn>           {Plot - side of ellipse}
cdcn>           han = tl_new(datexp1,timexp1,-yy1+yys1,datexp, timexp,-yy+SumY);
cdcn>           tl_setcolor(han, Value95);
cdcn>           tl_setsize(han, LinWide);
cdcn>           tl_setstyle(han, LinStyl);
cdcn>           tl_setextright(han,false);
cdcn>           tl_setextleft(han,false);}
cdcn> end of comment-out }
cdcn>         end;   


cdcn> I used this tl approach for the Log Spiral I posted a while ago, with versions for both plot's and tl's. The tl's looked better and were easier to use.

cdcn> Someday I will get around to simulating the AdvGET Ellipse function, and Clyde's code will help display it. It should be possible to "move" the ellipse in real time.

cdcn> /Gregory Wood



cdcn> To unsubscribe from this group, send an email to:
cdcn> realtraders-unsubscribe@xxxxxxxxxxxxxxx

 

cdcn> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




-- 
Best regards,
 dayscalper                            mailto:dayscalper@xxxxxxxxxxxxxx


------------------------ Yahoo! Groups Sponsor ---------------------~-->
DVD Rentals with No Late Fees - Try Netflix for FREE!
http://us.click.yahoo.com/.ZSp6B/dlOFAA/46VHAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/