
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
Hello
For exemple I have a trend line and 2 point A and B
A : x=Time[i] -------- y=Low[i] (Or High)
B: x=Time[j] --------- y=Low[j] (Or High)
How can i identify the price of the trend line in Time[0]
C: x=Time[0] ---------- y = ?
Thank you
Not knowing what values are assigned to i and j, I don't know which time is earliest on your chart.
Please try this, time1 is the earliest of Time[i] and Time[j], price 1 is the corresponding price. Obviously, time2 and price 2 are the remainder.
I've not tested it fully.
It`s not simple, but very symple:)
You define trendline by price and time, but draw it by price and bar.
What about Sunday?
Not knowing what values are assigned to i and j, I don't know which time is earliest on your chart.
Please try this, time1 is the earliest of Time[i] and Time[j], price 1 is the corresponding price. Obviously, time2 and price 2 are the remainder.
I've not tested it fully.
Perfect, thank you GumRai
Now it work
I think that the lack of precision with the first method was because of the difference between iTime (very large number) compared to price, Now it work perfectly with the same formula (just replace Time by shift)
it's easier to use the shift of bar as abscissa instead of time :-)
thank you everyone for your help