Simple line drawing indicator based on criteria

MQL4 インディケータ

仕事が完了した

実行時間6 日
依頼者からのフィードバック
defintely a good programmer who go the extra miles to understand requirement's needs. works efficiently with short turnaround. delivers exactly what you wanted! thumbs up!

指定

2 failed attempts from 2 different programmer to get the desired indicator working!

 

For every candle that closed;

1) calculate the range of the candle body;

a) for long candle, x = open, y = close

b) for short candle, x = close, y = open

This is so as to always know x is always the lower price of the candle body range, and y is always the higher of the candle body range. i do not know how to figure out how to identify whether its a short or long candle.

2) calculate value z where z = (high-low)/2 of that closed candle.

IF z is > x and < y

draw horizontal line with value z - (i would need an option to be able to choose color and line width)

delete any other horizontal line within the range of x and y that:

a) have "D1_line_xxxxx" string name AND

b) value of the line is NOT EQUALS to z

 

3) Please do this for D1 timeframe, and uniquely have a "string" identity "D1_line_xxxxxx" on the horizontal line when ObjectCreate.  I will want to replicate to different timeframe if this is perfected, and able to amend the codes on the "string" identity to "H4_line_xxxx". This is such that i wont delete other lines for another indicator(that i replicate) with different timeframe. 

Of cos i would need the mq4 file to be able to change timeframe so that i can replicate it.

 

Thanks 

応答済み

1
開発者 1
評価
(69)
プロジェクト
76
59%
仲裁
0
期限切れ
12
16%
暇
パブリッシュした人: 2 codes
2
開発者 2
評価
(225)
プロジェクト
285
41%
仲裁
15
13% / 47%
期限切れ
67
24%
暇
3
開発者 3
評価
(121)
プロジェクト
134
66%
仲裁
36
25% / 56%
期限切れ
22
16%
暇
パブリッシュした人: 10 codes
4
開発者 4
評価
(64)
プロジェクト
145
46%
仲裁
21
38% / 24%
期限切れ
32
22%
暇
類似した注文
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
//+------------------------------------------------------------------+ //| Durban Gold Hunter.mq5 (v3.00) | //| Multi-pair EA for MetaTrader 5 (Razor Markets, XM). | //| Strategy modules (each can be switched on/off): | //| 1. EMA crossover | //| 2. 714 method (EMA 7 + RSI 14) | //| 3. CRT (Candle Range Theory: range sweep and close back inside)| //| 4. Trend line breakout (auto-drawn from swing highs/lows) | //| 5
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Hello, I already have an MT5 Expert Advisor for XAUUSD based on Fibonacci, market structure, BOS/CHoCH and swing trading. I need an experienced MQL5 developer to modify my existing EA, not develop a completely new one. Required modifications: Partial take-profit system with multiple TP levels. Keep profit targets conservative, using Fibonacci extension levels. Stop-loss placement beyond liquidity areas, not exactly
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
The objective is to develop a custom technical indicator for MetaTrader 5 (MQL5) that replicates the exact visual structure, inputs, and features of the "AYN-Indicator by Snurk" as shown in the provided screenshot. The indicator must analyze price actions based on a flexible lookback period, plot dynamic trend filters, and render precise Buy/Sell breakout labels without any lagging or repainting
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Winter 500+ USD
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements

プロジェクト情報

予算
10 - 25 USD
締め切り
最高 5 日