Hey guys,
Have a question about a code.
Im hoping to use a progressive system only when my current account balance is under a'high' of my account balance.
So basically I have the following:
if (equityStart lt; AccountBalance())
equityStart = AccountBalance();
equityStart is an initial balance I have (therefore its the first'high' of my account balance. If my account balance heads south off there then it will start the progression. If some of my following trades (im not martingaling) are powerful and my account balance is higher than equityStart, then I wanted equityStart to equal the account balance then go back to the initial lot size at the development and remain there until my account balance decreases again. Basically when im at a pit using my development method.
The only issue is its not functioning and im not sure what code I truly must implement to get it keep an eye on everything.
Is there some formal method of coding the above?
cheers