Simple answer: you can't.
Reason: just by zooming in/out separately on your x-axis (time) or y-axis (price) you get a completely different slope / angle / steepness (e.g. if you just move the mouse over the axis with pressed down left mouse button).
What you can do instead for the slope of the most recent segment of the MA: evaluate the change per time, which is (MA[0]-MA[1])/PeriodSeconds(PERIOD_CURRENT)
Simple answer: you can't.
Reason: just by zooming in/out separately on your x-axis (time) or y-axis (price) you get a completely different slope / angle / steepness (e.g. if you just move the mouse over the axis with pressed down left mouse button).
What you can do instead for the slope of the most recent segment of the MA: evaluate the change per time, which is (MA[0]-MA[1])/PeriodSeconds(PERIOD_CURRENT)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use