What is it?
The real generic library. Which means it is just covering most built-in indicators / functions, but with more parameters, so the user don't have to write more few lines to achieve something simple and replicative.
Will tidy it up, and setting up in later stage.
Welcome to inbox me to improve the library...
Provides the traditional daily pivot values and a pivot vacinity function.
P(level, daysPrior) Returns the P value.
level : The level to caclulate.
daysPrior : The number of days in the past to do the calculation.
R(level, daysPrior) Calculates the R value for a given pivot...
Provides functions for calculating Nick Rypock Trailing Reverse (NRTR) trend values with higher precision offsets for both low, and high points rather than the standard single offset.
pnrtr(float low_offset = 0.2, float high_offset = 0.2, float value = close)
Offset used for nrtr low_point calculations. Default is 0.2.
This library functions returns some Moving averages and indicators.
Created it to feed my indicator/strategy "INDICATOR & CONDITIONS COMBINATOR FRAMEWORK v1 " which I will publish it as soon as possible.
Credits: Library includes some public indicators, snippets from tradingview & @03.freeman's ("All MAs displayed") scripts.
This is the same RSI7 used inside the 3cBot+ backtesting engine.
Use this code as example to develop your buy/sell signal indicators
and interface it to the backtesting engine.
Calculating buy/sell signals.
signal(RSI7_OverSold) Calculates buy/sell signals.
RSI7_OverSold : (default value 20) and RSI7_OverBought...
This library contains moving average functions that calculate values for which they do not exist by default in PineScript
tema(source,length) : Triple Exponencial Moving Average
dema(source,length) : Double Exponencial Moving Average
wwma(source,length) : Welles Wilder Moving Average
B Bands with some squeese indicating additions
bbands_lines() Calcs BB Returns: the tree lines, upper, basis and lower
bbands_fast_ma() calcs the fast moving average, to be used to compare how prise is positioned against BB Returns: the fast EMA line, and the difference between it and the BB basis line
Provides function that returns the type of moving average requested.
ma(type, src, len) Returns the moving average requested.
type : The type of moving average (choose one of "EMA", "SMA", "DEMA", "TEMA", "WMA", "VWMA", "SMMA", "HMA")
src : The source
len : The length
Returns: The moving average requested or `na`
Library for the number of shares purchased
SizeCalc(totalAssets, unit, lossPercent, maxLossPerShere) Calculate the number of shares to be purchased from the initial capital and the maximum loss per share
totalAssets : Initial capital
unit : A unit of the number of shares to be traded in one trade
Contains utilities for finding key levels of support, resistance and direction of trend.
superTrendPlus(multiple, h, l, atr, closeBars) A more flexible version of SuperTrend that allows for supplying the series used and sensitivity adjustment by confirming close bars.
multiple : The multiple to apply to the...
Contains utilities for generating moving average values including getting a moving average by name and a function for generating a Volume-Adjusted WMA.
vawma(len, src, volumeDefault) VAWMA = VWMA and WMA combined. Simply put, this attempts to determine the average price per share over time weighted heavier for recent values. Uses a...