Join our fan page
- Views:
- 8066
- Rating:
- Published:
- 2024.01.07 12:47
- Updated:
- 2024.01.07 12:54
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
For MQL5 version please click here.
pine script v4 function I/O :
pivothigh(source, leftbars, rightbars) → series[float]
pivotlow(source, leftbars, rightbars) → series[float]
This indicator includes two simple functions to calculate the pivotshigh and pivotslow functions based on pine script. The functions can be used as copy and paste snippet in conversion projects from tradingview platform.
Note: The pivots indicators implemented in tradingview platform is lagging.

All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY. This script will close out your position using one large trade to hedge your position then using CloseBy() function to close all trades against the one large trade until all trades are closed. There can be a maximum of 500 open trades.

A simpler way to display Heikin Ashi

SSH is popular indicator as it uses simply two moving averages. This version is a mylti-TF of SSH with TF change ability from screen.

When we want to know how many times price will goes up and down 40 pips before breaking this channel, we will need Bounce Number tool.