Home
Discussions
Files
Register
Login
Welcome Guest! To enable all features please
Login
or
Register
.
Forum
Active Topics
Search
Help
Login
Register
Search
Notification
Error
OK
Discussions
»
Product and Service Development
»
Formula Assistance
»
BarsSince data array [RESOLVED]
BarsSince data array [RESOLVED] -
BarsSince data array [RESOLVED]
Options
Email this topic
Watch this topic
Print this topic
» Normal
Threaded
Previous Topic
Next Topic
Willie
#1
Posted :
Tuesday, February 7, 2006 1:42:21 AM(UTC)
Rank: Newbie
Groups: Registered, Registered Users
Joined: 6/3/2005(UTC)
Posts: 5
Location: Atlanta
I'm slightly confused on this one. On page 81 of the Formula Prime, the last two sentences state: BarSince(C>40) [color=blue:27ce01d883]This returns the number of periods that have passed since the closing price was greater than 40. If this is currently true, it will return a 0.[/color] My question is, does it return an INTEGER (number of periods that have passed) or does it return a BOOLEAN (If this is currently true, it will return a 0). Willie
User Profile
View All Posts by User
View Thanks
Wanna join the discussion?!
Login to your Discussions forum account
or Register a new forum account
.
weird
#2
Posted :
Tuesday, February 7, 2006 3:09:08 AM(UTC)
Rank: Advanced Member
Groups: Registered, Registered Users
Joined: 8/3/2005(UTC)
Posts: 40
Hi Willie, it is the integer value of the number of bars, and as stated if it is currently true on that bar, then the value will be 0, as the event is 0 bars away. regards Dave
User Profile
View All Posts by User
View Thanks
hayseed
#3
Posted :
Tuesday, February 7, 2006 3:17:38 AM(UTC)
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346
hey willie.... i'm not lookin at the primer now but "barssince(c>40)" will return the number of days since the security closed above 40 bucks providing its less than 40 today.... so 'adbe' would list 2 and 'adsk' would be 3 , 'amat' would be 1348 and so on.... that will be for securites that are today below 40...... for securities that are above 40 today it will list '0'.... it seems odd till you study on it abit...... or at least it did to me.....h
User Profile
View All Posts by User
View Thanks
Willie
#4
Posted :
Wednesday, February 8, 2006 12:53:37 AM(UTC)
Rank: Newbie
Groups: Registered, Registered Users
Joined: 6/3/2005(UTC)
Posts: 5
Location: Atlanta
Thanks. It makes sense now. Willie
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
(Hidden)
Discussions
»
Product and Service Development
»
Formula Assistance
»
BarsSince data array [RESOLVED]
Forum Jump
Discussions
Innovative Market Analysis
- Forum Feedback
- Online Help
--- MetaStock FAQ
--- MetaStock.com Website FAQ
- Welcome!
Product and Service Development
- Product Alerts
- Data Related Questions
- Error Messages
- Exchange Changes
- Formula Assistance
- LCI Toolkit
- MetaStock
- MetaStock Product Updates
- Product Wish List
- Testimonials
Special Interest Groups
- MetaStock Developer's Kit (MDK) Assistance
- Basic Coding Techniques
- Plugins & Addons
- Tips & Tricks
- Advanced Coding Techniques
Resource Library
- MetaStock Monitor Articles
- MetaStock U
--- Candlestick Forum
--- Tech Talk
--- Technical Guides to Energy Trading
--- TechniTrader
--- The Inside Technician
--- The Naked Trader
--- Traders State of Mind
- Press Releases
- Product Awards
--- MetaStock Data
--- MetaStock Products
--- Third Party Add-Ons
- Technical Analysis from A to Z
--- PART ONE
--- PART TWO
- Trader's Tips from TASC Magazine
--- 1999
--- 2000
--- 2001
--- 2002
--- 2003
--- 2004
--- 2005
--- 2006
--- 2007
--- 2008
--- 2009
--- 2010
--- 2011
--- 2012
--- 2013
--- 2014
--- 2015
--- 2016
--- 2017
--- 2018
--- 2019
--- 2020
--- 2021
--- 2022
--- 2023
--- 2024
- User Groups
- Video Instruction and Webinar Sessions
--- MetaStock Online User Group Archives
--- MetaStock Webinar Series
- VIP Interviews
Community Forums
- 3rd Party Advertisements
- General Chat
- MetaStock Advertisements
- Technical Chat
Administrative Forums
- MetaStock Partners
- Web Content
--- Archive
--- Beta Web Content
--- Bios
--- Events
----- MetaStock Conferences
----- Online Traders Summit
--- kb
----- Frequently Asked Questions
------- Legacy MetaStock FAQs
--------- Custom Formulas
--------- MetaStock Add-Ons
--------- MetaStock Data Feeds
----------- DataLink
----------- XENITH
--------- MetaStock Products.
----------- MetaStock RT and DC
--- MetaStock Spotlight
--- MS User Groups
----- USA
----- Caribbean
----- Australia
----- New Zealand
----- Online
--- Products
----- FAQs
--- mktg
----- summit
------- archive
------- sessions
----- home
----- Singapore
------- sessions
----- HongKong
------- sessions
----- KualaLumpur
------- sessions
----- Jakarta
------- sessions
----- Bangkok
------- sessions
----- seminar
------- sessions
----- Zurich
------- sessions
----- Amsterdam
------- sessions
--- support
----- downloads
------- mseod
------- msrt
Files
- MetaStock
--- MetaStock Files
--- Next big thing
- Programming
--- Programming Files
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
delete your posts in this forum.
You
cannot
edit your posts in this forum.
You
cannot
create polls in this forum.
You
cannot
vote in polls in this forum.
Powered by YAF.NET
|
YAF.NET © 2003-2025, Yet Another Forum.NET