JL
You know the components of the angle already
double slope1 = (price1-price2)/NormalizeDouble(NumberOfBars, 1);
The angle in mils or degrees is a bit academic, as you can always compare your slope values?
FWIW
-BB-
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
How do I get the angle of 2 candles
as in
price1=iClose(Symbol(),0,2);
price2=iClose(Symbol(),0,1);
Now, I need tofind the angle of the line made by the 2 prices.
How do I achieve this.