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

MQL4 Uzmanlar Komut dosyaları

Şartname

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. 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(636)
Projeler
1007
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
2
Geliştirici 2
Derecelendirme
(49)
Projeler
134
27%
Arabuluculuk
62
13% / 53%
Süresi dolmuş
58
43%
Serbest
Yayınlandı: 340 makale, 1 kod
3
Geliştirici 3
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
Benzer siparişler
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
I need a pine script coder to automate my strategy (based on trendline) on tradingview platform. I simply need tradingview to open a position when the price touches the specified trendline with options to buy or sell and SL level. Please let me know if you are interested and I can give you exact details. Thank you
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor for MetaTrader 5. The EA should be a fast “Flipper”-style trading system that detects short-term market movements and opens Long or Short positions accordingly. This must be an original development and not a copy, clone, or decompiled version of any existing commercial EA. I have some videos of the Trading style lets watch and
Looking to Purchase a High-Risk, High-Return Gold Trading EA 9 minutes ago MQL5 Experts Specification EN I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA. I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return
I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA . I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return strategies can experience very large drawdowns and may potentially blow the account . I’m aware of the risks
MT5 EA DEVELOPMENT SPECIFICATION CHANNEL + RSI REVERSAL STRATEGY I need a professional MetaTrader 5 Expert Advisor based on the following exact strategy. 1. Core Strategy The EA must automatically identify a valid price channel using confirmed swing highs and swing lows. The strategy trades reversals from the channel extremes: SELL: Upper channel + RSI above 70 + bearish rejection. BUY: Lower channel + RSI below 40 +
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
============================================================== MT5 XAUUSD GRID / AVERAGING EA FINAL DEVELOPMENT SPECIFICATION ============================================================== IMPORTANT: Please read the complete specification before development. The EA must follow the exact logic below. If any requirement is technically unclear or conflicts with another requirement, please clarify it BEFORE coding. Do
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not

Proje bilgisi

Bütçe
50 - 100 USD
Son teslim tarihi
from 3 to 14 gün