I need a simple indicator, resp. script which would display list of all closed historical trades and for each trade displays also maximum displayed values of potential profit (MFE) and potential loss (MAE) information on chart.
This could be displayed similiar as ZigZag indicator, but plus text label at top/bottom of each peak.
For displaying historical trades I already have script, which could be customized.
I need to add there a section which goes in simple loop through the ALL bars between closed trade and calculates/identifies TOP and BOTTOM bar.
Then print points/pips difference from a trade entry price above/below bar.
Please see black sections on below picture.

Contact me for details.
More info about calculation:
Example.
I have a DAX trade opened a BUY at 12:00 at price 12700
Assume we are on let's say 5 min chart and prices goes like:
BAR at time 12.05 - High 12715, Low 12690
BAR at time 12.10 - High 12723, Low 12701
BAR at time 12.15 - High 12726, Low 12709
BAR at time 12.20 - High 12718, Low 12695
BAR at time 12.25 - High 12710, Low 12672
BAR at time 12.30 - High 12694, Low 12681
BAR at time 12.35 - High 12702, Low 12685
I close this example trade at time 12.37 at the price 12703
In above scenario, a MFE (or TOP in case we are long, or we can say a how much points a position was in it's profit) would be a high price at time 12.15 when price was 12726. So in this case above this bar I would like to print number 26 (as a result of 12726 - 12700).
Similar MAE (or if we are long then BOTTOM or a price when was a maximal open loss) would be at a time 12.25 when low price was 12672. So in this case below this bar I would like to print number -28 (as a result of 12672 - 12700).
Do you understand what I mean?
Thanks,
Tomas
Tom
Ähnliche Aufträge
I am looking for a serious marketer with experience in promoting trading tools or Expert Advisors for MetaTrader 5. The product is an automated MT5 trading EA focused on Gold trading, with risk-management tools and trading filters designed to improve trade quality. For credibility, I will provide: An Investor Account for a live/demo account where the EA has been running for a while Backtest reports for the EA Clear
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I am looking to get this Indicator but i don't know which indicator is it , if anyone know about it let me know , images are attached , this is used for Binary Pairs
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
Hello, I have a Ctrader indicator with the source code, I was wondering if this possible to convert it to Quantower. Hello, I have a Ctrader indicator with the source code, I was wondering if tis possible to convert it to Quantower., i need an expert who can convert it perfectly
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is