Lipstick 1.0 - creation of a new indicator

MQL5 Индикаторы

Работа завершена

Время выполнения 2 дня
Отзыв от заказчика
Excellent cooperation with this very talented developper, I'm looking forward to work with him again !
Отзыв от исполнителя
Very good customer, knows what he want and make excellent feedbacks. I will glad to work with you again.

Техническое задание

Hi, this is hopefully the first step of a greater project.

The main idea of this new indicator is that, for any given period of time (or number of candles), the indicator draws two lines :
-One line between current price and highest price in that period, so that all the prices are below that line.
-Another line between current price and lowest price in that period, so that all the prices are above that line.
Thus, the two lines are the two tangents so that all the prices are between those two lines.

Please see the attached draft for further understanding, in this example for the blue line, the line isn't between the current price and the highest price, but between the current price and the price so that the angle with the current price vertical (x value in degree) is the lowest. 

The algorithm takes all the candles in the given time period and compares them one by one with current price. The indicator then draws the two lines and diplays on pannel the two values x and y. It repeats the same operation as long as the current price is changing. So for each new candle we have two new values of x and y and so on. x and y would be the numeral basis for signals in next step.


For this analysis to take place, it's up to you to find the best technical solution.*

*What I've found on my side is that we can use trigonometry : Let's give for each candle 1 unit value, and for each pip 1 unit value. Let's say the price we want to analyse is 50 candles away from current price and 20 pips higher. So we have the two sides of a perpendicular triangle between horizontal current price and price of candle 50. Opposite value is 20, adjacent value is 50. So tangent value is opposite/adjacent or 20/50 = 0.4. With arctan we can deduce the angle with horizontal is 22° And then we can have x value = 90-22= 69°. If you find another solution as long as it respects the main idea above no problem.

It should be possible to change the time period (or number of candles) in the indicator parameters. But the indicator should work on any chart you want to attach on it.

The development of the project in next step looks toward a multitimeframe analysis in order to make a weighted average of x and y in a multimeframe scale.

The collaboration is completed once the indicator works close to expected behavior and the code is delivered.


Файлы:

Откликнулись

1
Разработчик 1
Оценка
(94)
Проекты
190
66%
Арбитраж
8
25% / 50%
Просрочено
2
1%
Свободен
2
Разработчик 2
Оценка
(74)
Проекты
73
47%
Арбитраж
2
50% / 50%
Просрочено
2
3%
Свободен
3
Разработчик 3
Оценка
(461)
Проекты
488
70%
Арбитраж
6
67% / 0%
Просрочено
2
0%
Свободен
Похожие заказы
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
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
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
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
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
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have

Информация о проекте

Бюджет
50+ USD
Сроки выполнения
до 7 дн.