New add-on instructions for existing MT4 EA.
Each trade placed by this EA contains an Order Comment which identifies the Bollinger Band settings and TimeFrame used for opening that particular trade.
Order Comment examples:
“202.5M15+15466_73450_315_1”
or
“202.5M1-74115_1234_231190_1”
Order Comment structure:
First two symbols (example: “20”) identify the Bollinger Band Period used for this trade.
Next three symbols (example: “2.5”) identify the Bollinger Band Deviation used for this trade.
Starting from the 6th symbol and ending immediately before either “+” or “-” is a substring identifying the TimeFrame used for this trade.
Possible TimeFrame values: “M1”, “M5”, “M15”, “M30”, “H1”, “H4”, “D1”
Important note: If the substring starts with “M1”, it may represent either:
“M1”
or
the beginning of “M15”
All symbols starting from and including “+” or “-” are required for other parts of the existing EA and must NOT be modified, removed, or used for this new add-on logic.
All existing EA logic currently works only on candle closures for the related TimeFrame and NOT on every tick.
This new add-on must NOT change, remove, or interfere with any existing EA logic.
This add-on only introduces one additional exit rule.
For each individual trade, whichever happens first must close the trade:
Stop Loss
existing/main EA exit rule
new add-on exit rule
New EA input setting: Name: “Opposite BB touch threshold”
Input values:
0 = disabled (no new exit rule)
1 = close the trade after the first opposite BB touch
2 = close the trade after the second opposite BB touch
3 = close the trade after the third opposite BB touch
etc.
Maximum allowed input can be set to 1000 if required.
Definition of “Opposite BB touch”:
For BUY trades: A touch occurs when a fully closed candle of the TimeFrame identified from the Order Comment has:
Candle LOW price lower than the LOWER Bollinger Band using the Bollinger Band Period and Deviation identified from the same Order Comment.
For SELL trades: A touch occurs when a fully closed candle of the TimeFrame identified from the Order Comment has:
Candle HIGH price higher than the UPPER Bollinger Band using the Bollinger Band Period and Deviation identified from the same Order Comment.
Important: Trade direction (BUY/SELL) cannot be identified from the Order Comment and must be determined from the actual order type.
Candle range used for counting touches:
Start counting from the FIRST FULLY CLOSED candle AFTER the trade entry candle.
End counting at the latest fully closed candle (shift 1).
The trade entry candle itself must NOT be included in the count.
New exit rule:
If the total counted “Opposite BB touches” for one individual open trade becomes equal to or greater than that trade’s “Opposite BB touch threshold” input value, then ONLY that single trade must be closed immediately.
End of instructions.
Similar orders
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project