Codes

Hacking objects in an EX5 for MetaTrader 5

A demonstration on how to modify objects in an indicator without having the source code

Bollinger Bands with post outer band smoothing for MetaTrader 5

Bollinger Bands with controllable outer band smoothing (post smoothing)

Bollinger Bands with pre outer band smoothing for MetaTrader 5

Bollinger Bands with controllable outer band smoothing (pre smoothing)

Tick RSI Adaptive for MetaTrader 5

RSI adaptive indicator based on tick calculations

Screenshots with keyboard key press for MetaTrader 5

Capture widescreen screenshots by pressing the 's' hotkey on the keyboard

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

It will delete all objects on the chart when the compiled executable is dragged onto the chart

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

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts

Confluence Detector for MetaTrader 5

It will detect whether there's confluence between the current chart timeframe and two other timeframes

MT5 CCI with shift parameter for MetaTrader 5

The default CCI in MT5 doesn't have the shift parameter. This script implements the shift

Automatic Chart Refresher for MetaTrader 5

A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart

Forum

Deals don't always appear on the chart

Hi, I'm not sure whether this is a bug or not. If I place a trade on EURUSD for example, I don't see anything on the EURUSD chart which is open, but I can find my deal if I right click the trade and press "add EURUSD Deals"...however it will now show the trade on a new chart and not the one I have

Lightweight and powerful laptops

Hello everyone. I can do a hunt, but I'm wondering if you know of any super lightweight laptops that are exceptional in quality and power. I plan to buy a laptop for programming, and I have a love for extremely light laptops because of portability. I took interest before in the HP EliteBook series

Max Lot indicator for MT4 (not displaying anything)

This is a very old code and is not working on the current build of MT4 https://www.mql5.com/ru/code/10769 I'm not an MQL4 developer, this is an attempt to convert it, but nothing is seen on the chart: //+------------------------------------------------------------------+ //|

Could simplicity win against complexity in EA programming?

For those who are experienced in programming EAs, I'd value your opinion on this. If you have an EA that makes buy and sell positions based on valid strong signals, is this better than having a lot of position management code (recovery trades, PnL analysis etc.)? I wrote a script full of position

Can two EAs control a trade on the same symbol (different charts)?

I'm wondering if it's possible to have two EAs with the same magic number running on two different charts but on the same symbol. I'd like to know if this would make both EAs watch the same trades. The idea is to make the 2nd advisor employ extra money management features while I don't have access

Highlighting noise/consolidation area in the market

In your opinion...most effective way to find the areas of noise and consolidation by means of technology? What comes to mind is the ATR, and basic volume analysis, but I'd like to know your opinion

PosititionModify keeps trying to modify the same position over and over again

Looking at the journal, you can see it is trying to modify the same position with the same SL and TP every tick: 2024.05.23 13:15:36.661 2024.05.01 21:00:58 order performed buy 1 at 1.06904 [#6 buy 1 EURUSD at 1.06904] 2024.05.23 13:15:36.663 2024.05.01 21:00:58 CTrade::OrderSend: market buy 1.00

Discuss plot normalization code

I'm talking about oscillator based indicators, and by normalization I mean that the plot is in a stable range and the 0.00 level remains directly in the center of the window. My knowledge is limited on this, but I figured out that if you have a plot ranging from a negative value to a positive value

What makes an indicator free and what makes it not free?

I'm just genuinely interested in your opinion. What is it which makes an indicator a freebie, and what is it which makes an indicator have a cost attached to it

Programming a Kill Switch in your EA

Introduction Anticipating the unforeseen is a cardinal principle in the realm of automated trading. Despite the meticulous design and rigorous testing of trading algorithms, the reality remains that even the most sophisticated Expert Advisors (EAs) are susceptible to making erroneous trades