Using the RSI Indicator to define Supply & Demand zones allows us to focus on market sentiment before structure becomes obvious.
.webp)
Every trader is familiar with the terms support & resistance. It’s the most basic concept of trading and fundamentally used in almost every strategy in many different varieties. However, it’s also the most ambiguous concept in trading. For manual traders, areas of support & resistance are mapped based on what the eye sees and how the individual perceives levels and zones. Give 10 manual traders the same blank price chart, ask them all to map out the support and resistance levels. You will end up with 10 completely different charts with levels plotted in different areas.
In Profectus AI, we take a more mechanical approach. Instead of manually marking zones on the chart, we define support and resistance through fixed formulas based on previous price data. This makes the process objective, repeatable, and fully automatable inside a strategy.
For this strategy we will be using the Pivot Points indicator and the Exponential Moving Average (EMA) indicator to find our support & resistance levels. These indicators are based on fixed mathematical formulas meaning that the methods for finding the levels are always the same. There is no room for discretion.
Pivot Points are price levels derived from the previous candle’s High, Low, and Close. They are often used as reference levels to identify potential support, resistance, and possible breakout zones. We use the Pivot Point formulas to derive 3 levels based on the previous Daily candle.
You can build the Pivot Points indicator in Profectus AI with 1 Formula block and 4 variables:
Next, we are going to build the formulas in one formula block.
The formulas we are using are:
Pivotpoint = (Previous High + Previous Low + Previous Close) / 3
Highlow = Previous High - Previous Low
Support = (2 × Pivotpoint) - Previous High
Resistance = (2 × Pivotpoint) - Previous Low
The formula starts with the variables as we defined them earlier. Make sure to apply them in this order in the formula block. In this article we are only focussing on the buy-side of the strategy and that means a focus on support levels.
Disclaimer: Templates are for educational purposes only!
👉 Get the Pivot EMA Support Automation Template → Pivot EMA Support Profectus Template
This template is designed to run on the 1H timeframe.
In this strategy, Pivot Points and EMAs are not used as separate indicators. They work together to create a mechanical support and resistance framework that Profectus can evaluate objectively.
Pivot Points give us fixed horizontal price levels based on previous market data. These levels help define where support and resistance are likely to exist. The EMA adds a dynamic layer, showing where short-term trend support is currently forming. By combining both, we avoid relying on a single level and instead build a structured price environment around the trade.
.webp)
These characteristics make this iteration of support levels completely mechanical and allow for trading opportunities.
For a long setup, the strategy first looks for price to break above the 50-period EMA. That breakout on its own is not enough. Price must also be trading above the Pivot Point, and the 50 EMA itself must also be above the Pivot Point. When these conditions align, the Pivot Point acts as one layer of support and the EMA acts as another. This creates a stronger, rule-based support structure below price.
Resistance is handled just as mechanically. The strategy checks whether there is enough room between the entry area and the Daily 18-period EMA. This prevents taking trades directly into a higher timeframe resistance level and helps filter out setups with limited upside.
From there, the trade management remains fully systematic. The Support pivot level provides a logical stop-loss location, while the Daily 18 EMA acts as the exit trigger when price crosses back through it. In this way, both entry and trade management are built around clearly defined support and resistance levels that can be automated inside Profectus without subjective chart marking.

I named the blocks to make it easier for you to understand what we’re doing in each Profectus block. This concept is not difficult but it’s a pretty big project. We can divide the creation of this no-code EA for Pivot EMA Support Strategy into 4 steps.
And that’s it! It only takes a few minutes to drag-and-drop the blocks and build this Pivot EMA Support Strategy in Profectus. You can now add more rules to refine the entries, or add more confluences to the strategy.
Once automated, the Pivot EMA Support strategy can be deployed as:
Why MT5?
This allows you to move from manual chart analysis to mechanical automated trading.
Yes. In our blog library, this is the first of the Support & Resistance strategies, but more will follow. We can automate any Support & Resistance strategy if it’s mechanical.
If a strategy has:
It can be automated.
Support & Resistance levels are just one example of how trading concepts translate perfectly into algorithmic systems.
Want to see how this Support & Resistance concept works when fully automated?
Access an enhanced automation template used to turn this trading concept into a deployable MQ5 trading bot inside Profectus. This template has a trade execution module included, so you can start testing it right away!
Disclaimer: Templates are for educational purposes only!
👉 Get the Pivot EMA Support Automation Template → Pivot EMA Support Profectus Template
This template is designed to run on the 1H timeframe.
Dive into a world of knowledge, trends, and industry updates on the Variable blog. Our curated content covers a spectrum of topics,