Hi
v2.06 is in post 1.
Had some new ideas and couldnt resist making an update on this.
The new versions allow the user to have more precise control on the percent profit of each ALR progression.
Do remember to adjust ALR_CommissionPips according to your broker's commission rate.
In addition, the new feature also serves to protect against unacceptable amount of losses.
v2.06
-Removed ALR_ProfitPips and replaced with ALR_TargetPercentProfit
Use this to set the target percent profit you wish to have at the end of an ALR progression
0 is ok, if you wish to minimize lot sizes, anything higher means higher lot sizes.
i.e: if you set 0.1%, you get a 0.1% profit for your account at the end of each ALR Progression upon hitting tp.
-new variable ALR_MaxPercentLoss
Determines the maximum hit to the account for ALR progression and supercedes MaxALRTrades
Use this to protect your account from more losses than acceptable.
i.e: for 20%, the maximum hit your account can take is 20% and no more.
Code: Select all
extern double ALR_TargetPercentProfit = 0.1;
extern double ALR_MaxPercentLoss = 20;
Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8