PureBytes Links
Trading Reference Links
|
Use the Modulo operator. From the help file:
parentheses
are not used, the precedence is as follows (higher precedence listed
first):
No Symbol Meaning 1 ++ Post-increment/pre-increment (i++
works like i = i + 1) 2 -- Post-decrement/pre-decrement (i-- works like i
= i - 1 )
3 [ ] Array element (subscript) operator 4 ^
Exponentiation 5 - Negation - Unary minus 6 * Multiplication 7 /
Division 8 % Remainder
(Modulo operator) 9 + Addition 10 - Subtraction 11 <
Less than 12 > Greater than 13 <= Less than or equal
to 14 >= Greater than or equal to 15 == Equal to 16 != Not equal
to 17 & Bit-wise "And" (AFL 2.1+) 18 | Bit-wise "Or" (AFL 2.1+) 19
NOT Logical "Not" 20 AND Logical "And" 21 OR Logical
"Or" 22 = Variable assignment operator
I you don't know what modulo is then you'll need to google
it.
d
> -----Original Message----- > From:
amibroker@xxxxxxxxxxxxxxx > [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of dralexchambers > Sent: Friday, March 23, 2007 1:00 PM >
To: amibroker@xxxxxxxxxxxxxxx > Subject: [amibroker] How would I do
this > > How do I find the next price that ends with xxx50 (GBPUSD)
from > today's open price, so: > > Open (today) =
1.8999 > > varABOVE = 1.9050 > varBELOW =
1.8950 > > Thanks - alex > > > > Please note
that this group is for discussion between users only. > > To get
support from AmiBroker please send an e-mail directly to > SUPPORT {at}
amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news
always check DEVLOG: > http://www.amibroker.com/devlog/ > >
For other support material please check also: > http://www.amibroker.com/support.html > >
Yahoo! Groups Links > > <*> To visit your group on the web, go
to: > http://groups.yahoo.com/group/amibroker/ > >
<*> Your email settings: > Individual Email
| Traditional > > <*> To change settings online go
to: > http://groups.yahoo.com/group/amibroker/join >
(Yahoo! ID required) > > <*> To change settings via
email: > mailto:amibroker-digest@xxxxxxxxxxxxxxx >
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx > >
<*> 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/ > >
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|