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

[amibroker] 64 bits. How much precision?



PureBytes Links

Trading Reference Links

Use this to set your line position points. These are only set for Open price

X0 =  valuewhen( datenum()!=ref(datenum(),-1) and datenum()==now(3),
barindex() );
Y0 = valuewhen( datenum()!=ref(datenum(),-1) and datenum()==now(3), O);

X1 = barcount-1;
Y1 = Y0;

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: Arthur Sawilejskij [mailto:arthur@xxxxxxxxxxxxxxx] 
Sent: Saturday, April 17, 2004 2:42 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] plot lines on intraday chart


>I'm using an intraday chart and want to record the opening for the day and 
>then make some additions to the opening price  - by adding and subtracting 
>fixed amounts - and then plot these support and resistance lines.

The problem is I don't want them to move and adjust with subsequent price 
moves in my 5 minute charts - I want them fixed so I can set opening price 
breakout ranges.

When I try to do it - all I get is the lines stepping in parallel with the 
bar charts - instead of staying fixed in relation to the opening quote of 
the day.

Can someone please tell me how to how to go about setting and 
plotting  line(s) on the chart based on the opening price of the day only.

TIA.

Arthur












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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