Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

SL+TP-CP DIST INDI - v2 - MetaTrader 4 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

User-defined example

* Regardless of whether f-pps (decimal points/3 and 5 digit pricing) is set to [true], non-numeric symbols will default to pps.

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

SL+TP-CP DIST INDI - v2 - indicator for MetaTrader 4

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 View in the upper left corner of the menu and click on it, then click on Navigator.

2. The navigator window will be on the left or right side of the screen.

3. Locate the custom indicator in the Navigator window. If it is not expanded, click [+] to expand it.

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 enter MetaEditor and load SL+TP-CP PIP DIST INDI – v2 in MetaEditor.

7. If any other indicators are loaded, it would be best to unload them before starting any editing - right-click on the relevant tab and click Close.

8. You can now start editing - 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 don't understand why it doesn't compile without errors, use the undo arrow on the left to take you back to the point where the error occurred and the compilation was successful. Compile after each modification and check for errors and you'll be fine.

When accessing the code editor, find the code at the top.

// SL+TP-CP PIP DIST 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 edit/modification* * * * *

external string PIPS_or_FRACTIONAL_PIPS = "Fractional point = points / 3 and 5 digit pricing" ; external boolean Fractional_Pips = true ; // Edit example: = false ;
external string hide option; external boolean hide order text = false ; // Edit example: = true ; external boolean hide_order_ticket = false ; external boolean hide_SL_TP_price = false; external boolean hide picture-in-picture text = false ; external boolean hide_SL = false ; external boolean hide_TP = false ; external boolean hide_Limit_and_Stop_Orders = false ; external boolean hidden_OE_price = false ; external boolean hidden_OE = false ; external string cosmetic; external string L_neg_100___ to ___R_pos_20; // = "- - negative left/positive right + +";
External integer Shift_Text_Left_or_Right = 13 ; // Edit example: = 10 ;
external color SL_Color = magenta ; // Edit example: = red ;
external color TP_Color = lime green; external boolean using_OE_Color = False ; external color OE_Color = gold; external integer SL_TP_Font_Size = 10 ; external integer OE_Font_Size = 8 ; external string font name = " Arial " ; // Edit example: = " Verdana ";

// * * * * * 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

📎 SLaTP-CP_PIP_DIST_INDI_-_v2.mq4 (26.5 KB)

Source: MQL5 #10587

Verification code Refresh