Forum

Consecutive Win / loss count 0 to 10

Hi I have a Consecutive win count function which is capped at 10. I have just realised that it doesn't stop counting at zero - so i get minus numbers. If there is a win i want to increment by one upto 10, and decrement by 1 down to zero. This is the original code below - i have tried adding breaks /

External variable using enum for two variables

I have an external variable that selects two Moving averages as a cross pair. this is then referencing a Case statement. I do this to reduce the number of parameter that are needed to speed up optimization . extern int ExtMACrossPair = 2 ; switch (ExtMACrossPair) // { case 1

Deleted job in error - Add Trailing Stop loss to EA

I have deleted a job in error. I have contacted the Service desk to try to get it reinstated. If you were the developer working on this for me, then please message me. Sorry

Analysing Market conditions for a period of data used in a backtest

Hi I am wondering if anyone has come across an indicator/EA that can be run over a period of data that would be used in a backtest , to give some indication on what type of market it was. I would like to get a better idea of why my EA parameters suite certain market conditions. I appreciate