Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

Close on Trendline Touch - expert pour MetaTrader 5

Vues:
2336
Note:
(3)
Publié:
2024.09.20 08:43
Mise à jour:
2024.09.20 16:43
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

UPDATE this wont work on the touch only close sorry , In comment section is revised code. 

TL SHORT CLOSE EA 

  • Closes a short trade when bar 
  • closes above upper trendline  - loss
  • or touches lower trendline  - profit

TL LONG CLOSE EA 

  • Closes a long trade when bar
  • closes below lower trendline - loss
  • or touches upper trendline  - profit



Draw your trendline manually or

use an auto trendline indicator [ not recommended  ]

. Does NOT open trades but closes your manually or EA opened trade.


  • Must draw both upper & lower Trendlines
  • MUST Download Indicators in COMMENT SECTION
  • EAs are based on once per bar - So leave the chart on the timeframe you want the bar to close.







Close On Trendline Close On Trendline

Closing EA

Risk translation of percentage risk Risk translation of percentage risk

Translate risk percentages to the monetary figure based on the account balance

ChartObjectsCopyPaste ChartObjectsCopyPaste

Copy and paste selected graphical objects between charts via Windows clipboard as text. Use Ctrl+Q on a source chart, then Ctrl+J on a target chart.

Code To Check And Delete Chart Objects For MT5 Code To Check And Delete Chart Objects For MT5

- The script scans through the current chart for any available chart objects, - Counts and delete them accordingly - And log the the names of the objects on the chart respectively.