Conor Mcnamara
Conor Mcnamara
  • Information
1 year
experience
6
products
5
demo versions
0
jobs
0
signals
0
subscribers
I started learning C programming in 2010. From there I picked up many languages.
I have worked with MQL for just a year now. I pick up programming languages very quickly because I'm no stranger to programming.
I'm working on several indicator projects and EA concepts.
Conor Mcnamara
Conor Mcnamara
At some point you have a folder full of random indicators. I try to organize it like this in MetaEditor, and in turn, this also organizes the indicators in the software. It's a bit of work, but it's very annoying to have random indicators all within the examples folder
mapdonemap
mapdonemap 2025.03.10
cool categorization. I tend to create 4 folders: mine (contains anything I add manually. also contains folders of course), stock (anything comes preinstalled with MT that is not going to be needed as a include), market (anything Ive downloaded from the official market OR from the internet that I dont have the source code for it), downloads (anything that I have source code for it AND I have got it from somewhere else AKA "not mine")
Conor Mcnamara
Conor Mcnamara
Making a channel between zigzag points is easy, just map the peak and bottom zigzag buffers to two individual "draw_section" drawing styles
Conor Mcnamara
Conor Mcnamara
It's disheartening to see an EA scalping configuration working well on the OHLC model, but going to zero on real ticks model. I tried to discover the exact reasons. Initially I thought that the live floating spread and slippage are an issue, but this is actually not the issue. Live bid and ask prices are much more unpredictable. A tight trailing stop is then much more rarer to be profitable because of that. A wide trailing stop can be even more damaging to the account if the EA makes a few bad trades. What is the solution? After countless testing, it seems that you will have to use a modest take profit, and that is the real solution if you want to keep the drawdown low. Then use a trailing stop that feels right for the timeframe that the EA trades on.
Rajesh Kumar Nait
Rajesh Kumar Nait 2025.03.06
"A trading system that takes longer trades on H1 could be unaffected by the volatility of bid and ask prices, but a trading system on M1 or M5 will be extremely affected no matter what the system is. " Its because spread is most effective on LTF such as 1minute timeframe, I trade crypto so i am saved with spread manipulation as in crypto brokers spread are negligible. Crypto brokers do not earn from spread unlike forex brokers.
Conor Mcnamara
Conor Mcnamara 2025.03.06
I tested a few different strategies and found that sometimes you will get a quite similar result on tick models & OHLC model if the strategy uses a higher timeframe like H1 or H2, this is mostly because the trades are held for a good time. The rule will always be that sell position can only close at available ask price and buy position can only close at available bid price, so OHLC model simulates a non-volatile spread, making it very easy to make a strategy look like it can turn 1k into 400k in one month. Now we have majorly unrealistic backtest graphs all over the marketplace.
Rajesh Kumar Nait
Rajesh Kumar Nait 2025.03.06
True bro. Spread and broker makes a major difference in profits. Ohlc is only a way to backtest your strategy. Ohlc data can be consistent and may work according to logic but spread and bid ask tick data can never be consistent and it's very rare that any logic for studying may apply on it
Conor Mcnamara
Conor Mcnamara
stash of zigzags 😆
Conor Mcnamara
Conor Mcnamara 2025.03.05
one zigzag wants to talk about the peak, but the other one keeps talking about the bottom 😆
Lorentzos Roussos
Lorentzos Roussos 2025.03.05
😆😆 the bar says , "how come you guys are here im not closed yet"
mapdonemap
mapdonemap 2025.03.06
this is fun, keep going guys :)
Conor Mcnamara
Conor Mcnamara
If anyone finds prev_calculated confusing (like I initially did) in MQL5, have a look at this blog post https://www.mql5.com/en/blogs/post/760917
Conor Mcnamara
Conor Mcnamara
Now have this idea rattling in my mind for a zigzag that forecasts the next leg. Also a grey color that the leg changes to when it's deemed that no valid forecast can be made (during a consolidation period for example)
Lorentzos Roussos
Lorentzos Roussos 2025.03.04
interesting , im also building this
Conor Mcnamara
Conor Mcnamara 2025.03.04
that's nice to know, I guess it could be built in many different ways, it could be more reactive to the price (maybe based on a quant indicator), or it could be more about predictive techniques
Lorentzos Roussos
Lorentzos Roussos 2025.03.04
yeah its a fun project .
Conor Mcnamara
Published code Autoscaling Zigzag
A zigzag indicator that uses a single input to adjust the step size for detecting wave direction changes
· 2 3719 529
Conor Mcnamara
Conor Mcnamara
the person who owns this house must have become successful with the zigzag indicator
Lorentzos Roussos
Lorentzos Roussos 2025.03.02
probably a ranger xD
Conor Mcnamara
Conor Mcnamara 2025.03.13
You just know that guy is all day looking at zigzags, a total obsession
Conor Mcnamara
Added topic 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
Conor Mcnamara
Conor Mcnamara
If gold starts rallying now, it could be a great buying opportunity. It looks like a support is found on the H1 timeframe, but doji candles suggests indecision, and the trend is uncertain.
Conor Mcnamara
Added topic 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
Conor Mcnamara
Conor Mcnamara
If it's hard to see the market sentiment, it's good to use these bears and bulls power indicators and color the histograms this way
Conor Mcnamara
Conor Mcnamara
If you have a trading system, and you know that the entries corresponding with the system are good, then a tight stop loss or a tight trailing stop is *not* a good idea. If the entries are good, then you should have at least a wide stop loss. Predictable stop losses are being hunted by institutional traders and hedge funds to force retail traders out.
Yashar Seyyedin
Yashar Seyyedin 2025.02.27
Yes tight stop loss is not something ever worked for me. But I would say we should not focus on stop hunting when it comes to designing a strategy. All you can do and will do is putting your SL where the backtests end up in consistent profitability.
Conor Mcnamara
Conor Mcnamara 2025.02.27
true, it depends on how precise the entries are, some strategies might use an entry based on tick trend and in that case a tight stop might be part of the system. Most entries based on normal signal indicators can get stopped out easily though
Conor Mcnamara
Conor Mcnamara
It would be nice to see crypto rallying again, but now it's worrying as Bitcoin is testing the 200 day moving average on D1 timeframe
Lorentzos Roussos
Lorentzos Roussos 2025.02.26
I think the 4 year cycles are over , it will pick up again and also there may be another meme run during summer.
Conor Mcnamara
Conor Mcnamara 2025.02.26
It should definitely be bullish at some point this year. Next year might be a true bearish market (at least it's expected to be that way)
Conor Mcnamara
Conor Mcnamara
Today was very uneventful in Gold for new trades. It looked like a lot of profit-taking was going on as it's near the record highs and the weak US data has people concerned. I wasn't looking at the M5 timeframe, but it seemed like that's where the intraday trend was. It wasn't possible to hold anything
Yashar Seyyedin
Yashar Seyyedin 2025.02.26
Me too. Too few trades this week. Only a buy the dip in stocks yesterday and that is all.
Conor Mcnamara
Conor Mcnamara
It's possible to protect your initial deposit with code..as live equity can be monitored, so when you compare the equity to balance, you can "save" your initial deposite from a disaster. It's very simple code
Conor Mcnamara
Conor Mcnamara
swing trades on the EA (visual backtest)
Conor Mcnamara
Conor Mcnamara 2025.02.21
yes just simply based on bar confirmation, I constantly track the index of the zigzag buffer, then I use 2 or 3 bars of confirmation to confirm that the leg stopped it's continuation
Lorentzos Roussos
Lorentzos Roussos 2025.02.22
You could measure that in theory, in my zigzag i track changes of the leg , i'll add this too as "delays" and "max delay" looks interesting .
Tiofelo Da Olga Gilbert Teles
Tiofelo Da Olga Gilbert Teles 2025.03.02
Very interesting...
Conor Mcnamara
Conor Mcnamara
I recently launched a signal which is based on algo trading with zigzag. It is known that the zigzag isn't a signal indicator, it's mostly for swing analysis and wave theory, but it can be combined with quantitative indicators or fib retracement levels, or other drawings and filters to give signals. In the EA I built, I extended the algo so that it finds out when the leg stops moving. When this happens, it could mean a support or resistance is found, and a signal is produced on this event way before the opposite leg comes, therefore giving "timeliness" to the zigzag. I also introduced an MA into the core logic so that the MA filters the swings and aids the algo so that it will prevent premature swings. I don't know how successful this will be as a fully automated EA, so let's not expect miracles. Eventually I can make it available to download if it's not overly risky. I'm dedicated to building trading software which is profitable and not destructive.
Ahmd Abrahym Mhmwd Abrahym
Ahmd Abrahym Mhmwd Abrahym 2025.02.20
Good luck , looking forward to see the results , please share it when you can :)
Anil Varma
Anil Varma 2025.02.21
All the best man ...
Conor Mcnamara
Added topic 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
Conor Mcnamara
Added topic Explain the post attachment rule
Why must attachments on posts only be .mq5? For example, if I didn't want to post code, I could just attach it as a text file which is handier for the recipient. But apparently there is a problem with that