Need some help with modification to indicator and creating a labels/objects on the chart

仕事が完了した

実行時間1 日
依頼者からのフィードバック
Excellent programmer! highly recommended
開発者からのフィードバック
Good customer. Interesting task. Good luck.

指定

I wrote two indicators and need some help with checking out the code and adding some more features. 


Fly price indicator calculates the distance between two spreads (EURGBP - EURUSD) and (EURUSD - GBPUSD) and plots this on a separate window as well as 10, 20 period moving average and 20 period bollinger band (adding and subtracting standard deviation from 20 period moving average). 

Normalised Fly price plots normalised distance ( (distance-average)/standard deviation) and moving average of it. 


I am a very beginner at coding and would like someone to check all the calculations and methods I wrote to make sure they both do as described above and rewrite codes in more efficient way where necessary. 

Then I would like to add the following:

  1. A horitzontal line to the current indicator values which change as the values fluctuate. You will be able to see that I already attempted this.
  2. Display current fly price on the chart window (flyprice[0]) 
  3. Create variables that store current normalised values[0] of specific timeframe (5min, 15min, 1hour and 4hour) and display these on the chart 
  4. Please have a look at the alert and notification function and change it so that it only alerts and notifies once when normalised value[1] of any timeframe(5min, 15min, 1hour and 4hr chart is greater or equal to 2 and less or equal to -2. Alert/notification must say which timeframe is alerting from
  5. Display x period standard deviation of each timeframe (5min, 15min, 1hour and 4hour) on the chart.  x is an extern variable. For example if x = 3, compute (stdev[1] + stdev[2] + stdev[3]) / x for 5min, 15min, 1hour and 4hour and display these 4 average stdev on the chart window.
  6. 3,5 must have 5 decimal point
  7. Create two edit labels on the chart that takes in risk in USD and stop in pips and create a text label "lot to trade" that computes risk in USD/stop in pips
  8. Create an edit label that takes in lot to trade and a buy, sell, close button that executes ordersend(). For example, buy button buys (lot to trade) amount of EURGBP, (lot to trade) amount * 2 of EURUSD and (lot to trade) amount of GBPUSD at market price
  9. Create 4 text labels "Trade Type", "Open price", "Current price" and "Current P/L". Trade type prints Long if EURGBP was bought (i.e Long EURGBP, Short EURUSD, Long GBPUSD) and viceversa. Open price calculates at which price the spread is bought/sold (EURGBP - EURUSD) and (EURUSD - GBPUSD). Current price returns number 2, flyprice[0] and Current P/L computes Open price - Current price if trade type is Long or Current price - Open price if trade type is Short.


I want the labels on the chart to appear as the following:




ファイル:

応答済み

1
開発者 1
評価
(94)
プロジェクト
162
40%
仲裁
20
15% / 75%
期限切れ
73
45%
パブリッシュした人: 3 codes
2
開発者 2
評価
(332)
プロジェクト
485
40%
仲裁
82
11% / 63%
期限切れ
77
16%
パブリッシュした人: 1 code
3
開発者 3
評価
(188)
プロジェクト
263
70%
仲裁
12
33% / 67%
期限切れ
16
6%
パブリッシュした人: 993 codes
類似した注文
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

プロジェクト情報

予算
20 - 40 USD
締め切り
最低 1 最高 5 日