exp pin bar - expert advisor for pin bar price action patterns

exp pin bar - expert advisor for pin bar price action patterns
Download ALL MT5 experts (1593)
YouTube Video Thumbnail



Similar MetaTrader Tools

exp pin bar - expert advisor for pin bar price action patterns

Info

The exp pin bar - expert advisor for pin bar price action patterns is a Expert Advisor for MetaTrader 5 that exppinbar expert advisor implements a trading strategy based on the. positions are opened based on signals from the indicator.

Usage

This tool is typically used for automated trading on major forex pairs and gold.

Platform

This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use exp pin bar - expert advisor for pin bar price action patterns

1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.

2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.

3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.

4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.

Frequently Asked Questions

Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.

Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.

Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.

What this tool does

exppinbar expert advisor implements a trading strategy based on the.

Typical Use Case

This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.

Description & Settings

Related: Market Miner Expert Advisor - another powerful expert for MetaTrader 5 traders.


exppinbar expert advisor implements a trading strategy based on the . positions are opened based on signals from the indicator. to manage open positions, an extended trailing functionality provided by the is available: classic, by parabolic sar indicator, moving averages ama, dema, frama, ma, tema, vidya, as well as by the levels of high and low candlestick shadows.

Also recommended: Weekly Day Reversal Expert Advisor - similar expert with strong performance on MetaTrader 5.

settings for the pin-bar indicator:

minimum size of a candle from low to high
- minimum size of
a candle
(in pips). sets the minimum allowed height of a candle being analysed (the difference between high and low). candles of smaller size are ignored by the indicator, which allows excluding insignificant or "noise" candles. increase the value to filter weak signals on low-volatility markets;

maximum size of the candle body relative to its shadows
- maximum size of the candle body (relative to the size of the whole candle, from 0 to 1). defines the maximum allowable size of the candle body (difference between open and close) relative to the full height of the candle. the smaller the value, the more pronounced will be the signals with long shadows and a small body - classic pin bars. to find the most "clean" pin bars, use values 0.2 - 0.4;

position of the body relative to the previous
candle (from 0 to 1). the parameter defines how deep the pin bar body can go into the range of the previous candle. the smaller the value, the closer the body will be to the edge of the range, which corresponds to classic reversal patterns. use values 0.2-0.4 to search for signals where the pin bar body is located near the border of the previous candle;

aspect ratio of the shadows
(coefficient) sets the minimum ratio between the length of the main shadow (upper for pin bar for sell, lower for pin bar for buy) and the opposite shadow. the higher the value, the more pronounced should be the main shadow compared to the opposite shadow. values 1.5 - 2.5 allow filtering signals, leaving only candles with a pronounced long shadow.
advisor settings:

position volume
- position volume;

slippage (in points)
- maximum allowable price deviation during execution, set in points;

magic number
-
magic number
;

stop loss (in points), 0 - none, -1 - by pinbar shadow
- stop loss (in points), 0 - none, -1 - by pinbar shadow price;

take profit (
in points), 0
- none - take profit (in points), 0 - none;

stop loss deviation (in points)
- stop loss
deviation
from the pin bar shadow in points.
trails settings:

trailing type
- trailing type

trailing
start
- profit in points for trailing start

trailing
step in points
- trailing step in points of price

trailing offset in points - trailing offset from price in points

settings of indicators used in trails:

indicator's timeframe
- timeframe of the indicator used in trawl calculation.

ma
period - moving average calculation period

ma shift
- horizontal shift of the moving average.

ama fast
ema period - period of calculation of fast ema adaptive moving average.

ama slow
ema period - period of calculation of slow ema of adaptive moving average

vidya cmo
period - cmo period of moving average with dynamic averaging period.

parabolic
sar step
- parabolic sar step

parabolic sar
max
- maximum of parabolic sar

ma applied price
- price for moving average calculation

ma smoothing method
- type of moving average smoothing.

indicator data index
- bar of data received from the indicator
the and the are required for the expert advisor to work.
an example of the work of the expert advisor for the last year on eurusd h4 with fixed stop levels and using a simple trawl:

You may also like: Simple EMA Cross Expert Advisor with Stop Loss, Take Profit, and Magic Number - excellent alternative for expert users on MetaTrader 5.

Source Code

яю//+------------------------------------------------------------------+
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version   "1.00"
#include <Trade\Trade.mqh>
#include <Arrays\ArrayLong.mqh>
#include <Trailings\Trailings.mqh>
enum ENUM_SIGNAL_TYPE
{
SIGNAL_TYPE_NONE,                                                 // 5B A83=0;0

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.