TrendLines with AlertsThis isn't my own work, hence giving it in Open Source library for others to benefit from it too.
I have tried to refin the output of trendlines in this Strategy
The original Code is available at
The script needs some modifications, so I'll be making further updates in future, but for now I'm publishing this because most people don't know how to track trandlines, moreover, some use Line.New() by tradingview Pinescript, which again is a bit difficult to deal with.
This script is a basic version of trendlines on a certain angle (anglecheck was provided by the original author in his script).
Nothing fancy in this script.
Also Converted the original Script to Pinescript v4.
Trendbreak
ADX Di+ Di- [Gu5]Fill indicates Strong Trend
Cross indicates End of Trend
--
El relleno indica una fuerte tendencia cuando el Di supera "Level Trend"
El cruce de Di+ con Di- indica el fin de la tendencia
Cuando el valor del ADX es menor a "Level Range", estamos en Rango
Range Action Verification IndexThe Range Action Verification Index or RAVI as it is commonly known is a trend detection indicator.
When RAVI is greater than 1% for longs and -1% for shorts (FX setting), the currency is in a trend.
The standard MA settings are 7 and 65 days for use on the daily chart, which are the cycles of 7 days and 3 months.
For trading the hourly charts the moving averages should be set to 24 and 120 with a threshold of 3%.
RAVI also keeps you out of a trend less market, so if the RAVI does not break above or below the set threshold,
the market is trend less.
Trend Break CandlesBar Colors based on trend breaks
Trend lines not included, just drawn as an example of what is happening.