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

[RT] Re: CL_Handy Display of Close Price



PureBytes Links

Trading Reference Links


As is usual when you do something in a 
hurry you goof.
 
The statement
     
Text_SetLocation(Value1,D,Value1,C);
 
should be;<FONT 
face="Courier New">     
Text_SetLocation(Value2,D,Value1,C);
 
 
Did not change the first Value1 to Value2 when I did 
a
quick fix.
 
Also,  some have reported not having  ADDTIME  
function.
 
Here it is as Omega originally published it:
 
 
{ User Function: 
AddTimeInputs       : xTime - time in 24 hour 
format.               
Minutes - amount to add/subtract to xTime. 
 
Sample Usage :   if (Time[0] > AddTime 
(Sess1StartTime, +30))     then ...
 
Returns: Adjusted time in 24 hour 
format.Properties  [ ] Auto Detect  [*] Simple  [ 
] Series
 
Provided by Product Support 
Dept.         of Omega Research, 
Inc. }
 
 
Inputs : xTime   (NumericSimple), 
         Minutes (NumericSimple) 
;
 
AddTime = MinutesToTime (TimeToMinutes (xTime) + Minutes) 
;
- - - - - - - - - - - - - - - - - - - - -  - - - - - - -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- - - - 
- - - - - - - - - - - - - - - -  - - - - - - - -
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  ----- Original Message ----- 
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From: 
  Clyde Lee 
  
  To: <A title=realtraders@xxxxxxxxxxxxxxx 
  href="mailto:realtraders@xxxxxxxxxxxxxxx";>realtraders@xxxxxxxxxxxxxxx 
  
  Sent: Monday, November 05, 2001 
  11:48
  Subject: CL_Handy Display of Close 
  Price
  
  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- - - 
  - - - - - - - - - - - - - - - - -  - - - - - - - 
-



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.