Trailing Profit - whats the best way to achieve this on Mql4

 

Hi there,

I'm new to coding/EA on Metatrader 4 

I have a simple Bollinger Band /RSI EA - its generating small profits BUT the profits can go much higher if i don't have a FIXED take profit price 

i need the Take profit price to adjust to maximize the run 


QUESTIONS

  • is there a sample code for TRAILING Profit?
  • what is the best way to achieve  this? 
  • Are there any easy functions that i can use?


Cheers

Greg 

 
GregoryRichardsNewbie: i need the Take profit price to adjust to maximize the run
  1. If you move the TP away from the market, you do not have a TP.
  2. There is no such thing as a TRAILING Profit. There is a trailing stop loss which will lock in profits until the market reverses.
Reason: