View Single Post
  #2 (permalink)  
Old 01-17-2006, 07:54 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,174
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by igotswansons
I am developing my first ea right now and I am having trouble with a trailing stop. I can initiate an instant buy or sell order but I do not know how to give it a trailing stop. Can anyone help me with this. I am currently using an
OrderSend function for the instant orders. If someone could please tell me how to add a trailing stop to this, I would really appreciate it. thank you
We have many thread about trailing stop. You may check some EAs and scripts which are doing this job:
Trailing Stop EA

E-ASEClose Expert from KIMIV

Trailing file

Also you may visit EA template page with the codes for trailing stop:

Templates to create EAs and Indicators

Kalenzo posted stop and trailing stop code somewhere here:
Wma 5/20 - Ema
Reply With Quote