Scripts

Unfortunately, Manual trendline EA is unavailable

The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.

Check out other MetaTrader 5 codes:

Inside-Bar Outcome Tracker: Breakout Direction, Failure Rate and Time to Resolve Inside-Bar Outcome Tracker: Breakout Direction, Failure Rate and Time to Resolve

Finds every inside-bar pattern in the history of your chart and follows it to the end: which side of the mother bar broke first, whether the breakout held or failed within a few bars, and how many inside bars came before it. The histogram marks each breakout, boxes show the patterns on the chart, and a panel gives the statistics for your own symbol and timeframe, split by the number of inside bars and by the size of the mother bar, plus one line that can be pasted into a comment to compare symbols.

Daily Loss Limit Guard - close all and stay flat after the daily limit Daily Loss Limit Guard - close all and stay flat after the daily limit

A simple account guard: once the day's loss (equity against the balance at the start of the day) reaches your limit, it closes all positions, deletes pending orders and keeps the account flat until the next day. Works on manual trades and on any EA. Never opens trades.

Break-Even Stop Mover with Locked Profit Break-Even Stop Mover with Locked Profit

Moves the stop loss of open positions to break-even plus a small locked profit once they reach a profit trigger. Works on manual trades and on trades from any other EA (magic filter). Never opens or closes trades and never moves a stop backwards.

Candle Streak Statistics: What Happens After N Same-Color Bars Candle Streak Statistics: What Happens After N Same-Color Bars

Counts run of bars of the same color and measures what the next bar did after a run of every length: how often the run continued, how often it reversed, and how far the next bar moved in ATR. The figures are built from the history of your own symbol and timeframe, each row is compared with the share of bars of that color, and the histogram shows the length of the run at every bar. A panel gives the table and one line that can be pasted into a comment to compare symbols.

CustomStopOut: your own margin call and stop-out levels, worst position closed first CustomStopOut: your own margin call and stop-out levels, worst position closed first

A script that sets your own margin call and stop-out levels above the broker's. It alerts when the margin level falls below your margin call level and, below your stop-out level, closes positions one at a time, the worst net result first, until the level is back up, the way a broker stop-out works.

No suitable codes?
Choose and download
one of the available library codes
for MetaTrader 5