# Can You Speak Fractal Energy to Me?

#### john3

##### Active member
2019 Donor
Calling all coding wizards to please explain Fractal Energy (FE) in plain English? There has been a lot of FE scaled indicators, FE RSI, etc, but what is it and why should it work? I'm pretty sure I am not the only one who would be interested to learn about the FE stuff. This seems to be the "core" FE code that is used in a lot of indicators.

def fractalEnergy = Log(Sum(Max(high, close[1]) - Min(low, close[1]), length) /
(Highest(high, length) - Lowest(low, length))) /
Log(length);

@tomsk Thank you. I've seen Mobius' description/interpretation, but I would like to understand the code itself. It seems to be similar to Stochastic. Yes?

All the following code does is to determine the location of the value within a range, and assign it to the variable FE and plot it

Code:
``````plot FE = Log(Sum(Max(high, close[1]) - Min(low, close[1]), length) /
(Highest(high, length) - Lowest(low, length))) /
Log(length);``````

@tomsk. Thank you. Makes sense. Do you have the code for the FE scaled Wilders RSI? I am not a big fan of the Laguerre RSI that Mobius wrote.

@john3 did you read what I wrote in the Tutorials? The RSI with LaGuerre Time Transform is a often included with Fractal Energy but it doesn't have to be. Fractal Energy, as an indicator, can be run by itself.
The signals it gives off can be explained this way; when FE is above .60, think charged up. When FE is below .40, think out of gas.
FE does not give you any information about direction. When it is high, it shows that is has the potential to move up or down.
When Fractal energy is low, the movement is tired and likely to slow. Don't over think it.
Hope that helps. Also fyi @MBF

Last edited:
@markos What tutorials? Where are they?

87k+ Posts
212 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?