Hi, this should take very little of your time. price is negotiable depending on the finish of the EA
I would like to add the following 2 function to the EA.
1. the partial open/close
2. Limiting the number of open order
For your reference, following is the logic and how the
current EA work. (refer to source code attached)
Long
open
- long when the low(1) is below the long-break-out line and low(0) is above the
long-break-out line (the order is executed a the next bar or executed at the
current bar if high(0) is apart from the break-out line for a certain distance
close
-take profit at certain pips
-close at short-break-out line
Short
Open
-Short when low(1) is above the short-break-out line and current price(bid)
cross below the short-break-out line
close
-take profit at certain pips
-close at long-break-out line
Alert function
Email/Alert notification for error/open order.
The break out line/ take profit pips are being manually input as Extern
variables
The problem I am having now is that the program seems to open multiples orders
despite me trying to limit the number of open order to 1 or 2 at times per
currency pair/chart.
The current EA seems to work fine with the system tester (only
sending one order at time ) but once I attach it to the live trading chart, it
starts sending multiple orders until the margin become in sufficient.
Followings are how I wish the EA to be modified into
Requirements
1. Limiting the open order function
2. Partial close/ open function as described (refer to illus)
3. Can be used by multiple charts ( same currency-pair /same or different time
frames)
Long
open (open whenever the
condition is fuldilled and the number of open order is less than the
predetermined number)
long when the low(1) is below the long-break-out line and low(0) is above the
long-break-out line (the order is executed a the next bar or executed at the
current bar if high(0) is apart from the break-out line for a certain distance
close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)
close condition 3 (close all)
close with the same condition as Short (crossing the short-break-out line)
Short
Open(open whenever the condition is fuldilled and the number of
open order is less than the predetermined number)
Short when low(1) is above the short-break-out line and current price(bid)
cross below the short-break-out line
close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)
close condition 3 (close all)
close with the same condition as Long (crossing the short-break-out line)
Alert function will also continue to work
example (refer to illustration)
Long order opened for 3 lots
closed with condition 1 for 1 lot
closed with condition 2 for 1 lot
closed with condition 3 for the rest
相似订单
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy