Indicator based on Chart Objects

Job finished

Execution time 4 days
Feedback from customer
Fast, Knowledgeable, Efficient!!!

Specification

Indicator for Chart Object Statistics 


I have a set of 3 x indicators that paint chart objects, which is great, but backtesting across 60 instruments is taking a long time and I would like a way of producing a quick stat report by dropping an indicator into a chart with the 3 x indicators already running and it will read all the chart objects and provide some statistics in a text box on the chart. 


The objects represent entries, with entry price, TakeProfit price and StopLoss price.  
The format of the chart object name text gives you the name of the indicator that produced the object. 
The format of the chart object names are listed below, but I will give exact examples once the job is started. 
I will provide the indicators once the job is started. 
The indicator must be able to have a setting that limits the number of bars we go back looking for chart objects (max bars for example) 
If (max bars) is not set, then we use the max number of bars on the current chart. 


Skills you will need (off the top of my head, you may have a better way of doing this) 

1. Loop through all the objects on the chart and where the object name matches one of the indicators (substring) you will need to store details about that object in a list or dictionary i.e. indicator name, bar number, price, daily ATR and daily ADR at that bar, StopLoss size, TakeProfit size.   
2. You will then need to work out the highest point (BUY) or lowest point (SELL) from that bar before the StopLoss is hit and if the StopLoss is not hit, then just the highest / lowest point and store all of that also in the dictionary for the object instance, do this for all the objects that match the naming convention etc ... 
3. you need to store the bar number where if the price goes beyond the StopLoss. 
4. You need to store the highest and lowest price from the entry bar to the StopLoss bar or to BAR[0] (latest bar), you can then use these to make calculations for the report. 


The statistics I require are : 

1. number of BUY wins, SELL wins  (based on entry, take profit and stop loss of the chart objects) 
2. number of BUY losses, SELL losses (based on entry, take profit and stop loss of the chart objects) 
3. Max Favourable Excursion (MFE) in ticks from the entry price (in the relevant direction (BUY/SELL) that price makes after the entry before returning past the StopLoss. 
4. If the price has not receded back to the stop loss, then just the maximum distance in ticks price has travelled so far for that entry 
5. Max Favourable Excursion (MFE) represented as a multiple of the StopLoss size for the specific trade i.e. MFE(ticks)/StopLoss(ticks) 
6. At the time of entry you will need to record/store the Daily ATR(14) and Daily ADR(14) so you can also base the Max excursion as a percentage % of dATR and dADR as well as in ticks and StopLoss size i.e. dATR = 100(ticks) MFE = 200(ticks) then ... MFE dATR% = 200% etc 
7. I also need the MFE Average price in ticks (add up all the MFEs and divide by number of MFEs), same for daily ATR% and daily ADR% that the price has travelled for each type, this would be based on the current daily ATR(14) and daily ADR(14) 


The statistics for all 3 x indicators should be presented in a text box on the chart (position must be adjustable from each corner) 
The text size, font and colour should be a setting 
The report name string should be a setting 


The statistics will be something like this, repeated for all 3 x indicators (only 1 x Indicator in example below) 

———————————— 
INDI EURUSD H1 REPORT 
———————————— 
INDI1 BUY WINS 10 
INDI1 BUY LOSS 10 
INDI1 BUY MFE MAX ticks 100 
INDI1 BUY MFE MAX SL size 10 
INDI1 BUY MFE MAX dATR% 300% 
INDI1 BUY MFE MAX dADR% 323% 
INDI1 BUY MFE AVG ticks 24 
INDI1 BUY MFE AVG SL size 3 
INDI1 BUY MFE AVG dATR% 100% 
INDI1 BUY MFE AVG dADR% 123% 
———————————— 
INDI1 SELL WINS 10 
INDI1 SELL LOSS 10 
INDI1 SELL MFE MAX ticks 100 
INDI1 SELL MFE MAX SL size 10 
INDI1 SELL MFE MAX dATR% 300% 
INDI1 SELL MFE MAX dADR%323% 
INDI1 SELL MFE AVG ticks 24 
INDI1 SELL MFE AVG SL size 3 
INDI1 SELL MFE AVG dATR% 100% 
INDI 1SELL MFE AVG dADR% 123% 
———————————— 


The format for the chart object names is similar to this (this is one example, I can show the other formats once the job is started and provide the indicators so you can see the objects on a chart. 

DIRECTION is either SELL or BUY 
INDINAME_PREFIX is the name of the indicator that produced the object for example INDI1, INDI2, INDI3 

-- 
<INDINAME_PREFIX><DIRECTION>SL2020.05.26 04:00:00 // SL 
<INDINAME_PREFIX><DIRECTION>TP2020.05.26 04:00:00 // TP 
<INDINAME_PREFIX><DIRECTION>cLine2020.05.26 04:00:00 // Execution Price 
-- 

The code must be efficient and easy to read in case I want to add more stats going forward.


There is a lot to take in, please read the above carefully and ask questions :)



Thanks for looking, have fun! 

Responded

1
Developer 1
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
2
Developer 2
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
3
Developer 3
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
4
Developer 4
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
5
Developer 5
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
فيما يخص المتداولين من سلطان التداول وحتى المبتدى والضائع في أكبر سوق عالمي في التداول ااوكد لكم ان الاستشاره البسيطه من من يملك الاستراتيجيه المثلى في التداول والخبره الطويله في مجال التداول قد تغير مستقبلك
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or

Project information

Budget
75 - 125 USD
Deadline
from 1 to 2 day(s)