Type/to search

Pivot Trend

趋势
1
Follow
1781
Followers

Hello Traders,

Another original idea is here with you. Actualy I can say that it's a breakout strategy that uses multiple Pivot Point's averages.

How it works?

  • it finds the Pivot Points , you can set the length as you want
  • it gets averages of Pivot Highs and Pivot Lows, you can set the number of Pivot Points to be included
  • it compares the current closing price with averages of Pivot Highs and Pivot Lows
  • if both are positive or negative then trend changes

You have two options:

  • Pivot Point Period => is the length that is used to find Pivot Points . means it checks left/right bars if it's Pivot Point (4 by default)
  • Number of PP to check => is the number of Pivot Points that the script finds and calculates the averages (3 by default)

backtest

img

Source
Pine
/*backtest
start: 2022-04-30 00:00:00
end: 2022-05-29 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/
// © LonesomeTheBlue

//@version=4
Strategy parameters
Strategy parameters
Pivot Point Period
number of PP to check
Colors
coldn
Related strategies
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)