AkselitoLibrary
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © akselanil

//@version=5

// @description TODO: add library description here
library("AkselitoLibrary")

// @function TODO: add function description here
// @param x TODO: add parameter x description here
// @returns TODO: add what function returns
export fun(float x) =>
	//TODO : add function body and return value here
	x

export hi( float val = high ) =>
	var float ath = val
	ath := math.max( ath, val )

export oda( float val ) =>
	var float oda = val
	oda := ta.atr( val ) 

export uho( float val1, float val2 ) =>
	var float uho = val2
	uho := ta.ema( val1, val2 )

export dvd( float val1, float val2, float val3 ) =>
	var float dvd = val1
	dvd := ta.sar( val1, val2, val3 )

export refbu( float val1, float val2 ) =>
	var float refbu = val1
	refbu := val1 + ( 1 * val2 )

export refbm( float val1 ) =>
	var float refbm = val1
	refbm := val1

export refba( float val1, float val2 ) =>
	var float refba = val1
	refba := val1 - ( 1 * val2 )

export refiu( float val1, float val2 ) =>
	var float refiu = val1
	refiu := val1 + ( 2 * val2 )

export refia( float val1, float val2 ) =>
	var float refia = val1
	refia := val1 - ( 2 * val2 )

export refuu( float val1, float val2 ) =>
	var float refuu = val1
	refuu := val1 + ( 3 * val2 )

export refua( float val1, float val2 ) =>
	var float refua = val1
	refua := val1 - ( 3 * val2 )

export refdu( float val1, float val2 ) =>
	var refdu = val1
	refdu := val1 + ( 4 * val2 )

export refda( float val1, float val2 ) =>
	var float refda = val1
	refda := val1 - ( 4 * val2 )

export gd( float val1, float val2, float val3, float val4 ) =>
	var float gd = val1
	gd := ( val4 - val1 ) / ( val2 - val3 )

export vke( float val1, int val2 ) =>
	var float vke = val1
	vke := ta.cci( val1, val2 )

export doc( float val1, int val2 ) =>
	var float doc = val1
	doc := ta.roc( val1, val2 )

export gge( float val1, int val2 ) =>
	var float gge = val1
	gge := ta.rsi( val1, val2 )




