@sunrise1002/tats
Version:
Techincal Indicators written in javascript
14 lines (13 loc) • 463 B
TypeScript
/**
* Calcaultes the fibonacci retracements for given start and end points
*
* If calculating for up trend start should be low and end should be high and vice versa
*
* returns an array of retracements level containing [0 , 23.6, 38.2, 50, 61.8, 78.6, 100, 127.2, 161.8, 261.8, 423.6]
*
* @export
* @param {number} start
* @param {number} end
* @returns {number[]}
*/
export declare function fibonacciretracement(start: number, end: number): number[];