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

[RT] Handy Display of Close Price



PureBytes Links

Trading Reference Links


Here is some code that will produce a 
display of the
closing price just to the right of the last 
reported
closing price.
 
This really only works well with  TS2K 
and TS6.
 
I find it really handy.
 
Clyde
 
 
 
 
 
 
{Post_Close_Price -- Indicator  
 Purpose:  Post the closing price value at the 
current           position 
of the closing point on the 
closing           (or 
current) bar on a chart.
 
 Author:   Clyde 
Lee           Use in good 
health. }
 
 Inputs:  
NumDec(2),        {Number of decimal spaces 
to use on post}          
Color(white);     {Color of text that is 
posted.          }
 
 Vars:    
DoInit(True);
 
 Value1=AddTime(T,BarInterval);
 
 If LastBarOnChart then begin   If DoInit then 
begin      
Value2=Text_New(D,Value1,C,"="+NumToStr(c, numdec));   
end   else  begin     
Text_SetLocation(Value1,D,Value1,C);     
Text_SetString(Value2, "="+NumToStr(c, numdec));   
end;   DoInit=False;   Text_SetStyle(value2, 0, 
2);   Text_SetColor(Value2,color);End;
 
 
 
 
- - - - - - - - - - - - - - - - - - - - 
-  - - - - - - -Clyde Lee   
Chairman/CEO          (Home of 
SwingMachine)SYTECH 
Corporation          email: <A 
href="mailto:clydelee@xxxxxxxxxxxx";>clydelee@xxxxxxxxxxxx  7910 
Westglen, Suite 105       
Office:    (713) 783-9540Houston,  TX  
77063               
Fax:    (713) 783-1092Details 
at:                      
www.theswingmachine.com- - - - 
- - - - - - - - - - - - - - - -  - - - - - - - 
-






Yahoo! Groups Sponsor


ADVERTISEMENT









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





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.