Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

Close on Trendline Touch - MetaTrader 5 için Uzman Danışman

Görüntülemeler:
792
Derecelendirme:
(3)
Yayınlandı:
2024.09.20 08:43
Güncellendi:
2024.09.20 16:43
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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.