Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Directional_Breakout - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Directional_Breakout - indicator for MetaTrader 5

information indicators. It displays the histogram in different colors based on the ratio between the candlestick price and the moving average.

There are three tunable parameters:

 If low > MA:
MA > PrevMA = Color 1
MA < previous MA = color 2
If high < MA:
MA < previous MA = color 3
MA > PrevMA = color 4
Otherwise = color 5

Where:

 MA is a moving average calculated by period, method and applied price PrevMA - moving average of the previous bar 

Directional_Breakout - indicator for MetaTrader 5


Attachment download

📎 directional_breakout.mq5 (10.12 KB)

Source: MQL5 #21036

Verification code Refresh