거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Close on Trendline Touch - MetaTrader 5용 expert

조회수:
4402
평가:
(3)
게시됨:
2024.09.20 08:43
업데이트됨:
2024.09.20 16:43
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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.