Script to Trade or Mark Chart based on price touching/approaching a chart object

MQL4 Experten Skripte

Spezifikation

I want a Script to run on MT4 that I can select any line other than the security price that I have on my chart, whether it is a moving average, a trend line, an upper or lower band of a Bollinger, and when placed on the indicator or object the script will open a new position the first time that object is touched. As a user I should need to select:

A. Automatic Execution,

B. Set up the Order for manual execution, or 

C. Place Arrow (default to Place Up or Down Arrow on Chart 10 pips outside the price) (An arrow will Always be placed with each event even if a transaction is to be set up or made)(I want a separate line for the other two options written in as default settings and those two lines commented out)

BUY or Sell ( a Buy here will place an UP arrow and a Sell places a DOWN arrow 10 pips above or below the object and nothing else unless the first variable directs that an order be set up or a transaction be made) 

Lots to trade (Default to 0.01) 

Stop Loss in % of the value of the pair traded, (Default to 0.25%)

Take Profit as a % of the value of the pair traded, (Default to 1%)

Minutes the Script will be active for after being placed (Default to 60) this is measured in minutes and NOT in bars.

Front Run the selected object by how many pips (Default to the current spread value when the Script is placed on the chart)

For example if I want to sell at the next touch of an upper 20 bar (100 minute) 2 deviation Bollinger band on a 5 minute chart and the spread is 1.3 pips. Then my sell order should be placed immediately when the first tick is within 1.3 pips of that upper band value. If I place the Script on a 5 minute chart and then shift the chart to 1 minute or 1 hour bars the script needs to follow the value of a 100 minute Bollinger upper band.

Housekeeping issues include:

1. Timeframe of the chart object being tracked must NOT shift if the object is moved or re defined in the chart window by changing the chart window time frame. The Script must track the object by it's definition at the time the script is enabled, and not visually. For example if I want to sell at the next touch of an upper 20 bar (100 minute) 2 deviation Bollinger band on a 5 minute chart and the spread is 1.3 pips. Then my sell order should be placed immediately when the first tick is within 1.3 pips of that upper band value. If I place the Script on a 5 minute chart and then shift the chart to 1 minute or 1 hour bars the script needs to follow the value of a 100 minute Bollinger upper band.

2. Must work with any number of numerals in quote value.

3. Values may be rounded to display the same as price values are displayed.

4. Chart must display English text below top left corner text already in place and describe what the script is doing. an Example would be " Auto Buy 0.25 lots at 1.09532 SL=1.09461 TP=1.10620 for 39 minutes. Spread=.00013"

5. Values for all activities should be calculated only one time at the beginning of each minute. The price should be compared against those values and action taken when prescribed immediately on each tick. 

6. The action should only occur one time each time the Script is placed and enabled. 

7. Must be able to attach to Horizontal Lines, Trend Lines, Moving Averages, Upper and Lower Bollinger Bands.

In the attached file I would like to have been able to buy on the lower blue Bollinger line or to sell on the upper blue Bollinger line or the gold moving average. 

 

Bewerbungen

1
Entwickler 1
Bewertung
(631)
Projekte
998
47%
Schlichtung
33
36% / 36%
Frist nicht eingehalten
98
10%
Arbeitet
Veröffentlicht: 6 Beispiele
2
Entwickler 2
Bewertung
(49)
Projekte
134
27%
Schlichtung
62
13% / 53%
Frist nicht eingehalten
58
43%
Frei
Veröffentlicht: 313 Artikel, 1 Beispiel
3
Entwickler 3
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Close Vol (%N): Closes half (or any percentage you want) of the lot size of your open positions. For example, if you have five open orders of 0.06 lots and want to close half of each, you simply click it, and it will close the specified volume from each individual order. Close Order (%N): Closes half (or any amount you want) of the total number of your open orders. For example, if you have ten open orders and want to
I need a professional MQL5 developer to build a fully automated Expert Advisor (EA) named " Hassanien Daily Breakout ". The EA is based on daily price levels and specific execution times. ​ Technical Specifications: ​ Time Settings (Iraq Time - GMT+3): ​ Execution Time: 10:00 AM. ​ Full Clean-up Time: 10:50 PM (Close all open positions and delete pending orders). ​ Entry Logic: ​ Case 1 (Pending Orders): At 10:00 AM
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with $100. I am willing to pay up to $1500 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
Need an trailing SL manager which can work with my all open trades (trades may be multiple), Put a fix SL based on entry price and then trail my strictly in my favoured direction, Initial SL shud be confiurable via a small dashboard
Pip killer ntt 100+ USD
Create a forex robot especially for sculping using the 3 ema strategy which consists of the following moving average levels of the 15 ma ,30 ema , 60 ema and 90 which enter potentially on a retest into the ema and targets opposite direction after the retest .Potentially bringing into account that the number of retested emas controlls the number of entreis which for eg. retest of the 15 ema single 0.01 trade is
Need to improve logic in existing coding for Range breakout/breakin EA 1) for timing range like 1am-10am Asian Range with max entry per session like London 1-2 times max entry 10-4pm & US session timings 1-2 entry 4pm - 8pm or 2) candle high low range eg 4pm to 4:30pm - entry logic eg mark 30min candle high low range as given in attached picture with buffer if required to show entry , SL & TP in trade/backtest mode
Make a Robot for mt5 using supertrend indicator for entry in trade with period 2 and multiplier 1.1 using Heiken Ashi candle also with martingle of 2 with maximum step for martingle is 15 step until profit reaches double of total loss. Select time frame 1 minute.Always close the previous trade if in loss then take next trade with martingle of 2 of previous lot in loss. All parameter have the option to change it
Robot que combine 2 indicadores en la ejecución automatica: 1 el Gann High Low y el Donchian Channel (DC) ACTIVO: XAU/USD EN UNA HORA PARA EL DC: período DC = 55 velas displacement/shift = 1 Mas Detalles en este video : https://youtu.be/3jI3cZY89T4?si=YEZAkMvWiq9O8-u9
Hello, I need an Expert Advisor for both MT4 and MT5 based on a recovery/grid trading strategy. Strategy Logic: User manually opens either a Buy or Sell market order. Once the first trade is opened, the EA automatically places an opposite pending order at a user-defined distance. If the pending order gets triggered, the EA places another opposite pending order at the original order price. This cycle continues
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity

Projektdetails

Budget
50 - 100 USD
Ausführungsfristen
von 3 bis 14 Tag(e)