Type/to search

Trendelicious

Rising
1
Follow
1789
Followers

This indicator uses the rolling middle of highest and lowest points over a period of time to determine if the asset is currently in an uptrend or a downtrend.

It helps visualize the current trend.

Parameters :
1/ length : the length of the period of time over which the highest and lowest will be considered
2/ price source : the source that will be used for calculations
3/ aggressive mode : if true, the trend direction will be more responsive to price change and will move faster from uptrend to downtrend and the other way.

Use on a higher timeframes to avoid the noise (4h, 12h, 1d etc.)

DISCLAIMER:

This is not an advice to trade. Use at your own risk.
The author of this script cannot be held responsible for any losses incurred directly or indirectly by the usage of this indicator.

backtest

img

Source
Pine
/*backtest
start: 2022-05-09 00:00:00
end: 2022-05-15 23:59:00
period: 30m
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

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

//@version=5
Strategy parameters
Strategy parameters
length
Price Source
Aggressive Mode
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)