A good day, good day, everybody.
Welcome back to another lecture.
In our previous lecture, we actually created the function for our doing our vertical line.
And also holding the name of the language has been created into an array.
Now in this lecture, we want to do the exact same thing.
However, we want to do it for our arrows.
So the first things first if.
Object.
Find.
We take the same object, find function, want to copy it, place it over there, and then we create
our two brackets else.
Not object won't.
Object found.
Else object found, and then we also put it in its own brackets.
OK, so one our object is not found when our object is not found.
We want to create an arrow.
However, for us to create an arrow, first of all, need to know the type of arrow which we're creating.
So we want to create a Chubb variable and name it arrow code.
The correct variable and name it Oracle, you just make it into a future search that you don't, it
becomes a positive value, so arrogant.
So if?
Our caller.
Is actually equal to color lime.
Therefore, we want the low price.
Want an up?
Want an up arrow.
So we will give a price and the arrow code.
So for a price it would be double.
So we'll just call it M Price with our R1T plotted.
So if it's an up code, you'd have em.
Price is actually equal to a low of our symbol of our period of our shift.
That would be our price value.
And then for our arrow code, our arrow could actually be equal to.
So this code is actually based on our readings.
So we just place an arrow on top of readings.
Press F one takes us to the page of readings.
So these are all our windings, which we have from that to two to 255.
We want an up arrow, which is two to three up arrow is to restore our arrow code becomes two to three.
Becomes two to three.
If the color is not lame.
Else.
Our M Price.
Is actually equal to a high.
A high of our symbol.
Period.
And our shift and our other.
Code then becomes chewed that before we can control and save at this point.
So we've got our our variables, our price, our important variables, which we need our input parameters
for our appropriate function.
And then we now create if.
To create.
Arrow, creator of Zero.
This chart.
Name.
This window.
Time.
And Ms.
Price.
And our crude.
And then our in-country anchor bottom or we anchor at the top.
So we'll just make it known as anchor.
Just hold this copy and then we'll go up there and create an inhuman anchor point.
So if our point is low or high, it can mean and and understand what we're actually talking about,
when you say anchor point, we create an arrow.
So we've got an arrow.
Can you see this arrow?
It is point at the bottom, at this point, at the bottom.
So when we actually changed this parameter and parameters, we change this anchor from bottom to top.
Notice did you see what happened to the arrow?
So Anchor Top wanted for actual arrows, which so by signals an end comportment for arrows.
It's the down signal.
So come back into our file and then for 2:33, we will see.
eNCA is equal to anchor.
Top.
And could top and then we can just copy this line and go there and place it.
And you remove top and replace bottom.
And then that would be for anchor soon after anchor.
We want to come to color.
We place our color in way of the color.
It is a style.
So we're going to style solid from style.
So it's all week.
It's our width.
So for our arrow, we're going to trouble with that much.
You can just you can just put in, put it as well, just like what we did up.
They can copy that and come and police it over the bar.
So if this actually creates successfully, we want to take the exact same function, which we have therefore
successfully created line.
We just take it, we copy it and we face it over the.
So that is if object was found and then the negative object was not found.
Health not found then we just want to see our.
Move.
Four zero name.
And our time we put in time, then we put in M Price.
And our arrow has been moved to control, we saved.
We need to then put in our input input, which can go up, up, up into our visualization section and
then we put it in, put in.
OK.
It's not just integer, and we see.
Input.
With so we just need to create a bottom and copy of which we were going to put on because we want to
get the correct spelling to get the correct spelling and then we come in and put our within the and
because we just needed to quote two three and then we just say, Oh, and then we can compile.
We've got some errors and cannot convert in and praise and declared.
And prices and declared, OK, OK, and prices and declared, OK, so that is something so we can just
take this, this code from this area, from the.
Anchor, I could you take our coat and would take anchor point to just take this section of the section,
you just cut it out and replace it just before we create our walk, create our object, find perimeter.
So when we actually compile one problem, it's been dealt it and I cannot convert enough.
Why can't we convert in enough?
Incompetent and could top incut incur its anchor point.
So we have to go to order to see what actually once our incompetent anchor, our anchor Kate Anchor,
so quick.
Copy that and then we actually declare that we did put Anchor Point.
You remove and put arrow and compound.
That area has been solved.
Possible use of initialized color color.
We actually initialized it so we can go to color.
To Carla initialized with the then we can just see Carla is exposed to just zero, just compound it
compound without giving us any errors, and we can then open our account.
Yes, but no indicator list.
We've got just one indicator can that and we can then come in and put our arrow indicator on Activision
to.
Both look deplored and none.
We loaded up it, loaded up perfectly, then no one to visualize our autos.
We come the signal type one to save vision vertical line we loaded up.
They are vertical lines.
As you can see, they are quite thick now, quite thick, and we also see properties.
Then you say put arrows will get an arrow at this point.
Arrows will put four arrows.
We don't get a single arrow.
No, we don't get a single out of that is because we we actually did not delete any of our lines.
Do not read any of our lines.
We do not have an until it function.
So next lecture by actually creating an until it function to show how we actually delete the line,
which we have already created.
Eighteen gentlemen, please do take it.
See you in the next lecture.