extern int First_Target = 200; //First_Target: This is the first take profit target, in pips, that you specify.
extern int Target_Increment = 9000; //Target_Increment: Once the first profit target is reached, the next target will increment by the amount specified by the target increment variable.
// so set it high and you'll never reach it thus leaving remaining lots on the table
extern double Lots_to_Close = 1.0; // lots to close
extern bool Move_Stops = true; // move stops allowed
extern int First_Stop_Target = 200; // get to this amount before it moves stop loss and close out target profit
extern int Stop_target_Increment = 200; //so when x pips hit, set SL to x so after your first target is hit at 20, your second target will be set to 20 + x (target increment)
extern int First_Stop = 200; //This is the first stop_loss that gets set after the First_Stop_Target gets triggered, here BE + 2
extern int SL_Increment = 50; //Increments the stop loss after the stop loss target triggers each time
extern bool Use_Max_Loss = true;
extern int Max_Loss = 200;
extern int Magic_Number=0; |