Trailing stop script

 
Hello, I am new to MT4/5 and know next to nothing about scripts, for my strategy I require a trailing stop and would like one automatically entered each time I open a position, I'm thinking usually there is something I need to copy and paste somewhere, can anyone help this n00b?

Thank you
 
How to make a search on the forum (I think - you will need a search for CodeBase first, if you did not find anything there - search for the Market) - 
https://www.mql5.com/en/forum/193510
How can I search for indicators and other elements in this forum?
How can I search for indicators and other elements in this forum?
  • 2017.05.29
  • www.mql5.com
How can I search for indicators in this forum? I need the Hodrick Prescott Filter for MT4. Please, if anyone can help me, I thank you in advance...
 

Here you go, full trail function: https://book.mql4.com/trading/ordermodify (modifystoploss.mq4)

As a beginner, the documentation will save you time and pain from some not so polite responses on the forum.

Modification of Orders - Programming of Trade Operations - MQL4 Tutorial
Modification of Orders - Programming of Trade Operations - MQL4 Tutorial
  • book.mql4.com
MQL4 allows you to modify market and pending orders. Orders are modified according to the rules described in Order Characteristics and in Appendix 3. Function OrderModify() Trade requests for modifying of market and pending orders are formed using the function OrderModify(). The function modifies the parameters of market and pending orders. The...
 
Free EA from the codebase that manages SL/TP: https://www.mql5.com/en/code/11649
RoNz Auto SL-TS-TP v2.06
RoNz Auto SL-TS-TP v2.06
  • www.mql5.com
Views: 84132 Rating: Published: 2015.02.09 11:03 Updated: 2018.05.31 10:46 EA for Automatic Stop Loss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden. Input parameters Changes Note First of all, your orders SL and TP must be set to 0, then this EA will set appropriate SL and TP. To disable...
 
Alois Mwirichia:

Here you go, full trail function: https://book.mql4.com/trading/ordermodify (modifystoploss.mq4)

As a beginner, the documentation will save you time and pain from some not so polite responses on the forum.

Thanks for the file..

So how do I load this into Metatrader and get it running? any instructions?

The link you gave me doesn't explain the basics of how to do it, just the details for pro's of which aren't neccesary at this point in time.



Edit: I think I may just go with cTrader, I'm not the coding type.