Conor Mcnamara / Publications
Codes
Statistical Zigzag for MetaTrader 5
It is a zigzag which creates new zigzag turning points based on passing a volatility threshold
Simple Bar Timer for MetaTrader 5
It is a script to display the time remaining until next bar arrives
Indicator loader for strategy testing for MetaTrader 5
A system to test up to four indicators concurrently in the strategy tester
Zigzag Custom Timeframe for MetaTrader 5
It's the classic zigzag with a timeframe input to display a HTF zigzag on a LTF chart
OHLC Candles with extreme tick price tracking for MetaTrader 5
This is an OHLC candlestick chart which records the highest ask and lowest bid on each new bar
OHLC Candles with Ask and Bid for MetaTrader 5
A candlestick chart which connects the ask price and bid price to the high and low of the candles
Trading Session Mapping for MetaTrader 5
A tool to align the trading sessions names with broker server time, and local time
Volatility Step Channel for MetaTrader 5
A channel which calculates local highs and local lows with volatility-adjusted lines
Candle Pattern Recognition Unit for MetaTrader 5
An indicator to detect and mark all popular candle patterns
Price Percentage Zigzag (No timeframes) for MetaTrader 5
Zigzag which changes wave direction based on price percentage change on the asset
Forum
Are object events possible (button press) in the EA strategy tester (visual tester)?
I'm seeing that events from OnChartEvent seem to work in the Indicator strategy tester , but it doesn't seem to be the case in the EA strategy tester. The events from an EA code script are working correctly on a chart, but not inside the strategy tester in visual mode. The goal is to simulate manual
Preventing unreasonable losses in an EA
I don't know if I'm the only one who came to think that making a successful autonomous expert advisor is like playing a tedious chess game against the market. Some people may say that it is impossible longterm, however it will also depend on how positions are managed. The way I see it, a manual
Gmails tightened security preventing SendMail from working
I recall in the past the SendMail function working seamlessly with gmail, but now it doesn't any longer. I created an external app password at http://myaccount.google.com/apppasswords but using this password in the SMTP password field (at Tools - Options - Email) made no difference and gave the
Indicators: Ranging Market Detector
Ranging Market Detector : An indicator which attempts to highlight a ranging market area Author: Conor Mcnamara
Indicators: Trend Zigzag (on ma cross)
Trend Zigzag (on ma cross) : A static zigzag which connects the intersections of a moving average crossover Author: Conor Mcnamara
Fake Pivots and false experts (retrospective algorithms)
Through experimentation one night, I figured out it was very easy to calculate the truest pivots in the market with minimal code by calculating the candles moving backwards in time rather than forwards. Moving backwards in time isn't reality, and of course we always move forwards in live trading
Is it not possible to have direct control of the entry price when automating buy or sell trades?
I wanted to see if it was possible to make the EA enter a buy position only when the ask price is less than or equal to the moving average price. NormalizeDouble (currentAsk, _Digits ) <= NormalizeDouble (ma[ 0 ], _Digits ) Full snippet: if (allow_buy && trade_type == market_orders &&
I'm very close to abandoning a practice conversion
I set out to do a practice conversion to convert a more tedious MQL4 indicator to MQL5. This wasn't for anything other than practice, and because I'm focusing on MT5 now. I thought, maybe I can do it in 30 minutes... but no, this wasn't the case at all. I have tried numerous times to convert it
Experiencing an issue with objects when two separate window indicators are on the same chart
I wanted to create a text object to measure the "power" on the last histogram bar for the bears power and bulls power indicators. It seems that there are no issues with the placement of the text object if I load one single indicator on the chart (either bulls or bears). Chart with only bears
Is it possible to emulate one EA inside another EA script?
Let's say you like the performance of an EA over a certain period, but you are unwilling to use it because of the fact that it lacks any risk management features. In this case you could code another EA which applies the desired risk management and have both running on separate charts. But you are


