baokydev: I changed the calc Period to weekly & monthly but the calculated Weekly & Monthly S/R & Pivot Point is wrong
Wrong compared to what? A website?
Did you verify the Data your Weekly && Monthly pivot calculation is using?
Did you verify the calculation in your codes with a hand-held calculator?
Is your weekly / monthly Data the same as the Website?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Weekly & Monthly Pivot Support Resistance Calculation Issue
Hi guys, thanks for looking.
I manage to calculate daily support & resistance but when i try output my weekly support/resistance and monthly support/resistance, i find that my data is wrong.
I check it with a pivot ea that I got and some website which post.
As i need the calculation on my new ea.. i need to code it out myself..
Below is my code
Can anyone tell me whats wrong with my code, i check Daily Support & Resistance & Pivot Point its fine but the weekly & monthly data is wrong..
I changed the calc Period to weekly & monthly but the calculated Weekly & Monthly S/R & Pivot Point is wrong