# MQL5 resistance & support

Hi

How calculate resistance and support of current time-frame!?

I don't want indicator! I want calculate resistance and support within EA.....

BR

J

siljo: How calculate resistance and support of current time-frame!? I don't want indicator! I want calculate resistance and support within EA.....

Unless you are able to define in concrete terms what you mean by your definition of "resistance" and "support ", you are not going to be able to code it.

Fernando Carreiro #:

Unless you are able to define in concrete terms what you mean by your definition of "resistance" and "support ", you are not going to be able to code it.

this is not my definition but is known as:

https://www.babypips.com/learn/forex/support-and-resistance

for example!

What is Support and Resistance?
• www.babypips.com
“Support and resistance” is one of the most widely used concepts in trading. Strangely enough, everyone seems to have their own idea of how you should measure support and resistance. Let’s take a look at the basics first. Look at the diagram above. As you can see, this zigzag pattern is making its way up (a “bull market”). When the price moves...

Fernando Carreiro #:

I stated “in concrete terms”, not in subjective terms.

for example this indicator:

https://www.mql5.com/en/code/19241

how implement within EA and get last known RESISTANCE and last known SUPPORT values?!

Resistance & Support
• www.mql5.com
The indicator of support and resistance lines calculated based on the iFractals (Fractals) indicator values.

siljo #: for example this indicator: https://www.mql5.com/en/code/19241 how implement within EA and get last known RESISTANCE and last known SUPPORT values?!
Well, if you already have an indicator for it, then use the iCustom function to read the indicator values from your EA.
Documentation on MQL5: Technical Indicators / iCustom
• www.mql5.com
iCustom - Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: