Introducing LarkBars & LarkValue, two custom scripts

1888 16 30
Both indicators are designed to find tops and bottoms, both work on all time frames, and the important values are configurable.
• LarkBars plot support and resistance lines _in real time_. These can be used as current turning points when they trigger (should be combine with other indicators), or show past areas of support / resistance.
• LarkValue attempts to show value ares of price movement, marked in green. This can be used as a trigger to get into something, or hold off. Overlaid are two STO lengths, which can be used to watch divergence, or otherwise.

These two scripts are currently private, reworking some of the code.
how can I start using larkbars?
@Tsentr, Hi Tsentr, I've actually decided not to release larkbars for the time being. I have written various private algorithms over the years for different platforms, some of which I consider to have an edge. I actively use these different scripts to write automated trading systems, as well as casually trade in a discretionary way.

That being said, I am currently working on a blog ( ). This blog will have posts on how to think about, and write meaningful algorithms for the markets. Something that I believe is much more beneficial for those interested in learning to make sense of these ever-changing markets than giving out scripts that will eventually lose edge.

The question is never if a system will break down, but when.
When will these indicators become available? Looks like great stuff!
don't know if you can see the whole function i posted, but it goes somewhat like this:

function getLinePrice( flag )
price = flag ? na(price) ? close : price
damn it! my post doesn't display properly again! and i didn't save it! aarrghh! getsatisfaction really needs to increase those buffers.
TheLark isomorph
Lol I hear ya, gotta start typing your responses on pastebin or something hehe
+1 Reply
the larkvalue is really cool. i was wondering if that were possible at all with Pine... but apparently it is.

i am curious: how do you handle previous high/low values? i mean, how do you keep track that a high has been reached, and later, even though the price falls from there, you keep plotting those circles (that, i understand how to do--something along these lines?:

fallingsince(s,cond) =>
acc = cond ? 1 : na(acc) ? 0 : acc ? s < s : 0

but then how does the script know when to stop plotting circles?

what's really puzzling is that sometimes it goes plotting circles for many bars and sometimes for very few bars.

do you do a simple diff with some preset distance from the circle to the close? for ex, am looking at the left side of your chart where there is a long green line. this line stops after the price keeps moving up further. is that achieved by coding something like this:

if price > 50 pips then stop plotting circles ?

but if so, then why does the script keep plotting circles when the price keeps plunging all the way to 28? there is now way of knowing at that point the script will go back up.

also, how do you handle programmatically switching to a different securities that is being quoted with 5 decimals instead of 2? i tried but couldn't. i think it is still not possible at the moment, or am i missing something?
TheLark isomorph
It's actually a lot more crude than you think.
The bars or dots here, start plotting when an condition is met, the value is then held until the condition is met again.
So something like
cond1 = blah ? 1 : 0
holder = cond1 ? high : holder

With a value holding over like this you can then more easily call upon it and compare it with other things
+1 Reply
TheLark TheLark
ugh it eats the sytax! The holder in holder should be holder 1 bar ago
+1 Reply
isomorph TheLark
yeah... i had the function operator in my post but getsatisfaction doesn't seem to like (i have to double it and put in brackets otherwise it won't show properly) single [] or [], confuses them for beginning/end of html elements.
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out