trader3000: I was thinking
Maybe along this line????:
How can I get the EA to store the highest Equity and let the highest equity (if applicable) on the 10th candle fall away?
- No, you were not. None of those things have anything to do with equity.
- There's no context with your posted code, if those are not global or static, you already know. it won't work. And since you already stated why it won't work, why did you waste our time posting it, twice?
- Create an array. Remember the highest. On a new bar shift values left.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Ladies and gents
I would like to set the highest equity for the last 10 candles. I was thinking that I can perhaps use Bars() or Time[] or TimeCurrent() to do this, but I do not know how. How can I get the EA to store the highest Equity and let the highest equity (if applicable) on the 10th candle fall away? I use this to set the highest Equity which works well, but it will save it indefinitely:
Maybe along this line????:
Thanks for any help