Quote from Daal:
Ok but do you believe your rules are programmable or you think there are elements of intuition and discretion that can't be coded?
The way I trade involves a lot of visual interpretation which might not be easily coded. My understanding is that you need rigid and systematic rules to automate it. If you put my method of detecting support and resistance aside, I believe there is a high chance that you can code a trend following system that detects trend patterns based on the Dow Theory in the 4H ES time frame (higher highs, lower highs for uptrend; lower lows, lower highs for downtrend). The ES trends in 30 point steps, meaning that it ranges 30 points back and forth before it advances to the next 30 points range. You will have to detect the relevant peaks and troughs it creates on its way higher or lower. Price must break AND hold a new high/low to mark a valid peak/trough. Those will be the channel lows and highs until one of them is broken to reverse a position. I've illustrated it in the recent price action (attached).
If someone can code this, I deserve to see the result and rights to use it for myself

UPDATE: I'd like to add that I never enter somewhere in the middle of an ongoing trend. My entries have always been at reversal points at important junctures. Perhaps this should be considered as one of the primary rules for successful trend following.