Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

EA Stochastic Bollinger Bands Multi - Timeframe - expert for MetaTrader 4

Ronny maheza
Published by:
Trap Music
Views:
4883
Rating:
(2)
Published:
2025.04.27 07:07
Updated:
2025.04.27 07:08
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance


Plese comment for improve this code ..thank

Key Features:

  • Multi-Timeframe Analysis: It uses Stochastic Oscillator and Bollinger Bands values from M1, M5, and M15 charts for trade entry decisions.
  • Entry Conditions:
    • Buy: All three Stochastic K lines are below the MinStochOversold level, and the M15 price is below the lower Bollinger Band.
    • Sell: All three Stochastic K lines are above the MaxStochOverbought level, and the M15 price is above the upper Bollinger Band.
  • Trade Management:
    • Allows a maximum of MaxTradesPerTrend open trades at a time.
    • Calculates Stop Loss (SL) and Take Profit (TP) levels based on the Average True Range (ATR) of the M15 timeframe and the SLMultiplier and TPMultiplier inputs.
  • Spread Control: It checks the current spread against MaxSpreadStandard (for standard/ECN accounts) and MaxSpreadCent (for cent/micro accounts). If the spread is too high, it places a buy limit or sell limit order instead of an instant execution.
  • Pending Orders: When the spread is too high for immediate execution, the EA places pending buy limit or sell limit orders slightly below the current price for buy entries and slightly above for sell entries.
  • Inputs: It provides various input parameters for customization, including slippage, lot size, indicator periods and deviations, SL/TP multipliers, break-even and trailing stop settings, maximum spread limits for different account types, and Stochastic overbought/oversold levels.
  • OnTick Function: The OnTick() function is the main execution block. It retrieves indicator values, checks for open orders, and then evaluates buy and sell conditions to potentially open new trades.
  • Debugging: Includes Print() statements for debugging purposes, logging Stochastic K values across timeframes and the current spread. tester

Fair Value Gaps Fair Value Gaps

Fair Value Gaps indicator or 'imbalance areas' where markets often move back to.

RRS Impulse RRS Impulse

This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features, including Trailing, Risk Management, Money Management, Restriction Mode, and more. With the right settings, it has the potential to generate significant profits.

RSI Timeframe Analyzer RSI Timeframe Analyzer

A powerful multi-timeframe RSI dashboard that visually displays the overbought, oversold, and neutral RSI status across 9 different timeframes — from M1 to MN1.

Range Breakout Indicator - Indicator Buffer Only Range Breakout Indicator - Indicator Buffer Only

This indicator for Breakout Strategy. It doesn't print objects on the chart.