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

MQL4 Asesores Expertos Sripts

Tarea técnica

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. 

 

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(584)
Proyectos
912
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Trabaja
2
Desarrollador 2
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Hi, Coding Skills Required: Experience in coding trading robots for MT5. Ability to implement increasing coefficients for the distance between orders and lot size 1. Project Objective: Develop an automated trading robot for MetaTrader 5 (MT5) as per the specified trading strategy. 2. Trading Strategy: The robot must execute a strategy that includes the following elements: Opening initial orders. Placing pending
THE TASK IS SIMPLE, I NEED AN EA THAT CAN PASS FUNDED ACCOUNTS CLEAN AND GUARANTEED. ALSO, PLEASE LET ME KNOW ON WHICH ACCOUNTS/ COMPANIES YOU HAVE TESTED AND WORKS. MAINLY TO PASS THE CHALLENGE PHASES, USE ON REAL ACCOUNT IS OPTIONAL. ANY MORE INFORMATION PLEASE LET ME KNOW
Hi there! I need an ea to pass and run a FTMO challenge No grid or martingale system Also i would like to check the ea's activity on myfxbook or other platform
The expert advisor needs to follow these conditions = 1. The values of these elements can be changed at any time and for any instrument . . Time Interval of renko . Size of renko brick . Type of renko brick (fixed , atr or percentage) . Lot size 2. Buy condition = ENTRY = Renko brick closes GREEN. EXIT = Renko brick closes RED or TRAILING STOPLOSS=3 bricks down. 3. Sell condition = ENTRY =
I want to develop metatrader to trading bot and i want an expert that has experience in this field that can do the work perfect well for me without error
Hello colleagues, I have a request for development. It is required to develop a trading panel for manual trading. If you have experience in implementing similar projects, please send us estimated time frames and costs. I will be glad to hear your questions and work with you on this project. General description: It is required to develop a panel for manual trading. This is a panel with Risk Reward Tool for installing
Hello I have a EA and Custom Indicator That Someone Made for Me But I need to fix it up and get it to function properly using the customer indicator I want to fix the bug's and add a water mark to it that is all if someone could do this work asap that would be even better. EA is 3771 Lines Of Code Indicator Is 918 Lines Of Code list of things I need fixed (More then half of this is already coded in) #.1 I need the EA
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
Robot should have the option to either to Buy or Sell, and Buy and Sell based on selected technical indicators: PSAR, MACD, Stochastics, and Bollinger bands. Either one, all, or combination can be used to open order Lot size is either based on fixed lot, size per USD, or free margin per USD Target profit based on points and option for trail stop Stop loss is either in points or as a % of free margin Option for
Create MT5 deriv EA 30 - 35 USD
Hello . Am in need of a developer that can Create deriv EA .I need to create a Deriv Bot with Martingale 1 min candles 30 martingale plus I can change the amount of martigale with the option of 1 min up or down . Kindly bid and let discuss about the project

Información sobre el proyecto

Presupuesto
50 - 100 USD
Para el ejecutor
45 - 90 USD
Plazo límite de ejecución
de 3 a 14 día(s)