Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Custom Angle Trendline - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

Custom Angle Trendline - indicator for MetaTrader 5

Custom Angle Trendline - indicator for MetaTrader 5

Custom Angle Trendline - indicator for MetaTrader 5

Sometimes we have to use trend lines based on custom angles for price action analysis, for example a 45 degree angle is considered more important for an up or down trend.
This indicator will help you draw a trendline that will match your custom angle on the last entered bar number


First right click on the chart > Go to properties > Common and proportional chart of your choice

Custom Angle Trendline - indicator for MetaTrader 5
Select indicator settings and enter your custom angle in degrees, e.g. 45
You have two options - Set Lower Line Angle and Set Upper Line Angle You can select the number of previous bars for calculation then the indicator will find the two recent highs and lows of the specified previous bars and draw a trendline that follows your custom input angle


Custom Angle Trendline - indicator for MetaTrader 5

Custom Angle Trendline - indicator for MetaTrader 5


Attachment download

📎 trendlinebyangle.mq5 (4.97 KB)

Source: MQL5 #35115

Verification code Refresh