Hey Wally,
Actually, what will happen is that after your first target is hit at 20, your second target will be set to 20 + 0 (target increment). So, you'd have .01 out at 20 and the next .01 out at 20. If you want the second taken out at +60, you have to set the target increment to 40 (initial 20 + 40 increment).
Also, MT4 brokers will not allow you to set SL unless the price is x (usually 5) pips away from the level. So, setting the second stop target at 60 and the stop to 60 will not work. You'd have to set the second stop to 55 or less. Same idea for the first stop target.
stockwet
Actually, what will happen is that after your first target is hit at 20, your second target will be set to 20 + 0 (target increment). So, you'd have .01 out at 20 and the next .01 out at 20. If you want the second taken out at +60, you have to set the target increment to 40 (initial 20 + 40 increment).
Also, MT4 brokers will not allow you to set SL unless the price is x (usually 5) pips away from the level. So, setting the second stop target at 60 and the stop to 60 will not work. You'd have to set the second stop to 55 or less. Same idea for the first stop target.
stockwet
DislikedHi stockwet,
Thank you very much for your reply. I think I got the idea that it's not a trailing stop feature. Given the following values:
extern int First_Target = 20;
extern int Target_Increment = 0;
extern double Close_Lots = 0.01;
extern bool Move_Stops = true;
extern int First_Stop_Target = 20;
extern int First_Stop = 20;
extern int Second_Stop_Target = 60;
extern int Second_Stop = 60;
extern bool Use_Max_Loss = true;
extern int Max_Loss = 0;
extern int Magic_Number=0
If I traded 2 lots. Lot 1 will be closed when it is +20. SL will be moved to BE. Lot 2 will be closed when it is + 60.
Is this correct?
Again, my apologies for being abit slow here...Appreciate your help.
Cheers,
WallyIgnored