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
Views:
1677
Rating:
(1)
Published:
BBandsPsar.mq5 (4.91 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
BBandsPsar is a custom hybrid indicator that combines a volatility framework (Bollinger Bands) with a trend-following mechanism (Parabolic SAR) into a single technical tool.

By measuring the distance between the Parabolic SAR value and the candle's open or close, the indicator captures the alternating, trend-switching nature of the SAR. It then scales this gap using Bollinger Bands to plot the resulting values as a standardized histogram. This standardization provides a consistent, cross-asset threshold, making it easy to analyze different financial instruments under a unified scale.

For maximum flexibility, BBandsPsar fully inherits the input parameters of both underlying indicators, allowing traders to fine-tune its sensitivity and behavior.


Input1



Demo4


If you want dynamic input testing for Bollinger bands replace this code :

bandsHandle = iBands(_Symbol, _Period, 20, 0, 2, PRICE_CLOSE);

with 

bandsHandle = iBands(_Symbol, _Period, blpd, 0, bldev, PRICE_CLOSE); 

To allow input variables to be passed dynamically into the iBands function

Cost and Slippage Sensitivity Analyzer Cost and Slippage Sensitivity Analyzer

A pure-MQL5 script that measures how robust a strategy's edge is to execution costs. It reads a Date,Profit,Volume CSV of closing deals and models each deal's cost as a fixed part plus a per-lot part. It prints the breakeven cost per deal, the cushion (the multiple of an assumed realistic cost at which the net profit reaches zero), the net profit and profit factor re-priced at the assumed cost, the share of winners the cost turns into losers, and a composite A+ to F cost-robustness score with recommendations. If no file is present it generates a reproducible sample and analyzes it, so the output is visible on the first run. No external libraries, no Python, no AI.

EA KCI Embeded Sniper EA KCI Embeded Sniper

The KCI Embedded Sniper is an algorithmic trading solution designed for high-precision reversal entries. Unlike conventional Expert Advisors that rely on external indicator dependencies (which often suffer from thread desynchronization and latency), this EA features a fully embedded Kinetic Compression Index (KCI) engine. By transplanting the entire mathematical framework of the KCI—calculating Velocity Quotients, Kinetic Displacement, Energy Dispersion, and Phase Velocity—directly into the EA’s core logic, we have eliminated "asynchronous lag." The result is a lightning-fast sniper engine that validates market exhaustion (Singularity) and momentum extremes (Williams %R) with micro-second precision, operating solely on completed bars to ensure zero-repaint performance.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.