Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Experts

ChartButton Class MT4 - expert para MetaTrader 4

Visualizações:
7180
Avaliação:
(7)
Publicado:
2023.04.23 21:25
Atualizado:
2023.08.15 20:37
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

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 Tutorial video I've made to demonstrate the basic Ideas:


Auto TP multiplied by SL Auto TP multiplied by SL

Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.

Ofir Blue Telegram API for any indicator Ofir Blue Telegram API for any indicator

Connect your indicator to Telegram with 3 lines of code This sample code enables to connect your indicator to Ofir Blue, the first trading application for Telegram

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 strategy.