- Loop 1 .. n days. Determine if it's an up day. if up increment a count. percentage is count/n*100
- not if you have an EA.
- yes
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
Can anyone tell me an easy way of calculating the percentage of days up vs days down over a given period. So 20 day look back, 16 days were up days = 80%. Not exactly rockent science i know but I don't want to do it in Excel. Do I need a custom indicator? Or can I put it directly into a EA?