Print history trades with an MFE and MAE info on chart

MQL4 지표 스크립트

명시

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.

ToDo


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

응답함

1
개발자 1
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
2
개발자 2
등급
(9)
프로젝트
19
16%
중재
3
67% / 0%
기한 초과
0
무료
3
개발자 3
등급
(589)
프로젝트
1070
50%
중재
39
28% / 41%
기한 초과
49
5%
무료
게재됨: 1 기고글, 8 코드
4
개발자 4
등급
(7)
프로젝트
8
50%
중재
0
기한 초과
0
무료
게재됨: 1 코드
5
개발자 5
등급
(472)
프로젝트
491
75%
중재
6
67% / 17%
기한 초과
0
무료
비슷한 주문
Hello, I have a custom indicator with a specific line. Logic I want: 1. When a candle closes and crosses the indicator line (I will tell you the buffer number of this line), start counting. 2. After the cross, wait for 3 consecutive candles with the same color / same direction. 3. If the 3 candles are bullish, open a BUY trade on the next candle open. 4. If the 3 candles are bearish, open a SELL trade on the
‎Explanation of Strategy 3 candles reversal strategy with 5EMA and 10EMA ‎ ‎wait for 5 EMA and 10EMA to cross during this process wait for at most 5 candles , within that 5 candles formation, the three candles must be inclusive in the 5 candles and the counting starts after the crossing of the two EMAs....wait for a reversal candle that closes below the last two trending candles. ‎ ‎Important info ‎ ‎***The first
I'm looking for specialist support for a personal algorithmic trading project involving an existing MT5 Expert Advisor. Looking for an experienced MQL5 developer / algorithmic trader to review the EA, identify potential weaknesses, and suggest meaningful strategy improvements. Please download and test the official demo first: https://www.mql5.com/en/market/product/191518?source=Site +Profile If you believe you can
can you help me with I have an indicator that I built and I work with PickMyTrade. The entries come through the alerts I get from Trading View . Trading View needs to send an alert and PickMyTrade executes a trade at that exact same second. Now, I have a problem in Trading View with the synchronization between the alert and the signal. I have a box that I built for a trade. It needs to output the box and get an
Looking for a developer in NinjaTrader For coding Inst - ES,NQ Chart type - Tick, range, volume & time Brief- Fib levels mapped on chart which act as entries, tgts and stops all based on candle close. (Maybe) use MACD for filtering direction. Daily manual input of the TWO fib Anchor levels is part of the strategy. I need a well experienced developer to bid and before biding check the attached file well. the PDF and
ROBOTFORX_V7 40+ USD
i have the robotforx_v7 code but am looking for an experinced developer to improve my code i want it to capture quick moves on 5mins it should be able close like ten trades in small profits
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Wise Legend 30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I am looking for a programmer that can develop an MT4 indicator that shows COT DATA For Forex, indices and and metals. The indicator must be an oscillator or any other form that would work well in that format. It doesn't need to show all pairs at once, it can show only for current chart. Let's talk

프로젝트 정보

예산
40+ USD
기한
에서 0  1 일