By popular request, this is the new discussion for ALR2.0 Trade Manager
ALR2.0 Trade Manager will automatically manage any trade for the symbol with the same Magic number as the setting in the EA.
It will create a pending once there is a trade with the same Magic number, and this would be deleted if the trade was not stopped out.
Additional variable: ALR_AutoTPandSL
If set true, this ignores ALR_TargetPips and ALR_Zone, the target pips and zone pips are set according to the TP and SL of the initial trade.
If this is set false, the trade manager will automatically adjust the initial trade tp and sl to ALR_TargetPips_SameDir and ALR_ZonePips .
v1.01
-Bug fixes to ALR logic
-Additional variables carried over from ALR EA
Code: Select all
extern double ALR_TargetPercentProfit = 0.1;
extern double ALR_MaxPercentLoss = 7.5;
ALR_MaxPercentLoss to determine maximum amount of lost acceptable. Once 7.5% net losses are hit, the ALR progression stops.
Cheers