r/algorithmictrading • u/Few-Pumpkin8919 • Sep 12 '26
Strategy Coding ICT Methodology Bot.
So I've been coding a bot to enter at PSH/L, PDH/L, PWH/L sweeps with 2022 Model and testing on MT5 with data feom January 2023 to September 2026.
At this point I'm just exhausted and don't know what to do, sometimes Win rate goes to 70%, or average win is double the average loss then the win rate drops to 30%, whatever I do my net profit is negative.
Anyone help me get this right or suggest something...
Adding most recent result here.
13
Upvotes
7
u/StatisticalSock Sep 13 '26
Why code a non working shit strategy like ICT? Some quants on YT have coded these already and found they have no edge. Save yourself some time and code something else
2
u/Livid_Parsnip_2816 Sep 13 '26
The numbers are already giving you the answer. With a 30% win rate and an average win of 2R, expectancy is 0.3 × 2 − 0.7 × 1 = −0.1R before spread and slippage. Chasing a higher win rate won’t repair negative expectancy. Freeze the rules, test net expectancy by year and on a true out-of-sample period, then remove anything that only improves the pretty part of the backtest. Sometimes the cheapest bug fix is deleting the strategy.
2
u/Square-Middle-4474 Sep 13 '26
OK then, for some reason Reddit sends me these emails. I suspect the reason is just to ramp up business but who knows. I am in a different position professional than the average person posting here. I have a professional relationships with several financial institutions, and do not want to damage those relationships. What I can say is that your code if described accurately would never have worked because it does not include additional context. For example, institutions know that some participants are forced to act (buy/sell/rebalance) when specific conditions occur. Knowing that, they will drive the market to those price points then take advantage of the forced (mandatory) execution. If/when those condition line up with one of your entry points, then odds of success are consistently high, otherwise sadly your approach will provide a random result over any significant sample size.
If it were me, I would try to obtain the education necessary to identify those conditions (Market Structure).
That is all I can say, sorry
2
u/equiltonio Sep 13 '26
just don't use ICT man that's all I can say. Been there done that
2
u/quant-king Oct 10 '26
I wish people stop trying to blindly use strategies that are massly exposed to the public. Those strategies have little to no chance of actually working. You need to find a target market, understand how that market moves by pattern recognition and develop your OWN strategy around what you've seen and backtest to validate. This is simple in concept but difficult to do but possible when you put in the effort and stop trying to take short cuts.