Delete all objects on chart (main window and sub window) with drag and drop – script MetaTrader 5

Delete all objects on chart (main window and sub window) with drag and drop - script for MetaTrader 5
If there are objects cluttering the chart, sometimes you might want to start afresh without having to delete the entire chart and load another one. This means it may be efficient to drag a script onto the chart in order to clean it. Like a “clear” or “cls” but for objects. The script was meticulously

Click on the market chart to create a price alert – indicator MetaTrader 5

Click on the market chart to create a price alert - indicator for MetaTrader 5
This an indicator which understands mouse click and keyboard press, and the purpose is to create alerts at the price that the market has not yet reached. It can be very helpful to be alerted when the price crosses a particular value. It can be used to validate theories in a trading system, or alert

Three White Soldiers and Three Black Crows for Chart Symbol – EA MetaTrader 4

Three White Soldiers and Three Black Crows for Chart Symbol - expert for MetaTrader 4
This script is a trading strategy called “Three White Soldiers and Three Black Crows” implemented in MQL4. It identifies patterns in price action known as “Three White Soldiers” and “Three Black Crows” and executes buy or sell trades accordingly. Here’s a brief description of the key components of your script: The script is designed to

Virtual SL TP Pending with SL Trailing for Symbol Chart – EA MetaTrader 4

Virtual SL TP Pending with SL Trailing for Symbol Chart - expert for MetaTrader 4
T”Virtual_SL_TP_Pending_with_SL_Trailing.mq4.” It’s designed to manage trades by setting virtual stop loss and take profit levels, along with a virtual pending order with an optional trailing stop loss feature. Here’s a breakdown of the script: Copyright and Link: Specifies the copyright information and a link to the creator’s website. Version: Indicates the version of the script.

Harmonized Pending Hedge of open trades for chart symbol – script MetaTrader 4

Harmonized Pending Hedge of open trades for chart symbol - script for MetaTrader 4
This script sets pending hedges with distance in pips for chart symbol. If hedged are 100% harmonized strategy will do nothing, else calculates difference between Buy and Sell Trades and places a harmonized pending hedge 100%. Deletes old hedges for symbol and places new ones. This way can be used as manual trailing pending hedges,

Resize chart window from indicator (for Short Trend Reversal) – indicator MetaTrader 4

charts
You can simply add function void OnChartEvent(…) to your indicator the screens are from EA and its GUI, indicator only changes window size before compilation you need uncomment few lines //external dll prohibited 🙁 Resize chart window from indicator (for Short Trend Reversal) – indicator MetaTrader 4

Sell with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol – script MetaTrader 4

Sell with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol - script for MetaTrader 4
It has been over two yeas I don’t use  stop orders much. Instead of placing Stop Loss orders, I use hedged pending orders. I use this scripts often in my trading with keyboard shortcuts ALT+B vs ALT+S, so I think is useful enough to share this scripts with you. #property copyright     “Copyright 2024, MetaQuotes