Description Usage Arguments Details Value Author(s)
Functions related to all the bars/candles
1 2 3 4 5 6 7 8 9 10 11 12 13 | bar(b)
is.bar(b)
isgreen.bar(b, pct = 0)
isred.bar(b, pct = 0)
isdoji.bar(b, pct = 0)
is.pricehit.bar(b, price)
is.pricexed.bar(b, price, dir = 1)
|
b |
- bar/OHLC, |
pct |
- percentage of points considered in calculation |
price |
- price |
dir |
- direction (GREEN/LONG stands for 1, SHORT/RED stands for -1) |
bar - converts OHLC object into bar class. Both are aliases infact
is.bar - checks if given object is a bar
isgreen.bar - evaluates if close of a bar is atleast percent greater than open
isred.bar - evaluates if close of a bar is atleast percent lessr than open
isdoji.bar - evaluates if close and open are near to each other by pct
is.pricehit.bar - evaluates if the price 'p' is hit by bar 'b'
is.pricexed.bar - evaluates if the bar 'b' closed on price 'p' in given direction 'dir'. if direction is - LONG/GREEN(1) - b closes > p , returns TRUE
TRUE/FALSE
isgreen.bar - returns TRUE/FALSE
isred.bar - returns TRUE/FALSE
isdoji.bar - returns TRUE/FALSE
is.pricehit.bar - returns TRUE/FALSE
is.pricexed.bar - returns TRUE/FALSE
Siva Sunku
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.