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
»
Basic Barssince Question
Basic Barssince Question -
Basic Barssince Question
Options
Email this topic
Watch this topic
Print this topic
» Normal
Threaded
Previous Topic
Next Topic
AMSH
#1
Posted :
Tuesday, February 17, 2009 2:59:45 PM(UTC)
Rank: Member
Groups: Registered, Registered Users
Joined: 11/15/2008(UTC)
Posts: 17
Hey All,
Pretty basic question here, but I can't see what I'm doing wrong. Perhaps I'm using this argument incorrectly. When I apply the following as an indicator: BarsSince(L=(LLV(L,2))) it produces values up to about 10. Wouldn't this argument logically only return a one or two? If the L is being compared to the LLV of the low of the last 2 periods, then surely the returned value can only be one bar or two - either yesterday's low or todays is the LLV(L,2) so how can 10 bars have passed since this occured?
Thanks in Advance,
AMSH
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
.
wabbit
#2
Posted :
Tuesday, February 17, 2009 10:25:14 PM(UTC)
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
Try taking the indicator to bits and see how each part works, this will eventually tell you how the whole thing works.
Start by plotting in a chart:
LLV(L,2);
then in a new window, plot the binary signal:
L=LLV(L,2);
then you can wrap it in the BarsSince() in another new window:
BarsSince(L=LLV(L,2));
You should now be able to see why the BarsSince() returns values in excess of what you were expecting?
Hope this helps.
wabbit [:D]
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
(Hidden)
Discussions
»
Product and Service Development
»
Formula Assistance
»
Basic Barssince Question
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-2024, Yet Another Forum.NET