SL+TP-OE PIP CALC INDY – v2 (indicator) – MetaTrader 4 script





SL point date: ca
Update: 1. Order type distinction. 2. SL & TP and OE price. 3. Enhanced user-defined tags.
· Calculates the difference between point order execution (OE) prices and stop loss and take profit prices.
· Location text stop loss and take profit line labels: order type, ticket number, stop loss and take profit price, point calculation and point label.
· Labels on the OE line of location text: order type, ticket number, and OE price.
· Works with MT4 Default and any other suitable MT4 application.
User-defined example
PIP Calc Test and Check: SL+TP-OE Pip Calc Indy – v2
1. Cross-Reference Tables and Charts Charts contain terminal images.
2. Tables T-1 and T-2:
one) Terminal: Columns 0-2 are the values taken from the terminal at the instant of the screenshot - these values can be on the terminal image included in the chart.
b) Calculation: Column 3 is the relevant value calculated by excel.
c) Chart: Column 4 are the values as shown in the chart.
d) Check: Column 5 confirms matching values.
3. All calculations are from order type SL & TP prices corresponding to order type Order Execution (OE) prices.
4. The OE price can be found in column 6 of the terminal.
5. SL & TP can be located in column 7 & 8 respectively.
6. Live screenshots of current bid and ask prices can be found in column 9 of the terminal.


1: SL+TP-CP Pip Dist Indi – v2 is not part of Easy Order, its functionality is independent of Easy Order, and the text will not be appended to the Easy Order SL and TP lines, but to the MT4 default SL and TP values.
2. Easy Order is a free MT4 script that can be downloaded here - Easy Order
If you haven't edited before, this is super easy and saves time and unnecessary tedious repetition.
1. Open MT4, find and click View in the upper left corner of the menu, and then click Navigator.
2. The Navigator window will open on the left or right side of the screen.
3. Find the custom indicator in the navigator window and click [+] to expand it if it is not expanded.
4. Find SL+TP-CP DIST INDI - v2, - highlight – and right-click to display the selection window.
5. Click Modify on the selection window.
6. You will now be in MetaEditor with SL+TP-OE PIP CALC INDY – v2 loaded into MetaEditor.
7. If any other indicators are loaded, it is best to unload them before starting any editing - right-click on the relevant tab and click Close.
8. You can now start editing - please follow the instructions below.
9. Run compile and check for errors after each edit/modification. An example can be found here - post 244
If you get stuck and can't figure out why it didn't compile correctly, use the undo arrow on the left to take you back to where you were when it compiled successfully. Just compile and check for errors after each modification.
When accessing the code editor, find the code at the top.
// SL+TP-OE PIP CALC INDI - v2 // Users can permanently change the default settings by modifying the following code - example provided. // * * * * * Please remember to compile and check for errors after each modification * * * * * external string PIPS_or_FRACTIONAL_PIPS = "Fractional point = points / 3 and 5 digit pricing" ; external boolean Fractional_Pips = true ; // Edit example: = false ; outer string hidden option; outer boolean hidden order type text = false ; // Edit example: = true ; external boolean hidden_order_ticket= false ; external boolean hidden_SL_TP_price=false; external boolean hide picture-in-picture text= false ; external boolean hidden_SL= false ; external boolean hidden_TP= false ; external boolean hidden_Limit_and_Stop_Orders= false ; external boolean hidden_OE_price= false ; external boolean hidden_OE = False ; External string cosmetics; External string L_neg_100___ to ___R_pos_20; // = "- - Negative Left/Positive Right + +"; External integer Shift_Text_Left_or_Right = 14 ; // Modified example: = 10; ; outer color SL_Color = magenta ; // Edit example: = red ; outer color TP_Color = lime green; outer boolean use_OE_Color = True ; outer color OE_Color = gold; outer integer SL_TP_Font_Size = 10 ; outer integer OE_Font_Size = 8 ; outer string font name = " Arial " ; // Edit example: = " wilda " ; // * * * * * Do not modify beyond this point unless you know what you are doing * * * * *
Disclaimer: All downloads and documents are provided as-is and as educational materials.
Attachment download
📎 SLqTP-OE_PIP_CALC_INDY-V2.mq4 (26.88 KB)
Source: MQL5 #10588
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •