[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 105

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
Hi all,
I made an indicator, it draws two lines at 45 degrees. When it intersects, I want it to be horizontal.
So how do I calculate the intersection?
I drew with Low/High of previous day, through one point.
To get such a line I draw from a point to the beginning of the day and in the other side from the point of the ray.
How do I write the code to re-calculate it? I have not done it yet:
.... and how can they find this out???)
i just do not understand.... they say you can trade with EAs, others say you cannot - if for example a brokerage company allows you to use an EA, then how?
the brokerage company cannot see the code.... they only see the intensity of order placement and comments in the orders ... there are some DTs where the work of EAs in the terminal is prohibited ... it means when you stick an EA to a chart it just doesn't trade ... if it is not allowed by the server settings the client will give an error xxx or something like 2013.01.18 22:45:03 '30xxxxx': trading by experts is prohibited
i.e., i don't know why i got so worried about the code?
Thank you, now you'll get an appetite :)
Hi all,
I made an indicator, it draws two lines at 45 degrees. When it intersects, I want it to be horizontal.
So how do I calculate the intersection?
I drew with Low/High of previous day, through one point.
To get such a line I draw from a point to the beginning of the day and in the other side from the point of the ray.
How do I write the code to re-calculate it? I have not done it yet:
What do you mean by the term "logarithmic graph"? Please give me an example. I, for example, have only ever encountered the concept of a logarithmic chart scale. The MT4 terminal already has this scale.
Hi all,
I made an indicator, it draws two lines at 45 degrees. When it intersects, I want it to be horizontal.
So how do I calculate the intersection?
I drew with Low/High of previous day, through one point.
To get such a line I draw from a point to the beginning of the day and in the other side from the point of the ray.
How do I write the code to re-calculate it? I have not done it yet:
Igor Kim's:
Function CrossPointOfLines()
Alexei, Artem, thank you.
I'm going to learn Igor Kim's functions.
So I don't have two dots, I only have one.
Here's the sors:
The code itself is very simple. But there is only one dot.
Who knows why the DailyPivotPoints indicator in the tester in visual mode shows only today's data on all dates?
And if possible, what should be added to it to show what was on the history? Thank you!
I mean the logarithmic scale specifically, how do you find it in MT? I've been using it for so many years and don't know what's already there.
See
P.S.
For example, you look at a past low trend on the chart and see that towards the edge of the chart it shifts even lower out of the window. You scroll down the chart to the future and watch as the chart shifts automatically upwards, freeing up space to view the candles of the underlying chart. And what was previously visible at the top of the chart window is now moved even higher, out of the chart window. This is the implementation of a logarithmic price scale on the chart. If it did not exist, you would have to scroll the chart not only right-left, but also up and down. That is why the time scale is linear and the price scale is logarithmic, in order to display the data in the chart window easily.
In the past, when computers were unavailable, traders used a millimeter chart and plotted prices on it for predicting trends and turning points. Therefore, there were two scales on paper - price and time. These are two linear scales. Can you imagine how big a sheet of millimetre paper would have to be to contain all the fifteen-minute candlesticks of the last year? Surely it would be as big as the wall of a room (if not bigger). So, when you are scrolling the chart on the screen, you can imagine this model: a candlestick chart of prices is drawn on the wall. There is also a rectangular (e.g. red) frame - it is your monitor. Moving along the chart is nothing more than moving this red rectangle along the trend. But then you would say that both scales in your monitor are linear. This is true, but only partially - note that when scrolling the chart, the candle that was large (visually perceived as large) will become smaller in size after a slight shift, although if we measure the distance between its extremums, the number of points remains the same.
Look, here are 2 screenshots of the same chart. The first screenshot is just a screenshot. The second is a screenshot of the same screen but after spinning the mouse wheel one click, the chart has shifted back a few candles. Take a piece of paper, attach it to the first screenshot and mark high and low prices of the candle marked in red. Then move the marked risks to the same candle in the second screenshot. You will understand what we are talking about and what a shift in the logarithmic scale is (what is the essence of the uneven use of scales here).
And why do you need to get into the nuances of logarithmic scales? What were you hoping to find in them?