Thread: Trailing file
View Single Post
  #2 (permalink)  
Old 12-12-2005, 03:25 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 16,324
Blog Entries: 108
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
3-level exit

What is 3-level exit?

If your EA riches the profit +20, the stop loss will
It is example only:
LevelProfit1 = 20; // First profit level
LevelMoving1 = 1; // First level of moving
LevelProfit2 = 35; // Second profit level
LevelMoving2 = 20; // Second level of moving
LevelProfit3 = 55; // Third profit level
LevelMoving3 = 30; // Third level of moving

it means that if your EA riches the profit +20, the stop loss will be moved on +1, if profit is +35 or more the stop will be moved on 20, if profit is +55 your stop loss will mobe on 30. And further movement of s/l is doing by trailing stop.
You may change all these figures of course.

You must define the following variables in your EA:
int MAGIC = 20051120;
color clModifyBuy = Aqua;
color clModifySell = Tomato;
bool UseSound = False;
string NameFileSound = "expert.wav";
Attached Files
File Type: rar b-TLE_v.1.6.rar (1.8 KB, 353 views)

Last edited by newdigital; 12-12-2005 at 03:27 PM.
Reply With Quote