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

ChartButton Class MT5 - MetaTrader 5용 expert

조회수:
6923
평가:
(13)
게시됨:
2023.04.23 21:05
업데이트됨:
2023.08.15 21:07
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

The main Idea behind it, is that it reacts to chart changes and mouse movements. If the mouse fits the given conditions the Button will be selected and will be draggable. I monitor the dragging with a custom chart event: EVENT_DRAG.The button's onChartEvent function is always called in the built in OnChartEvent function, and it passes down the informations to the different handler functions.

Check out the youtube tutorial I've made about the Idea behind it:


    Volume Average Groups For Comparison Volume Average Groups For Comparison

    Learn how to split the volume data into different groups so that you can compare them and create a strategy based on volume average.

    Benchmark Benchmark

    A set of macros to benchmark small code snippets for their execution speeds.

    Multi BuyOrders Multi BuyOrders

    To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

    Multi SellOrders Multi SellOrders

    To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading