[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 220
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
Good evening.Please tell me how to have the coordinates of the straight line: datetime T11=D'2012.06.21 14:00';datetime T22=D'2012.06.27 14:00';double prv1=1.261421;double prv2=1.2506;
Calculate the price coordinate of this line, for zero bar. logic need to solve the system of equations:double Cv=prv2-(prv1-prv2)/(T11-T22)*(T22-Time[0]); but the calculated price is not correct, error 30-40 pips. I was told here that I need to convert the time in bars, but what will it give? double bar1=iBarShift(NULL,0,T11);
???
Good evening.Please tell me how to have the coordinates of the line: datetime T11=D'2012.06.21 14:00';datetime T22=D'2012.06.27 14:00';double prv1=1.261421;double prv2=1.2506;
Calculate the price coordinate of this line, for zero bar. logic need to solve the system of equations:double Cv=prv2-(prv1-prv2)/(T11-T22)*(T22-Time[0]); but the calculated price is not correct, error 30-40 pips. I was told here that I need to convert the time in bars, but what will it give? double bar1=iBarShift(NULL,0,T11);
???
See also ObjectGetShiftByValue().
Thank you very much r772ra has helped))
Top...you've exceeded your question limit...and you're going straight to the Gob.
and when you've spent all the money for every sneeze in your software :) - formulate your terms of reference and follow the link - there are programmers waiting for you - they will fulfill your every whim for your money...
you do the thinking yourself... ask yourself - what you want - can you do it with your hands? by repeating this or that...
If it's repetitive... ...then describe step by step what you do with your hands - all the operations - in the form of comments...
and then, just formulate these comments in µl...
Good afternoon,
Question: How can I reset the indicator buffer array?
Let's get our brains pumping. It's summer now, they are getting liquefied, in winter they need to be toned down)).