After finding a huge amount of use from TV user's wugamlo script Order Block Finder (Experimental) , I decided to make some much needed upgrades! Added support for plotting the last X number of Order Blocks and am currently working on a multi-timeframe version.
If you'd like to contribute to the MTF analysis portion, that would benefit tons of other scripts and...
Collection of external input utilities for conversion and other hacky functions
str_to_src(value) str_to_src - Convert the string value to the coresponding source series. It can be used to limit the "input.source" choices provided to the end user.
The most interesting part is that it can be used to overcome the "one...
Indicator working on the same logic as my other indicator " Institutional OrderBlock Pressure ".
But this one uses Accumulation/Distribution as a reference to find OrderBlock instead of Price Action.
This has a much cleaner interface and represents the Zones of OrderBlock by "Box".
It can work in addition to " Institutional OrderBlock pressure ".
-It can work...
A Magical little helper friend for Candle Math.
When composing scripts, it is often necessary to manipulate the math around the OHLC. At times, you want a scalar (absolute) value others you want a vector (+/-). Sometimes you want the open - close and sometimes you want just the positive number of the body size. You might want it in ticks or you might want it in...
This library provides various functions to reduce your time.
get a recent opentrade entry bar_index
Returns: (int) bar_index
get a recent closedtrade entry bar_index
Returns: (int) bar_index
get a recent closedtrade...
ma(source, length, type)
Generates moving average based on the given parameters
source : - series
length : - length of the moving average
type : - type of moving average (SMA, WMA, VWMA, RMA, HMA, LSMA, MAEMA, TMA) default: EMA
@ returns - moving average series
nearby(a, b, atr_period, atr_deviation)...
This indicator is to show constant in table using built-in math name space, coded in latest Pine Script version 5.
Credits to PineCoders.
- Display table by changing table position, font size and color.
This helper intend to simplify which color pair better with black or white color, may help some pine coders.
This color choice was inspired during plot especially user enable dark color theme.
Color displayed at table and label are based on Indicator name label and Indicator last value label displayed at Scales.
This library is a collection of weapons that will help us win the war against the market.
isNewbar(res, timezone) Checks if the res is in new bar at the current timeframe
res : - resolution of the bar to check if new
timezone : - timezone of the resolution
Returns: ch: - 1=true, 0=false
This script only provides a basic __setter and __getter registration function with a type-based limitation.
We don't want to blow the code with additional conditions. The suggestion was to get the basic functionality.
- Get/set/update global-like variables between functions
- No init needed. You can call a entry before you set it.
This is a developer friendly solution to the current PineScript limitation of not being able to easily configure presets for multiple timeframes.
If you're developing multi-timeframe strategies then you've no doubt done battle with built-in `input` function which only allows for a single default value. You've probably come up with all kinds of fancy workarounds,...