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
Ordini simili
I want a order block indicator mt5 which will give signals alerts.. Bearish order block blue bullish red .. with highs and lows reversal........ it should give arrows or dots for entry or something... and exit level... I show what I need in the picture
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Hi guys looking for a reversal indicator that places signals in chart have a look at image attached but it's just for reference I'll be happy to hear new ideas and options. Signals must he placed at candle close amd not repaint. Since I'm offering a high budget and bringing a strategy is involved in the order I want everything to run smoothly in these steps 1. Send screenahots of it 2. I'll give you feedback what to
🔹 COMPLETE DEVELOPMENT ASSIGNMENT Institutional Volume & Structure Indicator Platform: MT5 (preferred) OR TradingView (Pine Script v5) Type: Indicator only (NO EA, NO auto trading) Purpose: Institutional analysis for manual trading & manual backtesting 1. GENERAL REQUIREMENTS Indicator only (no orders, no strategy execution) No repainting Auto update + auto remove logic Clean, modular, performance-safe code User
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Hello, I will need one indicator in Tradingview converted to a strategy in MT5. The indicator is called ...Multi Kernel Regression [ChartPrime] Indicator. If the indicator says "BUY" then the EA buys, if the indicator says "SELL" then the EA sells. I will need another one that is a strategy in Tradingview converted to a strategy in MT5. "UT Bot Strategy". Two in total. Lets talk
I have build the trade copier for ninja trader as indicator. I need someone to fix the issue i am having or create new one similar to replicanto. here are my issue.. ### 1. Opposing Positions Across Multiple Accounts A counter trade violation occurs when you hold opposite directional positions (Buy vs. Sell) in the same symbol or product across different accounts. * *Example from your report:* In Violation #8
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need