Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

Creat Button Close BuySell On Chart - script per MetaTrader 5

Visualizzazioni:
2009
Valutazioni:
(1)
Pubblicato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Features

  • GUI Buttons: "Close Buys" and "Close Sells" with customizable colors, positions, and text.

  • Dynamic Visibility: Hides buttons when no positions exist (optional).

  • Position Closure: Closes all buy/sell positions on button click; shows net profit (profit + swap + commission).

  • Event Handling: Uses 100ms timer for updates and chart events for clicks.

  • Profit Calculation: Computes net profit, including commission from trade history.

Use Case

Simplifies closing positions for traders on a specific symbol.

Feedback

If you have suggestions or encounter issues, please leave a comment on the MQL5 CodeBase page or contact me through the MQL5 community. Your feedback is valuable for improving this tool!

Happy trading!


LotSize Calculation LotSize Calculation

This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

SuperTrend_Enhanced SuperTrend_Enhanced

The SuperTrend Indicator is a dynamic trend-following tool based on ATR. It plots a colored line above or below price to indicate bullish or bearish conditions. When the price crosses the line, a signal arrow appears. Fully customizable with ATR period, multiplier, arrows, labels, and colors. Suitable for all instruments and timeframes. Ideal for scalping, swing, and intraday trading. Combine it with other indicators for stronger setups.

Crash Spike Trade Pattern Crash Spike Trade Pattern

This indicator detects a specific bearish spike formation over 3 candles

CBitBuffer Class - Data Serialization in MQL5 CBitBuffer Class - Data Serialization in MQL5

A class for reading and writing individual bits or bit sequences to and from a buffer.